ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Post here if you experience file transfer problems or unexpected errors.
Hi Trying to SYNC with files on a remote server and i get

***** SYNC Error 553: Cannot upload temporary file. The server said: Could not create file.

There is no way they are going to give write permissions for the temporary file to calculate the time differences is there a way round this?

Thanks
Hello,
There is no way they are going to give write permissions for the temporary file to calculate the time differences is there a way round this?
Yes, try setting the time difference manually with the SETCLOCKDIFF command. For example:
Code: Select all# Connect to FTP server OPENHOST("ftp.myhost.com","myuser","mypassword") # Synchronize a local directory with this FTP site. # The time difference needs to be set manually because # we do not have write permissions on the FTP # server. SETCLOCKDIFF(3600) SYNC("C:\accounting","/accounting",DOWNLOAD,SUBDIRS) # Close connection CLOSEHOST
You can find further info in the following link, but don't hesitate to post a question here if you need help:

http://www.scriptftp.com/reference.php?go=topic60