cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We love to hear how every person gets the most from Dropbox, and it seems everyone has a slightly different use for it - tell us yours here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

swifty dropbox download cancel

Re: swifty dropbox download cancel

Greg-DB
Dropboxer

The override issue in 2.0.6 is fixed now in version 3.0.0.

Re: swifty dropbox download cancel

DS6
Explorer | Level 4

Do we need to explicitly cancel the upload requests, or is it enough to release the objects by setting it to nil? Example, I have

 dbUploadTask = client?.files.uploadSessionStart(input: data)
 dbUploadTask?.response(completionHandler: { [weak self] (result, error) in

}

Then is it safe to set the object to nil while upload is in progress? Or is it necessary to call cancel() before setting it to nil?

dbUploadTask = nil

Re: swifty dropbox download cancel

Greg-DB
Dropboxer

@DS6 If you want to cancel the request, you should explicitly call `cancel`. (I can't guarantee that `nil`ing the object will be sufficient.)

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    DS6 Explorer | Level 4
  • User avatar
    Jiho P. Explorer | Level 3
What do Dropbox user levels mean?
Need more support?