Upload Script - Ability to tell if upload sucessful

Advertisement

geoff.culbertson@terumomedical.com
Joined:
Posts:
2
Location:
Ann Arbor

Upload Script - Ability to tell if upload sucessful

Hello I am using the following script to upload files to an SFTP location. I would like to add the ability to check if the transfer was successful somehow even if it is just in a log file. I am open to any ideas or suggestions.
open sftp://MEDPRDUSA:#XXXXXXXXX!@TAH-SFTPXX -hostkey="ssh-rsa 1024 IyEddQ/XW14j0hgyymGUHrHQDtXkydR4yZkvyHggEEU="
 
# change directory BOM
cd D0522/outbound/
 
#BOM Interface
lcd \\car-medusa1\m\SAP_BOM
put *.xml  -nopreservetime -nopermissions 
 
#close connection
close 
 
#exit winscp
exit

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum