Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Transfer Fail/Success

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

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?
martin

Re: Transfer Fail/Success

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

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
NoName

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!