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 having an issue where my script gets the file from the ftp server and puts it in the local file. It then deletes the remote file.

I have a program that is watching the local file folder and whenever a file is modified it grabs the file to process. Since trying scriptftp, 95% of the time we are processing the file twice. I can sometimes do a properties on the file in between and see when it first downloaded it had a time modified and then when it deleted the file from the remote server it had a different time stamp.

Any help would be much appreciated.

Wayne
Hello Wayne,

Try creating a lock file in the beginning of the script. Once the downloads have completely finished, the script should remove the lock file. The other program must avoid running when the lock file exists. Is that possible? Does it appeal to you? If so I could give you an example.

ScriptFTP downloaded files do not keep the original time stamp.