Re: thx
Thanks. I've corrected my answer.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
winscp.exe sftp://user51:pass@wwwstage.nydc.site2.prv:22/usr/local/www/staging/ /rawsettings LocalDirectory=c:\temp
/console
switch is for opening console window.
winscp.exe sftp://user51:pass@wwwstage.nydc.site2.prv:22/usr/local/www/staging/ /rawsettings LocalDirectory=c:\temp
winscp.exe /console /command "open sftp://user51:pass@wwwstage.nydc.site2.prv:22/usr/local/www/staging/" "lcd c:\temp"
actually that command does not work lcd is not executed
and i need to open GUI that command opens command line interface
Um...the stored session is not changing to the local directory set in the GUI (using version 4.1.6). The local directory automatically loads fine using the GUI, but not through scripting.
You haven't mentioned you are using scripting.
You can do:
(edited)
winscp.exe /console /command "open sftp://user51:pass@wwwstage.nydc.site2.prv:22/usr/local/www/staging/" "lcd c:\temp"
Um...the stored session is not changing to the local directory set in the GUI (using version 4.1.6). The local directory automatically loads fine using the GUI, but not through scripting.
Um...the stored session is not changing to the local directory set in the GUI (using version 4.1.6). The local directory automatically loads fine using the GUI, but not through scripting.
Setting local directory from command line is not supported. You can set it in stored session.
start winscp380.exe sftp://user51:pass@wwwstage.nydc.site2.prv:22/usr/local/www/staging/