Every FPTxxx runs in a separate session so there is no way you can do GET and DELETE in one session using FTPxxx commands. Here is what you can do. Create a text file like pwd password get ... delete ... quit Schedule the following command (as program tipe job) ftp -n -s:myfile.txt myserver.com That's it. : Hi, : I´m recieving files from an Unix based server. : After I recieved my file I try to delete it but I : can´t. As I understand I have to delete the file : directly after I get the file, before FTPGetFile : close the session. I´m not allowed to connect to the : FTP-server and delete a file without get file first. : Is there a way to logon, get file, delete file, logoff ? : I was thinking of making a batch-file but...
|