Topic "IF-Condition in WINSCP-Scripts"

Author Message
Yousaint_2

Guest


Hello all together
I use WINSCP since 2 Months and i have a problem with if Conditions.
I will download my works from a other Computer, this works well.
But Now i will download my files only if a specific file is on the other Computer.
How can I work with if conditions or what is the syntax of if conditions in WINSCP-Skripts.

Thank you for all informations.

Best Regards
Yousaint
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Just try to download it and check if it succeeded or not.

Or see this example:
https://winscp.net/eng/docs/script_checking_file_existence
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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