I have been having problems with AndFTP crashing when it tries to connects. I am using sftp to a linux machine. I have played with this for a while and have found that it will work for a while after I reinstall the software or after I reboot the android. Any ideas?
I have the same problem here (G1, cyan 4.0.4) with andftp version 1.0RC1 and 1.0 final. After reinstalling andftp or rebooting the phone i can connect exactly once to machine via SFTP, successive tries immediatly abort after touching the connect-button with a force-close message.
I tried with different ssh-servers, ports, username, 3G/wifi, etc. no change in behaviour.
After adding a FTP-connection to the list the problem was gone! Even after removing the FTP-entry, all SFTP connections seem to work flawlessly now. In my test before i had only SFTP connections.
I will try to reproduce the error and see if adding a FTP-server really is the key to get it working.
First, many thanks to the developers for the admirable effort.
I'm amazed this keeps getting updates and never improves in the slightest. Sometimes i am able to establish connections and chdir and ls, but when download is started the app crashes. Never gotten past that. Just applied yet another update today (1.2), and it is the same if not worse. Often the app crashes immediately when the "connect" button is clicked. These problems are equal with SFTP and FTP. Servers are sshd on FreeBSD 7 and CrushFTP on OS X 10.5, respectively. Can provide test account on the latter and logs on both.
Thanks for the testing account. I've tested under both emulator and my HTC Magic and it seems to work fine. I've tried several connect/disconnect and I'm able to list files in the remote folder (see image below).
What error do you get ? You're using Android 2.0 under Motorola Droid ?
Ok i have more information, this appears to be something specific to my own account setup. If you use as "Remote dir" a relative path (not beginning with /), client will CWD to that dir successfully, but then subsequent commands, e.g. RETR, will prepend the relative path, causing a 550 error, and causing AndFTP to crash inelegantly.
Sorry to disparage your efforts, it's really just down to error handling in this case. Not sure but you might want to not allow relative paths in Remote dr.