Opened 3 months ago

Closed 3 months ago

#2063 closed enhancement (fixed)

Add API for setting metadata on remote files

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

Description

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 Changed 3 months ago by nicklas

  • Resolution set to fixed
  • Status changed from new to closed

(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.