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.

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

martin

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

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 ?
wiam

Re: Problem logging on to FTP server - USER PASS ACCT

Hi, the temp solution works perfectly! :D

Thanks a mil!
martin

Re: Problem logging on to FTP server - USER PASS ACCT

Thanks for your post. This issue is being tracked already.
wiam

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