Posted: 2011-01-19 15:29
My script is running the following get cmd, it runs fine everytime.
get /agc/*.txt D:\TransferHolding\
What is the best way to know if any files were retrieved? I want to do some logging for my end users and right now it logs the transfer was completed even if no files were found in the remote dir (/agc/). I'm already checking the exitcode which behaves as expected and returns success if no files were transferred.
Dim rStatus As Boolean = (winscp.ExitCode = 0)
If rStatus Then
Location: Prague, Czechia
Please read documentation:
You can post new topics in this forum
And it's free!