View Single Post
Old 05-21-2014, 03:00 PM  
rkrupicka
Junior Member
 
Join Date: May 2014
Posts: 3
Default Automatic file transfer will not skip transfer when folder is empty

I am a transfer setup to go out an grab a file every 5 minutes. After it get the file it deletes the file from the server. In another 5 minutes it will go check for another file. There might be another file and there might not be another file present to transfer.

I would like to skip the transfer if the file is not present. I have tried going to Option - Filters and in the Skip List tab turning on the Skip Empty folders and Skip 0 Byte Files options. This still did not not solve my problem and the transfer failed. I also tried a Selective transfer to only transfer .csv file extensions hoping it would skip the transfer if it did not find one, but that did not work either.

Here is the session log info:

[2014-05-21 02:14:02 pm] [R] 150 Here comes the directory listing.
[2014-05-21 02:14:02 pm] [R] 226 Directory send OK.
[2014-05-21 02:14:02 pm] [R] List Complete: 254 bytes in 0.00 second (0.2 KB/s)
[2014-05-21 02:14:02 pm] [L] Changed Directory to: /
[2014-05-21 02:14:02 pm] [L] Retrieving file list...
[2014-05-21 02:14:02 pm] [L] List Complete: 0 bytes in 0.17 second (0.0 KB/s)
[2014-05-21 02:14:02 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:03 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:04 pm] [L] /NorrisPPDOutages.csv: File not found!
[2014-05-21 02:14:04 pm] Transfer queue completed
[2014-05-21 02:14:04 pm] Transferred 0 Files (0 bytes) in 4 seconds (0.0 KB/s)
[2014-05-21 02:14:04 pm] 1 File Failed
[2014-05-21 02:14:04 pm] Sending email notifcation..
[2014-05-21 02:14:05 pm] [L] SFTP Connection closed (The file does not exist.)
[2014-05-21 02:14:05 pm] [L] SSH Connection closed
[2014-05-21 02:14:05 pm] [L] Logged off: ftp4.nppd.com (Duration: 5 seconds)
[2014-05-21 02:14:05 pm] [R] QUIT
[2014-05-21 02:14:05 pm] [R] 221 Goodbye.

Any ideas on how to get this to work correctly?
rkrupicka is offline