Ftpclient Via 3g
I am using Apache Commons ftp client to upload a file to a server. If I have a wi-fi connection to my home router all goes well. If I dont have that wi-fi connection the 3G icon
Solution 1:
A regular FTP file transfer (in active mode) uses two connections - one established by the client and one established from the server for transferring the data. As 3G connections are usually firewalled by a NAT system the server can not reach the client. Therefore only connections in passive mode are possible.
Have you tried to use the passive mode. It should be configurable by calling enterLocalPassiveMode()
on the FtpClient instance.
Post a Comment for "Ftpclient Via 3g"