What i want to know is. How do i know when a put or get command is succesfull. So I can delete the file witch i send.
below the commandlines.
open sftp://xxx:yyyyy.eu/ -hostkey="ssh-rsa 2048 zzzzzzzzzz="
cd /mmmm/foto
option confirm off
put -transfer=binary webfoto\1_100000006.JPG
???
when succesfull put
delete webfoto\1_100000006.JPG
???
close
exit