-nopermissions switch -nopreservetime unknown

Advertisement

GF GANZERLA
Joined:
Posts:
4

-nopermissions switch -nopreservetime unknown

I have a scripted automatic file transfer, but the destination server reports the error
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.
I tried adding -nopermissions and -nopreservetime switches, but it doesn't work.
Unknown switches.
Here is the open command executed in the script:
"open Sarmog-MC-AWS -passphrase="mypassword" -nopermissions -nopreservetime"

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,541
Location:
Prague, Czechia

Re: -nopermissions switch -nopreservetime unknown

Those are switches of the put command, not open.
https://winscp.net/eng/docs/scriptcommand_put#nopreservetime

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

Reply with quote

Advertisement

You can post new topics in this forum