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

RE: Reply to FTP_putraw not 226

Sender: Jim Langston <jlangston@xxxxxxxxxxx>

You should just check the first digit of the return code, since different FTP servers may return different messages for the same thing.

2 is successful.
5 is error.

I know that 1 3 and 4 mean something also, but I can't right now recall.  I know they are in the archives though.

5 is unrecoverable and 4 is recoverable error, or something like that.


Jim Langston

-----Original Message-----
From: L. Maartens [mailto:l.maartens@xxxxxxxxx]

Sender: "L. Maartens" <l.maartens@xxxxxxxxx>


I am trying to get a FTP put command working . I am currently using the
local loopback ( to send a file from my AS400 to my as400.

When using FTP_Put (sess: AS4dta: AS4ifs) to messages inthe log show the
file to be send, however, he final return code indicated an error. I get 250
File transfer completed successfully, but the return code checked in the
FTP_putraw checks for code 226 for successful completion.

I can not find code 226 in the RFC 542 specs.

Can you enlighten me on what i am missing.

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