i want to pass hostname,username,password and also proxyhost using open script command... i dont want to use stored session.
i am able to pass username, password, hostname and port using script to connect ftp server. now i want to connect sftp command. my sftp has proxy settings also can you give me a suggestion to passing proxy as argument. i have attached my ftp script code
option batch on
option confirm off
option transfer binary
get Test.zip MyTest.zip
but, i want to connect sftp with proxy host
suppose i will use to refere ini files for setting proxy host value where i can mention the password. because in ini file password is encrypted. so i am not able to mention the password in configuration settings. or suppose i didnt mention the password means winscp prompt me to enter the password. so how can i pass the password with command line directly..
kindly help me to solve my issue..
pls solve my issue... i am working with .net using C#