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

Re: FTP-error 502 commend not implemented



hi Jan,

An error message that starts with a 3-digit number like "502 Command Not 
Implemented" is coming from the FTP server rather than the client.  In 
other words, the client (either IBM's client or FTPAPI) is sending the 
RCMD as you requested, but the server is sending back an error message 
in response that says "502 command not implemented", and we can tell 
that message is originating with the server because it starts with a 
3-digit number.

There's nothing that FTPAPI can possibly do to make this work.  To fix 
it, you're going to have to enable RCMD on the server.

It should be noted that RCMD is *not* a standard FTP capability. It does 
not exist in the FTP standard.  It's something that IBM added for the 
IBM i operating system.

If you are connecting to a Windows, Unix, Mac, etc, machine, you can be 
sure that RCMD will never work.  And, most FTP proxies don't understand 
it, either...

-SK


On 3/28/2012 1:20 AM, Jan Grove Vejlstrup wrote:
>     Doug,
>     Yes, the command was misspelled. The command I want to execute ist:
>     quote rcmd crtsavf qtemp/trasavf
>
>     Best regards
>     Jan
>     Am 27.03.2012 16:34, schrieb Bak, Doug (LMF):
>
> Jan,
>
> What subcommand are you trying to execute?
>
> We'd really need more info in order to know if what you're trying to do is suppo
> rted.
>
> I'm assuming that "qoute rcmd" below is a mis-spelling of the command, but if th
> at's the string you used to try to
> run a command, it will fail since it's spelled incorrectly.
>
> Doug
>
> -----Original Message-----
> From: [1]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [[2]mailto:ftpapi-bounces@xxxxxxx
> cottklement.com] On Behalf Of Jan Grove Vejlstrup
> Sent: Tuesday, March 27, 2012 9:02 AM
> To: HTTPAPI and FTPAPI Projects
> Subject: FTP-error 502 commend not implemented
>
> Hello
>
> On an IBM i of *one *of our customers I use the FTP-client, that comes with the
> OS400. If I try the use qoute rcmd, I recieve the message 502 command not implem
> entet. This customer is on 6.1. The IBM i of others of our customers doesn't sho
> w this behavior.
>
> Could it be a workaround to use the FTPAPI instead of the IBM-FTP-client?
>
>
> Best regards
>
> Jan
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> [3]http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
> References
>
>     1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>     2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
>     3. http://www.scottklement.com/mailman/listinfo/ftpapi
>
>
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------