Topic "open command format for account"

Author Message
earlwer
[View user's profile]
Donor
Joined: 2011-05-25
Posts: 3
Location: Montreal, Quebec, Canada
How do I add the ftp Account to the open command?
The format I am using is:
open ftp://username:password:account@ipaddress:port/folder/

In the GUI, for FTP protocol, there is an Advanced button with a FTP, Protocol options.
I can enter the Account there and connect using the GUI.

I want to automate the connection, but I am having problems.
I am assuming that the ACCT is the problem...

. 2016-07-12 16:54:58.245 Certificate verified against Windows certificate store
. 2016-07-12 16:54:58.245 Certificate for "" matches cached fingerprint and failures
. 2016-07-12 16:54:58.245 Using TLSv1.2, cipher TLSv1/SSLv3: AES256-GCM-SHA384, 2048 bit RSA
. 2016-07-12 16:54:58.245 TLS connection established. Waiting for welcome message...
> 2016-07-12 16:54:58.245 USER <username>
< 2016-07-12 16:54:58.291 331 Password is required
> 2016-07-12 16:54:58.291 PASS ************
< 2016-07-12 16:54:58.354 332 Account is required
> 2016-07-12 16:54:58.354 ACCT *******
< 2016-07-12 16:54:58.416 550 Transaction failed ... Service unavailable or rejected
. 2016-07-12 16:54:58.416 Connection failed.

tia
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Use open ftp://.../ -rawsetting FtpAccount=account

Or even easier, have WinSCP generate the code for you.
earlwer
[View user's profile]
Donor
Joined: 2011-05-25
Posts: 3
Location: Montreal, Quebec, Canada
martin wrote:
Use open ftp://.../ -rawsetting FtpAccount=account

Or even easier, have WinSCP generate the code for you.


Perfect, that worked.
thanks
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