Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to check whether file exist or not on SFTP connection using winscp?

$
0
0

Hello,

I have created a SFTP connection using winscp, to download the files. But, before downloading the files, I would like to validate whether the file(s) exist or not using the command.

Below are the command to download the files

option batch abort 

option confirm off 

--Here is the connection string 

get /abc.txt E:/download

exit

Request you to please explain, how to validate whether the file exist or not?

Thanks,

Ujaval



Viewing all articles
Browse latest Browse all 24688

Trending Articles