Upload of file .. was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn off setting permissions or preserving timestamp. Alternatively you can turn on 'Ignore permission errors' option.

You get this error, when a server fails to update file timestamp or permissions for some reason:

  • On some systems, you need to be an owner of the file (write permissions are not enough) to modify its permissions or timestamp.
  • Some servers do not support updating file timestamp or permissions at all.

Whatever the reason is, you need to turn off Set permissions and Preserve timestamp options or turn on Ignore permission errors.

Advertisements:

Note that you cannot disable preserving timestamp for synchronization, unless you turn off Modification timestamp comparison criteria.

When using scripting, add -nopreservetime and -nopermissions switches to put command. With synchronize command, this works only when -criteria is none or size and it never works in both mode.

When using .NET assembly, set TransferOptions as follows:

TransferOptions transferOptions = new TransferOptions();
...
transferOptions.FilePermissions = null; // This is default
transferOptions.PreserveTimestamp = false;

With Session.SynchronizeDirectories, this works only when criteria parameter is SynchronizationCriteria.None or SynchronizationCriteria.Size and it never works when mode parameter is SynchronizationMode.Both.

 
  messages.txt · Last modified: by 50.240.113.113
 

Search Documentation

This page

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

Associations

Site design by Black Gate