Setting Up FTP with AndFTP and Filezilla

Discussion in 'Android General Discussions' started by x888x, Mar 3, 2010.

  1. x888x
    Offline

    x888x New Member

    Joined:
    Mar 2, 2010
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    0
    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?
  2. x888x
    Offline

    x888x New Member

    Joined:
    Mar 2, 2010
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    0
    Help b/c i'm losing my mind trying to figure this out

    bump haha

    This has been frustrating me for like 4 days
  3. justbob
    Offline

    justbob New Member

    Joined:
    Dec 27, 2009
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    0
    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.
  4. qwiksilver711
    Offline

    qwiksilver711 New Member

    Joined:
    Jan 17, 2010
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Backwoods Montana
    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
  5. Sev
    Offline

    Sev New Member

    Joined:
    Apr 4, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    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
  6. Vong
    Offline

    Vong New Member

    Joined:
    Apr 6, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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?
  7. pigpen
    Offline

    pigpen New Member

    Joined:
    Nov 24, 2009
    Messages:
    190
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    bronx ny
    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.
  8. Sev
    Offline

    Sev New Member

    Joined:
    Apr 4, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    I got mine to work only by using mobile ftp. for some reason it is the only client that will connect
  9. weisguy
    Offline

    weisguy New Member

    Joined:
    Jul 17, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Try following the directions in this part of the filezilla server setup. That's what finally got it working for me:

    Network Configuration - FileZilla Wiki

    (The part called Setting up FileZilla Server with Windows Firewall)
Search tags for this page

andftp filezilla

,
andftp how to use
,
andftp setting
,

andftp setup

,
configure andftp
,
filezilla andftp
,

filezilla android

,

filezilla for android

,
how to configure andftp
,
how to setup andftp
,
how to setup andftp android
,

how to use andftp

,

how to use andftp android

,
how to use filezilla on android
,
using andftp