Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Tip: Styles can be applied quickly to selected text.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

david9988

Re: How to pass proxyhost in command line

HI,
AND USING PORT 8080 WOW DO YOU INCLUDE THAT ?
THANKS

GeorgeM wrote:

Hi,

It is really easy 8)

Example:
Proxy address: myproxy.net (or ip address of proxy: 195.195.195.32)
FTP address: myftp.syte.org (or ip address of ftp: 10.10.10.33)
User name for ftp: NA\S029088
Pass: easyftpproxy

connection:
start command prompt: run - > cmd
open ftp - type 'ftp' and press Enter: ftp (enter)

c:\ftp
ftp> open myproxy.net
ftp> NA\S029088@myftp.syte.org
ftp>easyftpproxy
230 User NA\S029088 logged in.
ftp>bye
c:\

:mrgreen:
GeorgeM

Re: How to pass proxyhost in command line

Hi,

It is really easy 8)

Example:
Proxy address: myproxy.net (or ip address of proxy: 195.195.195.32)
FTP address: myftp.syte.org (or ip address of ftp: 10.10.10.33)
User name for ftp: NA\S029088
Pass: easyftpproxy

connection:
start command prompt: run - > cmd
open ftp - type 'ftp' and press Enter: ftp (enter)

c:\ftp
ftp> open myproxy.net
ftp> NA\S029088@myftp.syte.org
ftp>easyftpproxy
230 User NA\S029088 logged in.
ftp>bye
c:\

:mrgreen:
Janardhanan

Pass Proxy Host in command line

Hi,
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
open ftp://username:password@hostname:port
cd "out
option transfer binary
get Test.zip MyTest.zip
close
exit

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..

Thanks
jana
Janardhanan

Re: How to pass proxyhost in command line (script.txt)

Janardhanan wrote:

Hi,
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
open ftp://username:password@hostname:port
cd "out
option transfer binary
get Test.zip MyTest.zip
close
exit

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..

Thanks
jana


pls solve my issue... i am working with .net using C#
Janardhanan

Re: How to pass proxyhost in command line (script.txt)

Hi,
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
open ftp://username:password@hostname:port
cd "out
option transfer binary
get Test.zip MyTest.zip
close
exit

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..

Thanks
jana
Janardhanan

How to pass proxyhost in command line (script.txt)

Hi,

i want to pass proxy value in command line

currently the command to open sftp like,

open sftp://user:password@hostname:port
but, i want to add proxy name also in command line...
is it possible to add proxyname also?
"ProxyHost=proxyhost.test.com"

suppose i open winscp.exe directly means i can add proxy host also
but in the script.txt i am not able to add proxyhost name...

pls help me...

Thanks
Jana