Check if an error occurred or not
Hi,
i use autoIT and winscp.com to upload data. I use this line of code to do it:
This works great.
Now i would like to check if an error occurred or not.
Like
i use autoIT and winscp.com to upload data. I use this line of code to do it:
Run('WinSCP.com /command "open sftp://user:password@server.de/" "put c:\\_data\*" "exit"')
This works great.
Now i would like to check if an error occurred or not.
Like
$check_ftp = Run('C:\Program Files (x86)\WinSCP\WinSCP.com /command "open sftp://iplabs:password@swups01.cgn.iplabs.de/srv/ips/storage/swups/files/PicThema_End_User_AUTOTEST/NEW" "put C:\Users\a.polifka\Desktop\_shopupdate\shops\*" "exit"') If $check_ftp = 0 Then XY Else XY any idea? My result of $check_ftp is always something differnt, like 12904 or 13000 Any Idea?