SYNC error 536

Post here if you experience file transfer problems or unexpected errors.

SYNC error 536

Postby mls4567 » 23 Sep 2011, 12:11

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
mls4567
 
Posts: 1
Joined: 23 Sep 2011, 12:09

Re: SYNC error 536

Postby ScriptFTP support » 23 Sep 2011, 12:11

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 iconFTP Script: [ Download ] [ Hide ]
SETCLOCKDIFF(3600)
SYNC("C:\accounting","/accounting",DOWNLOAD,SUBDIRS)


You can find further information here:

http://scriptftp.com/reference.php?go=topic60
ScriptFTP support
Site Admin
 
Posts: 624
Joined: 04 Aug 2008, 15:08
Location: Burgos, Spain, EU


Return to Troubleshooting



Who is online

Users browsing this forum: No registered users and 1 guest