Intent 'Disconnect' command needed

FTP client for Android handsets.
Post Reply
mark0
Posts: 1
Joined: Mon Oct 18, 2010 5:23 pm
AntiSpam sum: 8

Intent 'Disconnect' command needed

Post by mark0 »

I am using AndFTP 2.0 via the 'intent' mechanism to upload. Upload activity sometimes returns 'FAILED' and 'broken pipe', then won't work anymore unless I go to the AndFTP App and manually do a 'Disconnect'. After that, 'intent' upload works again.

How about making a few more commands available from the 'intent' mechanism, like 'Disconnect'.

intent.putExtra("command_type", "upload");
intent.putExtra("disconnect", "true"); // Disconnect after command completes

Or, the problem may be a left open connection from a previous FTP. It may be good to have a command to make sure the connection is disconnected both before and after the command is attempted.

intent.putExtra("disconnect_before", "true"); // Disconnect after command completes
intent.putExtra("command_type", "upload");
intent.putExtra("disconnect_after", "true"); // Disconnect after command completes

Note, I tried ("close_ui","true"); but it did not help this problem.

Thank you!

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: Intent 'Disconnect' command needed

Post by support »

Thanks for the feedback, we're going to see how to improve/solve this issue.

Post Reply