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

    • Passing the CRM

      Hi, I am hoping someone can help. I have a zoho form that has a CRM lookup field. I was hoping to send this to my publicly to clients via a text message and the form then attaches the signed form back to the custom module. This work absolutely fine when
    • I want to test some payment subscription with a test credit card from stripe

      I have a test customer and place https://stripe.com/docs/testing#international-cards test credit card number to the Add New Card in subscription.zoho customer page. After I added, the test card was declined. Am I missing something?
    • Trigger a Workflow Function if an Attachment (Related List) has been added

      Hello, I have a Case Module with a related list which is Attachment. I want to trigger a workflow if I added an attachment. I've seen some topics about this in zoho community that was posted few months ago and based on the answers, there is no trigger
    • Strengthen your account security with Password Policy

      Still using the same password for all your accounts? Or perhaps your password is easy to guess or follows a predictable pattern? If so, your account could be at risk. Once someone gets hold of a password that you reuse, they could potentially gain access
    • Expanding sales, marketing, and support capabilities in Zoho CRM Plus 3.0

      Hey everyone, It's been more than 10 years since we launched Zoho CRM Plus back in 2014. This is quite a milestone, and we've come a long way in empowering you with everything you need to offer an exceptional customer experience. On that note, we expanded
    • Messages do not open and I cannot reply to messages in Zohodesk

      Hi, this is an unusual behaviour. I cannot reply to messages: Accessing a draft message - runs endlessly. Sending Emails fail:
    • Zoho CRM calendar merge with outlook

      Hi Zoho team! I did the steps for syncing the zoho CRM calendar with outlook. Everything works well as long as the user creates meetings inside the newly created Zoho CRM calendar in outlook, but I need a way to also display the meetings which are received
    • 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
    • Duplicate Record Creation

      Hello Team, I would like to check whether there are any options available in Zoho FSM to prevent duplicate record creation in the following modules: Assets Companies Contacts Ideally, we would like the system to check for existing records before allowing
    • Live connection to DS files in Zoho Creator / ChatGPT

      As an idea, we are using ChatGPT to build with Zoho Creator (outside of Zia), which is works brilliantly to assist write deluge, provide test suggesitons etc. Currently we are uploading the DS files which are very point in time, it would be great to have
    • Zoho Forms - Feature Request - Embed iFrame or Dynaic URLs in Description fields

      Hi Zoho Forms team, I'm working with a client who uses Zoho Forms internally to collect information over the phone from potential work placement candidates. At the end of the form, the candidate needs to be booked in for an induction, which we've configured
    • New in Office Integrator: Add text, diagrams, and drawings to your spreadsheet

      Hi users, We are pleased to introduce the Shapes feature in Zoho Office Integrator's spreadsheet editor. It lets users create visual elements; including simple shapes, text boxes, freehand drawings, and structured diagrams; directly within the spreadsheet.
    • Highlight what matters, erase what doesn’t in PDFs

      When reviewing PDFs or preparing them for sharing, two things often come up: you want to draw attention to what’s important, and you want to hide what isn’t. Zoho PDF Editor gives you both capabilities in one place with its highlight and erase tools.
    • WorkDrive Desktop Sync Is Being Deprecated: Move to WorkDrive TrueSync for a Smarter Experience

      Hi everyone, We are excited to share a better, smarter way to access and manage your files directly from your computer! We’re transitioning from our legacy Desktop Sync app to WorkDrive TrueSync, designed to give you faster performance,greater flexibility,
    • Zoho Desk API returning 403 SCOPE_MISMATCH for Ticket Search API

      Hello Zoho Support Team, We are experiencing an authorization issue with the Zoho Desk Ticket Search API. Our integration was working correctly yesterday, but we are now receiving the following error when calling the Search Tickets endpoint: API: GET
    • Set connection link name from variable in invokeurl

      Hi, guys. How to set in parameter "connection" a variable, instead of a string. connectionLinkName = manager.get('connectionLinkName').toString(); response = invokeurl [ url :"https://www.googleapis.com/calendar/v3/freeBusy" type :POST parameters:requestParams.toString()
    • Introducing the Zoho Campaigns MCP server

      Hello everyone, We are pleased to announce that Zoho Campaigns is now available in Zoho MCP. You can now connect your Zoho Campaigns organization to AI tools such as Claude, ChatGPT, GitHub Copilot in VS Code, and Cursor, and manage your email marketing
    • SubForm Custom Sort - Deluge Workflows

      I have been experimenting with the Custom Order function of Subforms, it works beautifully within the subform itself and retains the sorting order. However, I need to be able to iterate through the records in Deluge using the sort order (The usage case
    • How to embed Google Analytics GA4 tracking on a standalone Public Page (outside Customer Portal)?

      Hi, Is there an official or recommended way to embed Google Analytics (GA4) tracking directly onto a standalone public Zoho Creator Page (outside of a Customer Portal)? I’m considering using an invisible Custom JS Widget as a workaround, but I’d love
    • Bank feeds automation is broken - requires manual intervention and authentication

      Yodlee supports Australian Open Banking CDR protocols natively, but Zoho Books' implementation is still triggering legacy screen-scraping MFA blocks on CBA and other business banking accounts. When will Zoho update its Australian bank feed pipeline to
    • Cannot Access Subform Display Order in Deluge

      As highlighted in this community post, we still have to deal with the significant limitation of not being able to access the user-sorted order of subform rows through Deluge. This creates a major disconnect between the UI capabilities and backend automation,
    • Process FOR loop for subform items in the order of the manual sorting

      Hi Guys, I have searched everywhere and tried everything, but I still not able to resolve one particular challenge. I have a subform in my Invoice with rows for each item. I made it so that we can change the order of the items manually. I need to be able
    • Augmenting subform capabilities

      Greetings, everyone! Finally, the day has come for us to announce some of the most anticipated, requested, and exciting updates to subforms in Zoho Creator. As you're aware, subforms are an integral part of Creator forms, as they help in establishing
    • Build appointment scheduling into your vibe-coded apps with Zoho Bookings

      Exploring vibe coding? Wondering how an app built with AI can handle appointment scheduling? Join our upcoming live webinar to discover how Zoho Bookings APIs can help connect applications to scheduling capabilities. Here's what we'll explore: • Show
    • Is there a way to make Reason For Loss field mandatory at Closed Lost stage?

      Hi guys, Reason For Loss system picklist appears on Verify Details page but it is not mandatory so as a result, AEs tend to omit it (leave at default value -None-). Is there a way to make it mandatory at Closed Lost? I tried layout rule but this field
    • Cannot reorder fields in Page Layout in Expenses and Purchase Requests

      It is very inconvenient that the custom fields in Page Layout cannot be re-ordered. The only way is to remove the fields and re-create them; however, it is impractical. This would affect the reports and dashboards we are having. Not able to re-order the
    • Request for Zoho Desk Version and Module Details

      Kindly help us confirm the version of Zoho Desk currently being used in our portal, along with the module/edition name. We require this information urgently for our internal documentation.
    • How to customize the displayed name of contacts in Trident?

      Hello, For work purposes, I sort different customers into different folders, and I also change their display names in Contacts so I can easily recognize them later. However, Trident doesn’t seem to support this. Even after I edit a contact’s name in Contacts,
    • User and mailbox reports in Zoho Mail: Review account status, storage, and login activity of users

      Administrators often need answers to questions such as which users have never logged in, whose storage is almost full, or which mailboxes are accessed through POP or IMAP. The User and Mailbox reports in the Zoho Mail Admin Console provide these details
    • ZOHO CRM APP - SALESINBOX

      Is it possible to access SALESINBOX in the CRM MOBILE APP
    • 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
    • Tip #96 – See more of the remote screen with Virtual Monitor – 'Insider Insights'

      Hello Zoho Assist Community! Say you're supporting a device that has no monitor attached, like a server in a closet or a kiosk PC. You connect, and the screen is tiny, blurry, or distorted. Text overlaps and windows end up in odd places. Troubleshooting
    • Understanding transactional channels in Zoho CPaaS

      Every interaction with a business creates an opportunity to communicate.Whether it's welcoming a new user, confirming a payment, sharing an order update, or verifying a login, timely communication keeps users informed and connected. But how do businesses
    • Autoscan Settings

      I saw that autoscan is now included in my plan which is great however when I import pdf invoices from my main supplier which contain inventory lines and some also include shipping charges the autoscan doesn't match any of the items and also misses the
    • How to resubscribe to email after using unsubscribe link in Zoho

      I was testing the unsubscribe link feature from our contacts module in ZohoCRM and I sent my personal email a version of an email template with the default embedded unsubscribe link to see if it would utilize the "Email Opt Out" field to track un-subscription.
    • WhatsApp Calling Integration via Zoho Desk

      Dear Zoho Desk Team, I would like to request a feature that allows users to call WhatsApp numbers directly via Zoho Desk. This integration would enable sending and receiving calls to and from WhatsApp numbers over the internet, without the need for traditional
    • [ZohoDesk] Improve Status View with a new editeble kanban view

      A kanban view with more information about the ticket and the contact who created the ticket would be valueble. I would like to edit the fields with the ones i like to see at one glance. Like in CRM where you can edit the canvas view, i would like to edit
    • No access to contact categories in Zoho Mail Apps

      I have set up a number of contact categories for my organization. When I compose an email using a web browser these categories are visible. When I compose an email using your Android or iOS Apps no contact categories are visible. Is this expected? If
    • Zoho Plug In

      Is there anyone out there who is able to use it? I have seen lots of problems posted, unable to get any satisfactory suppport at the moment!  I would be really appreciate hearing from users that have it installed and working, my team are loosing belief it will ever work. Be great to hear from those that have a more positive experience
    • Outlook to Zoho sync

      I am the admin for our company and I have (1) single user that is having difficulties with her emails syncing. I have found where the problem is, but I don't know 100% if what is happening is how the plug-in works or if it's a setup issue. My boss created
    • Next Page