Topic "check .txt file exists or not in remote server if exists and then download via winscp"

Author Message
Zuk

Guest


Hi All,


Could you please help on the below scenario

I want check *.cnf file exists or not on the remote server
If exists download the *.csv files ? if not exit from prompt.

This I am looking to do via winscp with batch script only
Could you please help.
[/quote]
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Sorry, but we are no a code writing service. Do you have any particular problem?

More over it's not clear, what you want. Do you want to download all *.csv files, if any *.cnf file exists? Or do you want to download those .csv that have corresponding .cnf?
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
See https://winscp.net/eng/docs/script_downloading_when_done_file_exists
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License