Is it possible to use ScriptFTP to rename the most recent file (by date time) in the FTP site?
Thanks
Thanks
No, sorry. At least you already know the name of the file.
However ScriptFTP has some commands to get the file date (see GETFILETIME, http://www.scriptftp.com/reference.php?go=topic590) and you can also compare a file date to check if it is newer than another. But given a directoy listing I think that there is no way to sort them by date to get the most recent. If anyone has an idea, please post here.
I will add this to the next version wishlist. I think we have to cover this requirement in the future.
However ScriptFTP has some commands to get the file date (see GETFILETIME, http://www.scriptftp.com/reference.php?go=topic590) and you can also compare a file date to check if it is newer than another. But given a directoy listing I think that there is no way to sort them by date to get the most recent. If anyone has an idea, please post here.
I will add this to the next version wishlist. I think we have to cover this requirement in the future.
liked Script FTP? Try our other product Email Parser