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.
Missing any feature or command? Post your ideas here. Suggestions are welcome.
I want to use SYNC(DOWNLOAD_DELETE) command but i've got a trouble with uploaded temporary file :

- On the first server : i do not want to modified remote_dir : do not add .tmp file on it
- On the second one : i do not have write permission on remote_dir (read only) so my script return me :
Uploading temporary file to calculate server-client clock time difference.
***** SYNC Error 550: Cannot upload temporary file. The server said: Permission denied
Any idea to bypass "Uploading temporary file" ?
On the first server : i do not want to modified remote_dir : do not add .tmp file on it
The temp file uploaded to calculate the clock time difference (and do the sync) is automatically deleted. Could you post the output of the transfer to see what went wrong?

If you are concerned about privacy you can send me this by email.
On the second one : i do not have write permission on remote_dir (read only) so my script return me :
In this case you need to set your time differnce manually before using SYNC. For example:

[scriptftp="set_time_diff.ftp"]# 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[/ScriptFTP]
It works ! Thanks !