Quantcast
Channel: THWACK: Popular Discussions - FTP Voyager
Viewing all articles
Browse latest Browse all 15134

Conditional action - only try to upload a file if it exists

$
0
0

I am very new to FTP Voyager.

I have a schedule with two actions:

a) a batch file which copies a file from the "incoming" directory to the "outgoing" directory.

b) an upload to move the file from the outgoing directory to a remote server.

 

I only want the second action to run if there is a file to upload. There seems no sense in connecting to the remote server and then failing because there is no file to upload.

I guess I could exit the first batch file with an exit code, but that again would make the schedule appear to have failed.


Viewing all articles
Browse latest Browse all 15134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>