I have hit this same error, 1st time in many moons.
What can the client at the server end do to prevent this error?
All our clients have it set correctly except for one.
| Author | Message |
|---|---|
|
user33
Guest |
Posted: 3 Oct 2008 11:42
We currently use winscp 4.0.3 in script form to place transmit numerous files to external servers.
This has been running fine, until this morning, when I added a new job. The error recieved is: Upload of file 'test.csv' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option. I just want to ignore this error, the file goes ok - I just need a switch to use at command line in a script which ignores? thanks |
| Advertisements |
|
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16527 Location: Prague, Czech republic |
Posted: 5 Oct 2008
|
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16527 Location: Prague, Czech republic |
Posted: 5 Oct 2008
|
|
user33
Guest |
Posted: 6 Oct 2008 15:24
thanks for respose - but thats not any clearer for me.
This is in a batch with a lot of others which are all working ok, and I really dont want to mess with the rest of them, so I really need to try and do this at script level in the cmd file. is this possible? if not, can you give me a little example of how you would do this using the method you linked me to? perhaps I will hav to call the ini file for this oen customer? |
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16527 Location: Prague, Czech republic |
Posted: 9 Oct 2008
You can use -nopreservetime and -nopermissions switches to put command.
_________________ Martin Prikryl |
|
cdlvj
Joined: 26 Jun 2006
Posts: 13 |
Posted: 9 Dec 2008 23:03
I have hit this same error, 1st time in many moons.
What can the client at the server end do to prevent this error? All our clients have it set correctly except for one. |
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16527 Location: Prague, Czech republic |
Posted: 11 Dec 2008
cdlvj wrote: I have hit this same error, 1st time in many moons.
What can the client at the server end do to prevent this error? All our clients have it set correctly except for one. The file must be owned by the user who is overwritting it. It is not enough to have write permissions to update timestamps and/or set permissions. _________________ Martin Prikryl |
|
matmak
Joined: 08 Feb 2011
Posts: 1 Location: Seattle, WA |
Posted: 8 Feb 2011 00:30
If -nopermissions and -nopreservetime are supposed to be the fix for this, then those switches themselves need fixing.
winscp> put -nopermissions -nopreservetime "D:\filestore\etl\data\geography\Region Map Paths.csv" SSRS/ D:Region Map Paths.csv | 1456 KiB | 1789.1 KiB/s | binary | 100% Upload of file 'Region Map Paths.csv' was successful, but error occurred while setting the permissions and/or timestamp. If the problem persists, turn on 'Ignore permission errors' option. The server does not support the operation. Error code: 8 Error message from server (en): The request is not supported. Request code: 9 (A)bort, (R)etry, (S)kip, Ski(p) all: Abort winscp> |
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16527 Location: Prague, Czech republic |
Posted: 8 Feb 2011
matmak wrote: If -nopermissions and -nopreservetime are supposed to be the fix for this, then those switches themselves need fixing. What version of WinSCP are you using? _________________ Martin Prikryl |
|
Psi, Inc
Guest |
Posted: 8 Feb 2011 19:59
prikryl wrote: matmak wrote: If -nopermissions and -nopreservetime are supposed to be the fix for this, then those switches themselves need fixing. What version of WinSCP are you using? Using Version 4.2.9 Build 938, I was having the same problems until I added the -nopermissions and -nopreservetime. Worked like a charm after that. |
|
user123
Guest |
Posted: 7 Jun 2011 18:04
Psi, Inc wrote: prikryl wrote: matmak wrote: If -nopermissions and -nopreservetime are supposed to be the fix for this, then those switches themselves need fixing. What version of WinSCP are you using? Using Version 4.2.9 Build 938, I was having the same problems until I added the -nopermissions and -nopreservetime. Worked like a charm after that. We're using Version 4.0.4 Build 346, and have the same problem. Added -nopermissions and -nopreservetime does not work, error: File or folder '-nopermissions' does not exist. Any ideas? |
|
prikryl
Site Admin
Joined: 10 Dec 2002
Posts: 16527 Location: Prague, Czech republic |
Posted: 8 Jun 2011
user123 wrote: We're using Version 4.0.4 Build 346, and have the same problem. Added -nopermissions and -nopreservetime does not work, error:
File or folder '-nopermissions' does not exist. Any ideas? Please read FAQ: http://winscp.net/eng/docs/faq_script_switch http://winscp.net/eng/docs/faq_script_ini _________________ Martin Prikryl |
| Advertisements |
|
You can post new topics in this forum
It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]
And it's free!
Site design by Black Gate