Problem logging on to FTP server - USER PASS ACCT

Advertisement

wiam
Joined:
Posts:
2

Problem logging on to FTP server - USER PASS ACCT

Hi, I am trying to log on to an FTP server through a proxy that requires the following as logon credentials:

USER username@hostname proxyusername
PASS password
ACCT proxypassword

When I log on to the server it asks for the username and password correctly, but fills the ACCT part with something automatically. Is there a way to specify the ACCT field manually (like the username and password fields) or can it prompt for the ACCT field like for the username and password?

Any assistance regarding this matter would be dearly appreciated.

Please see log below:


. 2009-07-14 09:30:20.733 --------------------------------------------------------------------------
. 2009-07-14 09:30:20.733 WinSCP Version 4.1.9 (Build 416) (OS 5.1.2600 Service Pack 2)
. 2009-07-14 09:30:20.733 Login time: Tuesday, July 14, 2009 09:30:20
. 2009-07-14 09:30:20.733 --------------------------------------------------------------------------
. 2009-07-14 09:30:20.733 Session name: <Session name>
. 2009-07-14 09:30:20.733 Host name: <My Proxy Server> (Port: 21)
. 2009-07-14 09:30:20.733 User name: (Password: No, Key file: No)
. 2009-07-14 09:30:20.733 Tunnel: No
. 2009-07-14 09:30:20.733 Transfer Protocol: FTP
. 2009-07-14 09:30:20.733 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2009-07-14 09:30:20.733 Proxy: none
. 2009-07-14 09:30:20.733 FTP: Passive: No
. 2009-07-14 09:30:20.733 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-07-14 09:30:20.733 Cache directory changes: Yes, Permanent: Yes
. 2009-07-14 09:30:20.733 DST mode: 1
. 2009-07-14 09:30:20.733 --------------------------------------------------------------------------
. 2009-07-14 09:30:20.733 Username prompt (no username provided)
. 2009-07-14 09:30:23.984 Password prompt (no password provided or last login attempt failed)
. 2009-07-14 09:30:26.995 Connecting to <My Proxy Server> ...
. 2009-07-14 09:30:26.995 Connected with <My Proxy Server>. Waiting for welcome message...
< 2009-07-14 09:30:27.027 220 <Welcome Message>
> 2009-07-14 09:30:27.027 USER <username>
< 2009-07-14 09:30:27.155 331 Enter password.
> 2009-07-14 09:30:27.155 PASS ****
< 2009-07-14 09:30:27.155 332 Enter proxy password.
> 2009-07-14 09:30:27.155 ACCT *******
< 2009-07-14 09:30:27.155 530-User Access denied.
< 2009-07-14 09:30:27.155 530-
< 2009-07-14 09:30:27.155 530-Usage: USER username@hostname proxyusername
< 2009-07-14 09:30:27.155 530- PASS password
< 2009-07-14 09:30:27.155 530 ACCT proxypassword
. 2009-07-14 09:30:27.155 Connection failed.
. 2009-07-14 09:30:27.155 Got reply 1004 to the command 1
* 2009-07-14 09:30:27.171 (ESshFatal) Connection failed.
* 2009-07-14 09:30:27.171 Authentication failed.
* 2009-07-14 09:30:27.171 Connection failed.
* 2009-07-14 09:30:27.171 User Access denied.
* 2009-07-14 09:30:27.171
* 2009-07-14 09:30:27.171 Usage: USER username@hostname proxyusername
* 2009-07-14 09:30:27.171 PASS password
* 2009-07-14 09:30:27.171 ACCT proxypassword

Reply with quote

Advertisement

sreekkanth2000
Guest

FTP 530 error handling

could you assist me how we can track this failure.. because after entering below command with the incorrect ACCOUNT number its giving return code as 0.

ftp -v -n -i 2>error_ftpfile << EOF
open servername
user "user name" "password" "account"
cd dir
ascii
ls
quit
EOF

Can you help me how get the error code so that i can use my retry techniqe ?

Reply with quote

martin
Site Admin
martin avatar

Re: FTP 530 error handling

sreekkanth2000 wrote:

[b] could you assist me how we can track this failure.. because after entering below command with the incorrect ACCOUNT number its giving return code as 0.
Sorry, this is support forum for WinSCP client, not general FTP support forum.

Reply with quote

Advertisement

You can post new topics in this forum