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!
Intent 'Disconnect' command neededRe: Intent 'Disconnect' command neededThanks for the feedback, we're going to see how to improve/solve this issue.
|