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

Re: FTPAPI and error :501 IP Address for data destination doesn't match client's.



You appear to be running behind a NAT gateway that isn't compatible with 
FTP.

Your best bet is to try passive mode.  You do this by calling:

    callp FTP_passiveMode( session: *ON );





On 3/14/2011 2:06 PM, Mario Martoriello wrote:
>
>     Hi all
>     I �m using ftpapi to send/receive some file via ftp from RPG program.
>     Sometimes  it happens that I can�t do anything because I receive the
>     following error :
>     501 IP Address for data destination doesn't match client's.
>     Attached I send the log that i receive  but I don�t understand why I
>     receive this error. I look on internet about this error to understand
>     if this is my error or an server�s error and it seems  that is a
>     server�s error. This error happens sometimes and if I retry it works
>     fine what can I check to avoid this error? any tips?
>     Thanks so much
>     Mario
>
>
>
>
> -----------------------------------------------------------------------
> 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
-----------------------------------------------------------------------