I am trying to get the file name of the transferred file (test.txt) in my scheduled task in Smartftp, however I keep getting the foldername instead of the filename for (destinationFile). Below is my code. Please help? Thanks
var item = TransferQueueOperation.TransferQueueItem;
if(TransferQueueOperation.Result == sfTransferQueueOperationResultSuccess)
var fso = new ActiveXObject("Scripting.FileSystemObject");
var destinationFile = fso.GetFileName(TransferQueueOperation.TransferQueueItem.Destination.Path);
This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
1 post • Page 1 of 1