What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Setting Up FTP with AndFTP and Filezilla

x888x

New Member
I am trying to get AndFTP to work on my phone. I am running Filezilla on my PC and I am able to connect to it for about 5 seconds haha. The following is what I have done/the results. Please help me with this if you can.

Set a static internal IP (192.186.0.10).
Forwarded Port 21 for same IP on wireless router

AndFTP fields:
Hostname: External IP (XX.XXX.XXX.XXX)
Type: FTP
Port: 21
Username: (Ben)
Password: Password
Local dir: /sdcard
Remote dir: /

Under Advanced, if I select Passive Mode, the phone connects and this is the result in Filezilla:

(000019) 3/1/2010 22:04:02 PM - (not logged in) (97.12.27.94)> Connected, sending welcome message...
(000019) 3/1/2010 22:04:02 PM - (not logged in) (97.12.27.94)> 220-FileZilla Server version 0.9.34 beta
(000019) 3/1/2010 22:04:02 PM - (not logged in) (97.12.27.94)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000019) 3/1/2010 22:04:02 PM - (not logged in) (97.12.27.94)> 220 Please visit FileZilla | Get FileZilla at SourceForge.net
(000019) 3/1/2010 22:04:02 PM - (not logged in) (97.12.27.94)> USER Ben
(000019) 3/1/2010 22:04:02 PM - (not logged in) (97.12.27.94)> 331 Password required for ben
(000019) 3/1/2010 22:04:03 PM - (not logged in) (97.12.27.94)> PASS **********
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> 230 Logged on
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> PWD
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> 257 "/" is current directory.
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> NOOP
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> 200 OK
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> CWD /
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> 250 CWD successful. "/" is current directory.
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> SYST
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> 215 UNIX emulated by FileZilla
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> PASV
(000019) 3/1/2010 22:04:03 PM - ben (97.12.27.94)> 227 Entering Passive Mode (67,247,236,106,195,88)
(000019) 3/1/2010 22:04:25 PM - ben (97.12.27.94)> disconnected.

It pauses at "entering passive mode" for like 20 seconds before disconnect


If I select Active in AndFTP the result is:

(000020) 3/1/2010 22:12:47 PM - (not logged in) (97.12.27.94)> Connected, sending welcome message...
(000020) 3/1/2010 22:12:47 PM - (not logged in) (97.12.27.94)> 220-FileZilla Server version 0.9.34 beta
(000020) 3/1/2010 22:12:47 PM - (not logged in) (97.12.27.94)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000020) 3/1/2010 22:12:47 PM - (not logged in) (97.12.27.94)> 220 Please visit FileZilla | Get FileZilla at SourceForge.net
(000020) 3/1/2010 22:12:47 PM - (not logged in) (97.12.27.94)> USER Ben
(000020) 3/1/2010 22:12:47 PM - (not logged in) (97.12.27.94)> 331 Password required for ben
(000020) 3/1/2010 22:12:47 PM - (not logged in) (97.12.27.94)> PASS **********
(000020) 3/1/2010 22:12:47 PM - ben (97.12.27.94)> 230 Logged on
(000020) 3/1/2010 22:12:47 PM - ben (97.12.27.94)> PWD
(000020) 3/1/2010 22:12:47 PM - ben (97.12.27.94)> 257 "/" is current directory.
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> NOOP
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> 200 OK
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> CWD /
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> 250 CWD successful. "/" is current directory.
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> SYST
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> 215 UNIX emulated by FileZilla
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> PORT 97,12,27,94,187,32
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> 200 Port command successful
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> LIST
(000020) 3/1/2010 22:12:48 PM - ben (97.12.27.94)> 150 Opening data channel for directory list.
(000020) 3/1/2010 22:12:59 PM - ben (97.12.27.94)> 425 Can't open data connection.
(000020) 3/1/2010 22:14:05 PM - ben (97.12.27.94)> disconnected.

Again, it pauses for 10-15 seconds at 150 Opening Data and the disconnects

Thanks for any help you can give me

Ben

What am I doing wrong?
 
Help b/c i'm losing my mind trying to figure this out

bump haha

This has been frustrating me for like 4 days
 
Sounds like the firewall code on your router is not happy with the way AndFTP is implementing passive mode. Check the logs on your router. I'll bet you find something there.
 
i've been using ftpserver on the phone with a negear range max wireles n gigabit router... never had a problem, never even crossed my mind that i would possibly have router issues, but that is logical that it might be your problem
 
I have the exact same problem on my phone. When i originally tired to connect from firefox i got that message. However after assigning ports for active, the connection began to work from firefox, but i still cant get it to work on my droid
 
I have the exact same issue. Strange thing is, if I'm on wifi, it works fine. 3G, no go. I don't have the tethering plan with Verizon, could they be blocking FTP connections?
 
Verizon definitely is not blocking ftp ports. I'm using Andftp with out any problems. PASV is set, connecting to pureftpD on port 21. Host machine is in the router DMZ with firewall in place on the host.
 
I got mine to work only by using mobile ftp. for some reason it is the only client that will connect
 
Back
Top