Transfer Fail/Success

Advertisement

NoName
Guest

Transfer Fail/Success

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

I have very limited coding skills!

Reply with quote

Advertisement

NoName
Guest

Re: Transfer Fail/Success

martin wrote:

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Transfer Fail/Success

I suppose you can run a batch file using sfttray.exe, instead of WinSCP directly.
_________________
Martin Prikryl

Reply with quote

NoName
Guest

Re: Transfer Fail/Success

martin 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 :(

Should I use the Errorlevel code in the Script file or the Batch file?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Transfer Fail/Success

Sorry, I do not know sfttray so I cannot give you more detailed answer.

Reply with quote

Advertisement

You can post new topics in this forum