Executing Commands on Downloaded Files
As old items build up in the queue, it can consume large amounts of memory. Use the settings on the Tools > Global Options > Transfer > Events node to remove old items from the queue and to preserve the local and/or remote time stamp.
To execute commands on downloaded files
-
On the main menu, click Tools > Global Options (or press ALT+F7).
-
Expand the Transfer node, then click Events. The Events options appear.
-
Select the Execute the following command on the downloaded file check box to execute the command value on the specified executable file displayed in the edit box below the check box. Browse for the file to define the path of an executable, batch file, and so on. You can enter your own command line parameters by typing them in the edit box; the system appends the full path of the downloaded file to that string.
For example, if the Execute the following command value is "c:\windows\system32\csript.exe" "c:\documents and settings\ghoffer\mydocuments\check.vbs", then with this value turned on, if you download a file "foo.dat" to "d:\temp\", the command is executed in the following way:
"c:\windows\system32\cscript.exe" "c:\documents and settings\ghoffer\mydocuments\check.vbs" "d:\temp\foo.dat"
-
Click Apply if you are going to make changes to other pages; click OK to save changes and close the Global Options dialog box.