WorkDrive API: allow the modification time to be set when updating an existing file (x-last-modified-date is honoured on create, ignored on update)

WorkDrive API: allow the modification time to be set when updating an existing file (x-last-modified-date is honoured on create, ignored on update)

Hi,

I contribute to the Zoho WorkDrive backend of rclone, the open-source sync/copy tool. I would like to raise one specific, narrow API gap that currently makes reliable syncing to WorkDrive impossible, and ask whether it can be addressed.

What already works

When rclone uploads a brand-new file via POST /api/v1/upload, WorkDrive honours the x-last-modified-date header (ISO 8601, e.g. 2025-02-14T10:18:34.143Z) and the created file keeps its original modification time instead of the upload time. This header was confirmed to us through Zoho support, and I have verified it live on both the api/v1/upload and the stream/upload paths. It works exactly as intended, and I have shipped support for it.

What does not work

The same header is ignored when an existing file is updated. When the upload targets a name that already exists (override-name-exist=true, i.e. the version-revision path), the new version is always stamped with the current server time, and the header is silently dropped. The upload response shows "OPERATION":"UPDATE" with "updateType":"UPDATE_TYPE_REV_UPLOAD_FOR_SAMENAME", and both versionInfo.versionTime and resourceInfo.status_change_time are the upload instant. On the create path the same response instead shows "OPERATION":"UPLOAD" with AUDIT_INFO.resource.status_change_time equal to the timestamp I sent.

I have tested this exhaustively, and it is not a formatting or transport problem:

  • Both upload endpoints (api/v1/upload and stream/upload).
  • All three transports: request header, query parameter, and multipart form field.
  • Both value formats: ISO 8601 and epoch milliseconds.
  • Both header cases (X-Last-Modified-Date and x-last-modified-date) and both orderings relative to x-override-name-exist.
  • Forward and backward timestamps (so it is not a "no times in the past/future" rule).

In every combination, create honours the value and update ignores it.

PATCH /api/v1/files/{id} does not offer a way out either: modified_time is recognised but read-only (string values return F000 UNABLE_TO_PARSE_DATA_TYPE, numeric values return a 500, and when paired with a valid attribute such as name the rename succeeds while modified_time is silently ignored and the file's modification time is bumped to the current server time). modified_time_in_millisecond, mtime and last_modified_time are all rejected as extra keys.

Why this one gap matters so much

Sync tools decide what to transfer by comparing the source and destination modification times. Because an updated file on WorkDrive always ends up with mtime = upload time, it can never match the source file's time. The result is that every subsequent sync run re-uploads the same unchanged files, forever — the sync never converges. This is not a cosmetic issue: it wastes bandwidth, and on a rate-limited API it produces repeated throttling.

The practical consequences today are severe. rclone has to declare that WorkDrive does not support modification times at all, which disables modification-time-based syncing, disables rclone bisync against WorkDrive entirely, and forces users onto --size-only — meaning a file that is edited without changing its size is silently never synced. A previous community attempt to add this support (rclone PR #8550) was closed with the conclusion that "the API is just ignoring all attempts to set the mod time" — which, I now believe, was exactly this create-vs-update difference being hit without it being understood.

Why I believe the platform can already do this

The WorkDrive server itself clearly stores a custom modification time per version — it is only the Public API that has no way to supply one.

I can observe this with Zoho's own tooling. If I create a file through the TrueSync desktop client with an old modification time and then overwrite it with different content and a different old modification time, WorkDrive's web version history shows two versions whose timestamps are the two custom modification times I set — not the real upload times. History stays intact, and each version carries its own client-supplied time.

So overwriting a file while preserving a client-supplied modification time is something the platform already supports and already does. TrueSync does not appear to go through the public api/v1/upload endpoint to achieve it, which would explain why this capability is simply not reachable for API clients.

My request

Please make the Public API able to set the modification time when updating an existing file — ideally by having api/v1/upload honour x-last-modified-date on the override-name-exist path exactly as it already does on create.

That is the only change needed. Create already works; update is the missing half. With it, rclone (and any other third-party sync or migration tool) could sync correctly to WorkDrive with full version history preserved. Without it, correct syncing to WorkDrive is not possible through the Public API.

Happy to provide full request/response dumps for any of the cases above if that helps.

Related rclone issues, for context: #8329 (where Zoho support confirmed the create header) and #7239.

Thanks,
Erol Ozcan


      • Recent Topics

      • Organization and security reports in Zoho Mail: Review domain status, login activity, and threats

        Administrators need to know whether the organization’s domains are configured correctly and whether its users are being targeted by threats. The organization and security reports in the Zoho Mail Admin Console provide this information, from domain verification
      • Mass Update Option for Changing Work Order Owner

        Hello FSM Team/Mr. Abid, We would like to inquire if there is an option to mass update or bulk change the Owner of Work Orders in Zoho FSM. Current Situation: At the moment, the Owner of a Work Order can only be changed individually, which becomes time-consuming
      • CRM security update: deprecation of weak TLS cipher suites (action required)

        Hi everyone, As part of Zoho's ongoing security hardening, Zoho CRM is ending support for weak Transport Layer Security (TLS) cipher suites. Enforcement is rolling out in phases across Zoho data centers, and some have already switched over. The change
      • Access Data Offline in the Zoho FSM Mobile App | Combat Connectivity Challenges

        One of the challenges that field agents face on the job is the myriad environments they have to work in. When working in underground or confined spaces or in remote or rural areas, they often have to deal with unreliable or poor network connectivity.
      • Convert Sales order to Delivery Challan

        Dear Developer Team, In Zoho books we cannot convert sales order into delivery challan before making invoices. As a service business we have to get the delivery note signed then only we can make the invoice. In Some cases we don't receive a purchase order
      • Attachment icon on Meetings and Calls

        Hi all One of these meetings has an attachment on it....but which one? Who knows...... Can I ask that if there is an attachment on a meeting, on the Closed Activities it shows an attachment icon? Would make it easier to know we haven't missed something.
      • What's New in Zoho Billing | October 2026

        From On Demand Subscriptions for items and a redesigned Customer Portal subscription page to adding usage statements in invoice emails, this month's updates give you better flexibility in subscription management, invoicing and time tracking. You can also
      • Cross Module Filtering – Use Fields from Lookup modules in Custom Views criteria and Advanced Filters

        Hello everyone, Zoho CRM now enables you to achieve deeper filtering of records in a module, using fields of a lookup, thereby enhancing your data management experience manifold. This filtering based on lookup module fields is now available in advanced
      • Introducing Vibe in CRM: Turn Your Ideas to Live Experience

        Hello Partners! AI is changing the way we work and build things every day. Everyone is using AI to build widgets and front-end apps, turning their ideas and requirements into working experiences faster than ever. Imagine simply describing what you want
      • WhatsApp Business calling in Zoho Voice: handle WhatsApp calls like any other call (IVR, queues, agents, logs, recordings)

        Hi team, We hope you are doing well. We would like to request an important enhancement related to WhatsApp Business calling in Zoho Voice. Currently Zoho Voice supports WhatsApp messaging, but not WhatsApp calls (Meta's WhatsApp Business Calling API).
      • Europäische Zeichen: Komma "," anstatt Punkt "." möglich?

        In alle Betragsfelder müssen wir mit dem Punkt "." die Beträge erfassen wie 123.34 EUR. Das müssen wir nur in Zoho so machen, weil in anderen Applikationen wird in "Europa" mit dem Komma 123,34 EUR gearbeitet. Das Datumsformat kann kann in Books eingestellt
      • WhatsApp Business Calling API

        Dear Zoho SalesIQ Team, I would like to request a feature that allows users to call WhatsApp numbers directly via Zoho SalesIQ. This integration would enable sending and receiving calls to and from WhatsApp numbers over the internet, without the need
      • Decoupling Email Sending from Storage in CRM & Email Storage Add-on Purchases

        Hello everyone, We are excited to announce the rollout of the second phase of our email storage management, designed around a simple principle: your business communication should never be disrupted by storage limits. We've decoupled email sending from
      • Convert Number into Ordinal

        Hello Developers, Here is the solution for converting the Number into Ordinal. For Example: This Idea can be used when lets say you are creating the Dashboard where you are showing upcoming celebrations like work Anniversary for you HRMS Application.
      • Closing the Loop: Why Lookup Asymmetry is Harming Data Integrity in Creator

        TL;DR: Lookup fields allow users to add new related records inline via the "+" icon, but there's no equivalent ability to edit an existing related record without navigating away and losing form context. Adding a native "Edit" icon—with automatic User
      • "Allow New Entries" button for lookup field enhancement

        Hi, When using the "Allow New Entries" option for a lookup field it is sometimes necessary to default certain fields in the related form based on field values in the current form. Would it be possible to add an option to set field values in the Field Properties of the lookup when "Allow New Entries" is selected? This would insure data integrity. Thanks, Damien Cregan Hire an Expert
      • How to merge duplicate products?

        merge duplicate products
      • Email-Data Synchronization with Zoho Analytics

        Hello everyone, Thanks to Chad and everyone who shared their feedback. We're excited to announce support for email data synchronization with Zoho Analytics. We have been working hard to bring this highly requested feature to life, and we'd like to walk
      • Feature Request: Soft validation – Alert with Continue/Cancel on form submission

        I'd like to propose a soft validation option for Zoho Creator forms. This would be an alert on submission that the user can either continue past or cancel. Today the alert can only cancel. The request has come up in the community for over 15 years (What
      • Customer portal: recommended way to scope lookup fields to the logged-in client?

        Hi all, I'm building a customer portal on Creator for our clients (we're a esting lab, so each client has their own sites, contacts and jobs). Planning stage, so I'd rather get the approach right before I build it. The portal forms need several lookup
      • more native app support for linux

        Dear zoho,pls build additional apps like zoho valt,zoho sheets,zoho show,zoho authenticator apps for linux ,because more and more people are increasing switching to linux this days,
      • Kaizen #229: Email-Deal Associations in Zoho CRM

        Hi All, Welcome back to another week of Kaizen! Emails are a core channel for customer communication in any CRM system. In Zoho CRM, emails can be associated with records across multiple modules. In this post, we will focus on email associations with
      • This user is not allowed to add in Zoho. Please contact support-as@zohocorp.com for further details

        Hello, Just signed up to ZOHO on a friend's recommendation. Got the TXT part (verified my domain), but whenever I try to add ANY user, I get the error: This user is not allowed to add in Zoho. Please contact support-as@zohocorp.com for further details I have emailed as well and writing here as well because when I searched, I saw many people faced the same issue and instead of email, they got a faster response here. My domain is: raisingreaderspk . com Hope this can be resolved.  Thank you
      • SalesInbox attach e-mail to deal

        Hello, I have setup and started using the SalesInbox feature in Zoho.  I could not figure how to attach an e-mail to a deal in the SalesInbox. Our company is dealing with a lot of partners, and I will for example receive in the same day 5 e-mails from the same contacts but that should be associated with 5 different deals, how would I go about that? At the moment, it seems that the only solution is to use the Outlook Plugin in Outlook to attach those e-mails. 
      • Problem with currency field in Zoho CRM

        Hi Guys Zoho Books has a feature in currency fields that automatically converts decimal numbers with commas ( , ) to period format ( . ) when pasting them. For example: R$ 2,50 --> R$ 2.50 Is this behavior available in Zoho CRM? I couldn't find any configuration
      • Email-Data Synchronization with Zoho Analytics

        Hello, Enterprise Support Community! We're excited to announce the availability of Email Data Synchronization with Zoho Analytics! This highly requested enhancement allows you to sync email data from Zoho CRM into Zoho Analytics, making it easier to analyze
      • Action Required: Allowlist New IP Ranges for the EU Data Center

        Dear Users, We are adding new IP ranges for the Zoho Analytics EU data center (https://analytics.zoho.eu). These ranges will come into effect in the last week of December 2026. If you connect Zoho Analytics to cloud databases (both Live Connect and Import),
      • Workflows failing / fields not updating by function or action

        Any one else having issues like this? All was working fine last week, now all of a sudden the system doesn't like 3 fields in one of my (most important) forms, and won't update these by workflow / deluge / action. Only by manually editing, or bulk edits.
      • Zoho Projects - Auto Populate Project on Project Invoices

        Hi Projects team, I noticed that when creating an invoice from a Project in Zoho Projects, the project is not selected on the invoice. Is this something which you would consider as a feature request? It seems silly that when you create an invoice from
      • Cloud to cloud folder migration from Sharepoint to Workdrive

        I am aware of OneDrive migration: https://help.zoho.com/portal/en/kb/workdrive/migrations/microsoft/articles/migrate-from-onedrive-to-zoho-workdrive#Whats_migrated would this cover a Sharepoint migration meaning I can move a whole Sharepoint (team) folder
      • DYK 16: Set Approval Rules for Timesheet

        Did you know you can decide who approves timesheets based on criteria? Yes, enable Time log or Timesheet approval from Set up to create approval rules that govern their approval processes. Approval rules for Time logs and Timesheet help avoid errors in
      • Introducing Seek Profile & Seek Ad Sync in Zoho Recruit

        Hiring on SEEK usually means working in two places. You check a candidate's SEEK Profile in one tab to confirm their work history and credentials, then switch back to Zoho Recruit to move them forward. When you post a new role, you rebuild the ad for
      • Zoho Bookings 1.0 is being retired – Switch to Bookings 2.0 by December 2, 2026

        Hello everyone! Zoho Bookings 2.0 was launched on April 17, 2025, introducing a simpler, workspace-based interface for managing appointments and scheduling activities. As part of the transition to the new version, Zoho Bookings 1.0 is being retired. If
      • [Webinar] AI-powered writing and automation in Zoho Writer

        Live webinar on November 12, 2026 | Time: 2 PM IST | 2 PM EST Hi, When organizations create documents, they often start from scratch. Then they need to proofread and translate them. Doing all of this manually takes time, and errors and hard-to-read writing
      • Feature Request - Ability to Customise Contact Info Card on Ticket Details View

        Hi Desk Team, I've added a "Contact Priority" and "Account Prioirty" field and it would be very useful to agents if they could see that information in the Contact Info card on the Ticket Details view. It would be great if we could choose some fields to
      • ChatGPT Plugin / MCP Server auth error

        Hi all I'm trying to connect the ChatGPT plugin for Zoho CRM but after username stage of the auth process, I get this error from the URL https://mcp.zoho.eu/mcp-client/ {"error_description":"Invalid request url, Request is not as per defined in oauth
      • Criteria-based follow-ups , and additional email response signals in Cadences

        Hello all, We've got a couple of updates for Cadences. Until now, the next follow-up in a Cadence was triggered based on the response to the previous follow-up. With this update, when the previous step is a call or a task, you can now also trigger the
      • Can Zoho CRM Emails be used in Zoho Analytics in any capacity?

        We're wanting to display details about Lead Activity in regular reports through Zoho Analytics but we're having difficulty integrating Emails at all. We'd like to be able to note when an email is received and when it is sent somewhere other than just
      • Show discounted amount on sales order / invoice against MRP when using Price List

        Zoho has this great feature of having different Price Lists. The only thing missing perhaps is that MRP isn't shown when a price list is selected and discounted amount isn't shown on Sales Order / Invoice. This simple feature could be a great tool for
      • Title: How Are You Managing Sales Order Stock Allocation, Backorders, and Purchase Orders for Multiple Sales Orders in Zoho Inventory?

        Title: How Are You Managing Sales Order Stock Allocation, Backorders, and Purchase Orders for Multiple Sales Orders in Zoho Inventory? Hi Zoho Community, We are using Zoho Inventory under our Zoho One subscription, and we are facing challenges with managing
      • Next Page