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?
As topic,

Is it possible to delete local files with ScriptFTP commands or with Exec?
Yes, it is possible. Try this:

[scriptftp="how_to_delete_local_files_with_exec"]# Delete a file in the current local directory
EXEC("del /f /q test.txt")

# Delete a file using an absolute path
EXEC("del /f /q C:\path\to\test.txt")

# Delete a file given a variable with its name
$file="thefiletobedeleted.txt"
EXEC("del /f /q ".$file)[/ScriptFTP]

Further details on the EXEC command here:
http://www.scriptftp.com/reference.php?go=topic260