Topic "Help in AUTOMATE SFTP setup"

Author Message
Sunil Somani

Guest


Dear All,

I am in process to create a AUTOMATED setup of SFTP.

In which at regular interval, my script will connect to SFTP server and get and put files. And in case of error would send a mail to the respective group.

Now issue is, how to track all error codes, for which I need to send mails.
Since let say there is no files to get, it will return error and I get a mail which is not useful.

If I could get all error code returned by WINSCP and how to pass the same error in my calling script. SO that I could manage the email sending part based on this.

Perhaps I am not clear, so If you have any question, please let me know and kindly help.

Thanks
Sunil Somani
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
If there are not files to get and you use file mask, e.g. "get *", though should not get an error code.
_________________
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