cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

mulitple files upload doesnt work

mulitple files upload doesnt work

frphotos
Explorer | Level 4

Hi,

I am currently using Files.UploadAsync to upload files to a folder. However, it is very slow to process if there are a bunch of files.

 

I looked through the documentation and there isn't any method to upload a group or files with just a single call?

 

Below is my code to upload single file

var file = "41b08b49683d4e91be1a5a13c16d502c.jpg";
var folder = "/" + pid  + "/";
var lastpath = folder + file;
var mem = new MemoryStream(File.ReadAllBytes(pathname + filename));
var upload = await dbx.Files.UploadAsync(lastpath, Dropbox.Api.Files.WriteMode.Overwrite.Instance, false, null, false, null, mem);
2 Replies 2

Greg-DB
Dropbox Staff
That's correct, there isn't a way to upload many files with a single call, but I'll pass this along as a feature request.

frphotos
Explorer | Level 4

Thanks Greg. It will be a useful feature and help us save time and bandwidth to be able to upload multiple files to a destinated folder.

 

Cheers!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    frphotos Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?