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.
Need help writing a script? Have any question about ScriptFTP?
I have a client that has software that outputs a single file to a specific folder every day. This folder has 100s of files in it. What I need is a script that and uploads just the most recently created file. This is what I'd like to do.

Connect to FTP
Set upload mode to direct
change the local directory
change the remote directory
upload just the most recently created file
logs success or failure
closes

Can someone help with this?
Hi,

I think it is not possible unless the file you want to upload has, for example, the current file data in the filename.
Actually, the filename is the date without an extension.

How about checking the remote folder first, and only uploading files that aren't present? How could I do that?