Opened 7 years ago

Closed 7 years ago

#2063 closed enhancement (fixed)

Add API for setting metadata on remote files

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.11
Component: core Version:
Keywords: Cc:


The current API for external files has support for retrieving metadata (size, modification date, etc.) about remote files by asking the remote server for the information. This may take some time if the number of files is large.

In some cases we already know this information by other means (for example, when exporting/importing from another server). It would be nice if it was possible to set the metadata directly via some API method.

Change History (1)

comment:1 by Nicklas Nordborg, 7 years ago

Resolution: fixed
Status: newclosed

(In [7309]) Fixes #2063: Add API for setting metadata on remote files

Overloaded File.setUrl() method with a variant that also can set the metadata.

Note: See TracTickets for help on using tickets.