[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Sending 'ENTER'



Sender: "Andy Youens" <Andy@xxxxxxxxxxxxxxxx>

Hi Scott

Thanks for the swift reply.

I've left the client for the evening now, but I'll try & answer some of
your questions.

Your right, straight after the PASS (think that's 331), it sends a 332
NEED ACCOUNT FOR LOGIN

According to the operators who do a manual FTP currently (I'm trying to
automate this process), no details are actually entered at the 332
prompt.

I'll run your other tests tomorrow first thing.

And sure, I'll help you in any way I can.

Many thanks

Regards

Andy 


|-----Original Message-----
|From: Scott Klement [mailto:klemscot@xxxxxxxxxxxx]
|Sent: 08 October 2002 17:49
|To: Ftpapi (E-mail)
|Subject: Re: Sending 'ENTER'
|
|Sender: Scott Klement <klemscot@xxxxxxxxxxxx>
|
|
|Hi Andy,
|
|I don't have access to a system which requires the account prompt, so
|I can't test this.   According to RFC 959 (the official standard for
|the FTP protocol) you should be getting a message similar to this:
|
|       332 Need Account For Logon.
|
|If that's the case, we need to send back an ACCT command followed by
|the account name, but like I said, I've never seen this in action.
|
|I can add support for this into FTPAPI if you're willing to help me
out.
|
|1) From your iSeries type:
|
|         FTP 'myhost.withacct.whatever.com'
|
|2) When it asks for a user-id & password, just hit enter so that
|     the logon fails with a "530 Login Incorrect" (or however they
phrase
|     it)
|
|3) Turn debugging on in the IBM FTP client by typing:  debug 1
|
|4) Then log in with your username & password by typing:  user
|
|5) After the password, it should ask you for your account.   Please
|     pay attention to what the server says.  It should show a 332
|     followed by "NEED ACCOUNT FOR LOGON".   When you press ENTER
|     or supply an account, you should see something like:
|
|          >>> ACCT <something>
|
|6) What I need to know is:  does it send a 332?  If not, what number
|     does it send when requesting the account?   When does it ask you
|     for this?  Is it after the ">>> PASS" command?
|
|    and, I need to know if it sends the ">>> ACCT", and what it sends
|    after that.   I assume that the ACCT is followed by nothing if you
|    just hit enter, or the account name if you type one, but I want
|    to be sure.
|
|Once I know this, I'll add support to FTPAPI (which will be easy with
|the information you give me) and then you can use it for that server...
|
|On Tue, 8 Oct 2002, Youens, Andrew (FNB) wrote:
|>
|> I'm using FTPAPIR4 quite successfully until I try to FTP to a UNISYS
|machine
|> which after processing the user ID & Password prompts 'NEED ACCOUNT
FOR
|> LOGON'.
|>
|> No input is required apart from a Enter to this prompt, any ideas how
I
|can
|> achieve this?
|>
|
|-----------------------------------------------------------------------
|This is the FTPAPI mailing list.  To unsubsribe from the list send mail
|to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
|-----------------------------------------------------------------------
FormaServe Systems Ltd
5 Milecastle
Bancroft
Milton Keynes
T: 01908 319566
W:www.formaserve.co.uk <http://www.formaserve.co.uk/> 
E: Info@xxxxxxxxxxxxxxxx

  _____  

This message (and any associated files) is intended only for the use of
ftpapi@xxxxxxxxxxxxx and may contain information that is confidential,
subject to copyright or constitutes a trade secret. 
If you are not ftpapi@xxxxxxxxxxxxx you are hereby notified that any
dissemination, copying or distribution of this message, or files
associated with this message, is strictly prohibited. 
If you have received this message in error, please notify us immediately
by replying to the message and deleting it from your computer. 
Messages sent to and from us may be monitored. 
Any views or opinions presented are solely those of Andy Youens and do
not necessarily represent those of FormaServe Systems.

  _____  

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------