I build a little script for upload file in windows to linux server. I test in local this script it's okay.
But when i would test with the server i have "file or folder does not exist" System Error 2.
If i test in graphical user interface, i see the folder and i can upload to the server. But i don't use the graphical user interface only script.
I change the name of file ( no special character and no space in the name) but it's the same thing.
Thank for your help.
My script is
option echo on option confirm off option transfer automatic open sftp://%1%:%2%@%:22 -hostkey="%4%" put ../photos/*.jpg exit close
Last edited by apprenti on 2011-03-04 09:19; edited 1 time in total