Topic "Transfer Fail/Success"

Author Message
NoName

Guest


Whats the easiest way to use the Exit code to highlight a problem with a file upload?

I have very limited coding skills!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
See http://winscp.net/eng/docs/guide_automation#results
_________________
Martin Prikryl
NoName

Guest



Thanks but I have to launch WINSCP using the following due to my company configuration and cant use WINSCP.com

"C:\Program Files\Microsoft Application Virtualization Client\sfttray.exe" /launch "WinSCP 5.1.7.3446" /console /script=C:\Users\spy\desktop\spyscript.txt

This doesn't seem to allow goto statements & errorlevel options?

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I suppose you can run a batch file using sfttray.exe, instead of WinSCP directly.
_________________
Martin Prikryl
NoName

Guest


prikryl wrote:
I suppose you can run a batch file using sfttray.exe, instead of WinSCP directly.


Thanks Martin, unfortunatly I cant get this to work Sad

Should I use the Errorlevel code in the Script file or the Batch file?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Sorry, I do not know sfttray so I cannot give you more detailed answer.
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