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?
Hello,

Would it be possible to have the syntax/documentation for the command GETDELETEDFILESCOUNT.

Many thanks.

Zythan
The reason why the command GETDELETEDFILESCOUNT does not have documentation is because it is rarely used and I try to keep the Scriting guide as handy as possible. This is also one of the reasons this forum was created.

For your reference, the syntax of the command is very simple. It has no parameters and only returns the number of the files that have been deleted during the script execution. For example:
Code: Select all# Connect to FTP server OPENHOST("ftp.myhost.com","myuser","mypassword") # Synchronize a local directory from an FTP site SYNC("C:\accounting","/accounting",DOWNLOAD_DELETE,SUBDIRS) # Get the number of files that have been deleted during the synchornization $num_of_deletetd_files=GETDELETEDFILESCOUNT() PRINT($num_of_deletetd_files." files have been deleted") # Close connection CLOSEHOST