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

    • Integrate with Power BI

      Hi, How to connect Zoho CRM dashboards & reports with POWER BI ?
    • Error creating an XML file

      I am creating an xml as string in the function Employee.generatePartA_XML_String, and then I want to save it as a file to the field "Part_A_XML", but I get the response: {"code":3700,"message":"Unable to upload a file. Please check and try again."} How
    • Unbundle feature for composite items

      We receive composite items from our vendors and sell them either individually or create other composite items out of them. So, there is a lot of bundling and unbundling involved with our composite items. Previously, this feature was supported in form
    • Trident Missing

      No way you guys get so close to having trident complete for over a year then just kill it off. Wow just wow
    • Zoho mail app throwing network error

      Zoho mail app is throwing network error and I do not know how to fix the issue.
    • Cannot unblock account

      Hi, I have recently been travelling for work and now my mail account has been locked due to suspicious activity (I guess login attempts from different countries) however when I go into my admin panel it won’t let me unblock and asks me to contact support.
    • Time logging issues

      I am losing times tracked on tasks. The problem is that it is not clear when the time is logged, when the timer is stopped or when the task is closed? I've done both and neither works. Whats more when the task is closed, the tracked time disapperas (i guess bc it shouldve been logged) but when it's not logged you've just lost your tracked time.  The bigger problem is the UN-NATURAL way this time logging is set up. On every other plat form that tracks time, it is made clear to save timer or log when
    • Start/Stop Timmer in Chrome Extension

      The chrome extension is great and allows you to do allot however one of the most common things employees working on projects need to do is track their time. Having an easy start/stop timer to track time would be great.
    • Employee Logged Hours Report

      Hi Team, We are looking at having all Employees logged hours report, but different staff uses diferent modules to log their time. Is there anywhere that we can get a report that captures every time entered through all Zoho modules? Thank you.
    • Time Log Report Across Zoho Apps?

      Currently there are at least 4 different apps in Zoho where users can book time. Projects Desk Books People In our case for instance, the same user may book time against both Projects and Desk Tickets. So we have no way to see a simple timesheet for a user that shows all their hours. Using Zoho Reports, would it be possible to create a report that combines the hours logged by employee across Projects and Desk. So that we could see total hours per employee logged for the week, and what project tasks
    • Time Tracking Reporting and Billing

      I wish for the time tracking module to be enhanced further. Currently it is independent of Support Plans and Contracts. Support Plans and Contracts are also mostly separate. We need a better dashboard of this with the ability to natively mark billed or
    • Better Time Tracking

      We need better time tracking customization for IT MSPs. We also need reporting that is built in, rather than having to try and fumble with creating custom reports. We also need to be able to mark whether a ticket has been billed or not, I don't think
    • Zoho Time tracking option with automated screen shots.

      Time tracking option with automated screen shots would be an exceptionally good feature, any plans to develop something like that? Please do the needful. Thank you, Raj Rajinc
    • Detailed time tracking (for productivity/accountability). How to?

      Hello everyone! I read an interesting article about accurately tracking your time in 15 mins intervals and after some time analyzing it in order to improve your productivity. I'd like to give this a try myself. I would like to use Zoho apps. (How) could I do this? Thanks for the tips!
    • Time Tracking Needed in Zoho

      It seems lots of people request a Time Tracking Zoho Desktop App, that is only problem I have with working with Zoho. People need to know how much time they spend on specific tasks. Is Zoho planning to do this sometime in the future?
    • emails?

      Why can't I send emails from my account anymore
    • Erase function in Zoho PDF editor does not truly redact

      Using the "erase" function in the Zoho PDF editor online does not redact the text underneath when opening the file in Adobe. When I used the erase function to whiteout the areas I didn't want to be seen, I opened the supposed redacted files in Adobe.
    • Backorder For Composite Items

      Hello If i released SO for composite item and use backorder feature of zoho inventory then it should backorder child item items of composite and not composite item.This is basic of backordering.I conveyed this to zoho call center but no solution yet.
    • Global Constants / Variables

      It would be great if there were a Global Constant feature. The idea here is for managing constants that are used in multiple Flows and Subflows, but might change over time. The idea is that the change could be made in one place and cascade to all future
    • Deal Activity Tracking - By Time

      Hello, I am trying to figure out a way to implement a time tracking ability within the CRP that will provide a line item on the final invoice in books. Would the Cases module be of good to use in this scenario? Want to integrate into Books as well. I
    • time tracking on zoho crm cases

      Is there a time tracking feature in zoho crm cases? I need calculate time spent in calls, tasks and events Thanks in Advance  
    • Time Card Tracking For Employees

      Does ZOHO have an add-on or app that my employees can use to clock in & out on a daily basis. In the past we had used a third party solution, but it was hard to use and pricey. We would really like to use your time tracking feature if you have one......if
    • Logging time within Time Tracking

      At the moment I use the call logging feature of CRM to log time spent on clients work. Its nice to be able to start, stop and pause the timer and record how many hours I need to bill the client. Any chance of implementing this in Zoho Invoice's time tracking feature The same interface as CRM would be great or a simple start/stop/pause/restart timer.
    • 3rd Party/Easy Time Tracking Integration with Zoho

      We are new customers using Zoho One with Zoho Project/CRM/Desk being the 3 big applications we will use. The majority of our work is done in the field and we need accurate and easy time tracking for our workers on mobile phones. aka TSheets type functionality. but tied to Zoho. Zoho is outstanding overall so I am surprised at how laborious, inefficient and disconnected time tracking is mobile devices. Adding time to a project task on a mobile phone can be a 10+ click task and that's not an exaggeration!
    • TrueSync for Windows 5.16+ breaks Excel save in "Shared with Me" (temp file writes fail) – workaround: pin 5.15.1

      Hi all, After TrueSync for Windows auto-updated past 5.15.1, some of our users can no longer save Excel files that live under "Shared with Me". We isolated it to a client-side regression and found a workaround. Sharing in case it saves someone a few hours
    • Introducing PRM: Build, manage, and scale your partner ecosystem

      Growing a partner ecosystem is a good problem to have. What starts as a handful of partners can quickly turn into a maze of spreadsheets, emails, and disconnected processes. More partners mean more opportunities, greater reach, and new ways to grow
    • Purchase Requisition in Zoho Books

      I want to understand if Zoho Books is having the following workflow: PR ( Purchase Requisition ) >> PO ( Purchase order) >>  GRN/SRN ( Goods/Services receipt note) >> Bill
    • Enhancement Request: Preserve Canceled Zoho Bookings Meetings in CRM

      I recently worked with Zoho Support on ticket 170383788 regarding what happens in Zoho CRM when an appointment is canceled in Zoho Bookings. Support confirmed that the current behavior is intentional: when a Bookings appointment is canceled, the corresponding
    • Introducing the Markdown editor in Zoho Learn

      Hello everyone, We're excited to announce the release of the Markdown editor in Zoho Learn. With Markdown editor, you can create and import articles as Markdown. You can write content using simple Markdown syntax and see how it looks with the built-in
    • When will Bigin's latest AI features be available in Europe?

      Hi, As I previously raised this question in the post “Introducing Bigin's latest AI features, built for the way you work!”, but received no response, I am bringing it up again here. It has now been five months since the announcement, and these AI features
    • Function #50: Send Mass emails to your customers

      Hello everyone, and welcome back to our series! We have reached a milestone of 50 Functions, which means that we have automated 50 different tasks in Zoho Books. Every Friday, we have shared a nifty function aimed at either automating a task or streamlining
    • Time tracking

      Hi there We are looking for a simple, intuitive but powerful time track application. We bill our clients by the time we spend, and so need to link Clients<>Projects<>Tasks or Activities<> Time spent. Is there an app in Zoho we could use? Many thanks.. Morri
    • Staff Tracking in

      Hi , I would like to see what activity my staff does over Zoho CRM and over Zoho Mail . I need to know which deals in CRM haven't been touched or had an activity on by a particular staff member . Basically need to establish what work.gets done by WFH
    • Zoho Projects connector with Zoho CRM (Related List module) features

      Hi community, I use Zoho Projects connected to Zoho CRM, where we associate Projects with Deals, clients, etc.. I am looking to change/edit the fields that are available in the integration. Currently it shows Project Status, Project Completion, Milestones,
    • Report: avg time to visit each lead

      We are on zoho one. our sales team visits leads using the ZohoCRM app. They track their hours using the zoho books timer. So the results in zoho books look like this: -total hours worked: 8 In ZohoCRM we have a custom date/time field in each lead record
    • Creating a Stop Start Timer for Custom Moduel

      Hello, I am trying to track Maintenance of internal Assets through Zoho CRM (I have tried the FSM, Projects, Inventory apps nothing is working the way I need it to). I have it all built in the CRM where I have internal work orders where i can keep track
    • Logging time to a Sales Lead in CRM

      Hi, Is there a way to log time against a Sales Lead / Deal in CRM before it is won and becomes a project? Our employees often do work for sales opportunities and need to log time against them at any point of the sales cycle, before it is won. Thanks, Atif
    • Hourly Billing in Zoho CRM Deals, Books, and Projects?

      We bill on an hourly basis and need that time added into a client's invoice in Books. A client might have multiple deals open with us that we are working on, and billing separately, and thus need separate invoices for each. The functionality of Projects
    • Time taken on a task

      I notice that you can record the length of a call, but not an event or a task. When a potential progresses from beginning to end it is just a series of tasks/calls/events in a process.  I have most of it automated depending on the type of sale and triggered by updating the sales cycle field. It follows that you should be able monitor the time of each of them so that you actually know how much time you spend on each potential. This gives an idea of profitability of each potential. I would think this
    • Timesheets from Deals

      Hi Guys, new Zoho One customer here with only a few employees. I run a small software company and currently our small number of employees are creating manual timesheets in excel. There is a column for a job number (that relates to a Zoho Deal) and they just put in the time taken to perform the work. As an example, they might spend 1 hour running some barcodes for a particular client (and deal). Then they may do a support all for another client and that takes 2 hours (This client would have a yearly
    • Next Page