I am after an FTP script to download all the files from an FTP server, then delete these files once complete, but leave files on the remote server if any were added during the download process, to be fetched during a later session.
Is it possible to achieve something like this using FTP scripts or do I need a different solution.
I was planning on using psftp.