Topic "Able to connect using GUI, command line is not working"

Author Message
srini123

Guest


Version of WinSCP : Version 5.1.3
Version of Microsoft Windows : Windows Server 2008 R2 Enterprise
Transfer protocol : FTP
scripting/automation :
I was able to connect to the remote server using GUI tool but I was not able to connect to the remote server using command line

The options I picked in GUI are
Advanced options checked
File Protocol : FTP
Encryption : No Encryption
Host Name : Name of the Host
User Name : user name
Password : Password
Proxy Type : USER%user@%host
Proxy Host Name : Name of the Host
Port Number : Port number

The command line argument I used is

winscp> open ftp://user name:password@host name:21 -timeout=60 -rawsettings ProxyMethod=4 ProxyHost= proxy host name ProxyPort=port
Error Message : A connection attempt failed because the connected party did not properly respond after a period of time, or established
connection failed because connected host has failed to respond.Connection failed.

I am trying to figure out the ProxyMethod in command line that we have to use while using the option Proxy Type : USER%user@%host in GUI
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
See FtpProxyLogonType
https://winscp.net/eng/docs/rawsettings
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License