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.
I have a client that is considering using ScriptFTP to download files from a client's site using FTPS. The SYNC command to download files is failing with error 536 because it is trying to upload a temporary file to the client's site, which of course we do not have permission to do.

How do we stop ScriptFTP from trying to upload a file before downloading? For our purposes, there will never be "changed" files to download, only "new" files, so the time check is irrelevant.
SYNC("V:\Download","/userid/userid_EReports/EReports",DOWNLOAD)
Uploading temporary file to calculate server-client clock time difference.
***** SYNC Error 536: Cannot upload temporary file. The server said: Only Private data channel protection supported
Thanks. Please let us know whether there is a way to accomplish our goal (sync files from a remote FTPS site to a local directory without trying to upload a temporary file) using your product
ScriptFTP uploads a temporary file to calculate the clock time difference between the computer where ScriptFTP is running and the FTP server. This way the file synchronization can be done correntcly. But in the case you have no rights to uplad files (as you client) it is needed to specify manually this time difference in seconds using SETCLOCKDIFF in the script. For example:
FTP Script
  1. SYNC("C:\accounting","/accounting",DOWNLOAD,SUBDIRS)
You can find further information here:

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