Post a reply

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)


Topic review


Re: open command format for account

@martin: Perfect, that worked.

Re: open command format for account

Use open ftp://.../ -rawsetting FtpAccount=account

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

open command format for account

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.