Topic "Unable to disable preserver timestamps using command"

Author Message
Dixiaosin

Guest


hi, I try to using Winscp GUI and disable the preserver timestamps, it sucessfully let me to drop the file from local to remote without getting the error message
"upload of file was successful but error occurred while setting the permissions and/or timestamp"

But when i want to write into script for automation, i cant upload my file from local to remote.
I getting this error message:

Permission denied.
Error code: 3
Error message from server: Permission Denied!

My script is:
put -delete -nopreservetime -resumesupport=off -nopermissions D:\Output\ForPrestige\* /

anything went wrong of the script?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
Dixiaosin

Guest


prikryl wrote:
Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.


Here you go.. i had attached the log file for your reference
log.txt (8.1 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
You simply do not have write permissions to the root folder (/). What is quote common, unless your account is chrooted.

Make sure you use a correct path.

Show us a log from GUI for a successful transfer.
Guest




prikryl wrote:
You simply do not have write permissions to the root folder (/). What is quote common, unless your account is chrooted.

Make sure you use a correct path.

Show us a log from GUI for a successful transfer.


Hi,

I found that in GUI, it said that some specific path into that folder. I just addin behind the / and my files are successfully transfer.
Thanks so much for your help.. ^^
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License