Cancel a download?

Discussions about the TCP Remote Control interface built into Newsbin. Includes discussion and announcements of remote control applications using this interface running on mobile devices including iPhone and iPad iOS, and Android phones and tablets.

Moderator: Jonny

Cancel a download?

Postby windy » Sat Dec 24, 2011 6:10 am

From Dashboard, select Files, select Newsbin files, select my downloaded .mkv file to go to Details. Click on View.

It will now says Downloading ... filename.mkv

If I want to cancel this download, I can't, and if you press Back all the way to the Dashboard, the bottom just says disconnected. However the download is still going on and in Newsbin (I am on 6.30B1) it appears to be using my bandwidth uploading stuff.

From here, once you quit the app and try to reenter, it will crash every time. The only way is to end task the app to fix this download and the crash problem. I am using 1.0.2 version.
windy
Occasional Contributor
Occasional Contributor
 
Posts: 44
Joined: Fri Apr 06, 2007 10:02 am

Registered Newsbin User since: 04/06/07

Re: Cancel a download?

Postby windy » Sat Dec 24, 2011 6:20 am

And when adding a computer, and the serial number field is blank, Test connection will just show the rotating loading icon forever, without notifying the user that a field is missing or connection timeout.
windy
Occasional Contributor
Occasional Contributor
 
Posts: 44
Joined: Fri Apr 06, 2007 10:02 am

Registered Newsbin User since: 04/06/07

Re: Cancel a download?

Postby windy » Sat Dec 24, 2011 6:37 am

Also, when newsbin client closes, the app does not handle that and crash with it while downloading a file from my Downloads.
windy
Occasional Contributor
Occasional Contributor
 
Posts: 44
Joined: Fri Apr 06, 2007 10:02 am

Registered Newsbin User since: 04/06/07

Re: Cancel a download?

Postby Jonny » Sun Dec 25, 2011 12:31 pm

If I want to cancel this download


File download don't have a Cancel, so once you have initiated a too large download your only course of action would be to kill NBRemote.
And by "kill" I mean this: http://www.tipb.com/2010/08/10/ios-4-features-background-app-killing/

From here, once you quit the app and try to reenter, it will crash every time.


Not sure what you mean. If you kill the app and start it again, it does not remember what you were doing previously and should just start up. It will certainly not "crash every time" as that implies you can't ever use the app again?

Also, when newsbin client closes, the app does not handle that and crash with it while downloading a file from my Downloads.


Yeah, that is not recommended. In fact I wouldn't recommend using the NB user interface at all while using NBRemote.

Regards;
/jb
Jonny
Seasoned User
Seasoned User
 
Posts: 108
Joined: Sat Mar 15, 2003 8:25 pm

Registered Newsbin User since: 04/29/03

Re: Cancel a download?

Postby windy » Sun Dec 25, 2011 4:43 pm

File download don't have a Cancel, so once you have initiated a too large download your only course of action would be to kill NBRemote.
And by "kill" I mean this: http://www.tipb.com/2010/08/10/ios-4-features-background-app-killing/


Yea, that is what I did. But shouldn't there be a cancel function? If not, I think it would be great if you have a number indicator below the download bar, as the user can see exactly how long left, and if it is even moving.

Anyway, while downloading the user should not be able to press Back, and even so, the bottom of the main screen should not indicate Disconnect which would be misleading.

Not sure what you mean. If you kill the app and start it again, it does not remember what you were doing previously and should just start up. It will certainly not "crash every time" as that implies you can't ever use the app again?


I mean if you are downloading something, and you press Home button, then you try to openup NBRemote again, it will crash. You will have to kill it. Shouldn't the correct procedure be letting me back in and show me the downloading box thingy?

Yeah, that is not recommended. In fact I wouldn't recommend using the NB user interface at all while using NBRemote.


Would it be possible to handle this disconnection gracefully without crashing? And will the temporary downloaded file be deleted, or will it be left on the filesystem (either to be continued or abandoned)?

Also I think you forgot to address this bug: And when adding a computer, and the serial number field is blank, Test connection will just show the rotating loading icon forever, without notifying the user that a field is missing or connection timeout.

Thanks!
windy
Occasional Contributor
Occasional Contributor
 
Posts: 44
Joined: Fri Apr 06, 2007 10:02 am

Registered Newsbin User since: 04/06/07

Re: Cancel a download?

Postby Jonny » Sun Dec 25, 2011 6:54 pm

But shouldn't there be a cancel function?


The reason for the missing Cancel is simple, there is no cancel function in the remote interface of Newsbin.

I mean if you are downloading something, and you press Home button, then you try to openup NBRemote again, it will crash.


That depends on how long you left it there. If it is a big download, Apple will not allow the app to finish the download while in background. If you switch back before that time expires it will work, if you don't Apple will kill the download.

Would it be possible to handle this disconnection gracefully without crashing?


Yeah, but not with the present code base. I was planning on switching it out to one that supports SSL but has been putting that up until SSL support work begins in a Newsbin beta.

I did note the other bug.

Regards;
/jb
Jonny
Seasoned User
Seasoned User
 
Posts: 108
Joined: Sat Mar 15, 2003 8:25 pm

Registered Newsbin User since: 04/29/03


Return to Newsbin Remote Control

Who is online

Users browsing this forum: No registered users and 2 guests