Hello Nguyen,

 Your problem is not the response to the ALLO command but that your
client is unable to connect to 10.2.177.137
One possibility is that the IP is correct but a firewall is rejecting
the connections.
But 10.2.177.137 is not an internet address which is what you probably
want; this is a typical case which we have addressed in MINA using the
external-address property, you may need to define it as in this
example:

<data-connection idle-timeout="120" implicit-ssl="false">
                    <active enabled="true" local-port="16001" ip-check="false"/>
                    <passive ports="19000-19900"
address="10.2.177.137" external-address="PUBLICIP"/>
                            </data-connection>
 </nio-listener>

PUBLICIP can be  an ip address in the x.x.x.x  format or a hostname.


Make sure the "ports" are reachable and no firewall is in your way :)



2011/1/13 Nguyen Hai Nam <[email protected]>:
> Hello,
>
> I'm trying to deliver backup file from my cpanel (v.11) hosting to my
> ftp server. I've just configured typical setting only.
>
> But it had this error: 502 Command ALLO not implemented.
>
> Net::FTP>>> Net::FTP(2.77)
> Net::FTP>>>   Exporter(5.58)
> Net::FTP>>>   Net::Cmd(2.29)
> Net::FTP>>>   IO::Socket::INET(1.29)
> Net::FTP>>>     IO::Socket(1.29)
> Net::FTP>>>       IO::Handle(1.25)
> Net::FTP=GLOB(0x863ce10)<<< 220 Service ready for new user.
> Net::FTP=GLOB(0x863ce10)>>> USER cdn
> Net::FTP=GLOB(0x863ce10)<<< 331 User name okay, need password for cdn.
> Net::FTP=GLOB(0x863ce10)>>> PASS ....
> Net::FTP=GLOB(0x863ce10)<<< 230 User logged in, proceed.
> Net::FTP=GLOB(0x863ce10)>>> TYPE I
> Net::FTP=GLOB(0x863ce10)<<< 200 Command TYPE okay.
> Net::FTP=GLOB(0x863ce10)>>> CWD /
> Net::FTP=GLOB(0x863ce10)<<< 250 Directory changed to /
> Net::FTP=GLOB(0x863ce10)>>> ALLO 239590440
> Net::FTP=GLOB(0x863ce10)<<< 502 Command ALLO not implemented.
> Net::FTP=GLOB(0x863ce10)>>> PASV
> Net::FTP=GLOB(0x863ce10)<<< 227 Entering Passive Mode (10,2,177,137,6,37)
> Net::FTP=GLOB(0x863ce10)>>> STOR backup-1.13.2011_14-56-28.tar.gz
> Net::FTP=GLOB(0x863ce10)<<< 150 File status okay; about to open data 
> connection.
> Net::FTP=GLOB(0x863ce10)>>> QUIT
> Net::FTP=GLOB(0x863ce10)<<< 425 Can't open data connection.
>
> Would you please help to find the solution for this problem?
>
> Thanks and best regards,
>
> --
> Best regards,
> Hai Nam, Nguyen
>

Reply via email to