Questions tagged [dropbox-sdk]

81 questions
1
vote
0 answers

How to upload a file using api v2 dropbox in android studio?

Specifically I am looking to upload a file with extension .xls I have a project that tries to do this, but the following error exists E/AndroidRuntime: FATAL EXCEPTION: Thread-6 Process: com.example.excelpromodel, PID: 12651 …
1
vote
1 answer

How to upload a file to Dropbox using JS SDK?

I am not sure whether to read the file as as Array Buffer or as a dataURI or as a binary stream. Which would be better? Also, won't these methods be memory intensive and make the app/device slow, especially when uploading big files like 150mb or…
Devashish
  • 1,260
  • 1
  • 10
  • 21
1
vote
0 answers

Dropbox Python API Upload multiple files

I'm trying to upload a set of pd.DataFrames as CSV to a folder in Dropbox using the Dropbox Python SDK (v2). The set of files is not particularly big, but it's numerous. Using batches will help to reduce the API calls and comply with the developer…
topcat
  • 586
  • 1
  • 6
  • 30
1
vote
1 answer

Detect whether Dropbox is installed in a UWP app

During the first start of my app, I would like to give the user the ability to grant access to certain sync apps like Dropbox. Is there any way my UWP App can detect that Dropbox is installed? I could then prompt the user to provide access to that…
J. H.
  • 109
  • 9
1
vote
1 answer

HOW CAN I get link of uploaded file with dropbox-sdk-js

I use github sample to upload image file to dropbox and It's OK, But after upload, HOW CAN I get link of uploaded file? Such as: https://www.dropbox.com/s/wiczs1cbhwveq5p/2017_Penguins.jpg?dl=0 It used to record again (in my database) to download…
1
vote
0 answers

com.dropbox.core.NetworkIOException: Software caused connection abort

My users see the following error: com.dropbox.core.NetworkIOException: Software caused connection abort Caused by java.net.SocketException: Software caused connection abort Does anyone know what are the reasons for this issue and how to fix…
DR93
  • 463
  • 6
  • 21
1
vote
0 answers

Fetching image from Dropbox

I'm fetching images from Dropbox using following Java code: private void downloadFile(@NonNull final String inPath, @NonNull final OutputStream outputStream) throws IOException, DbxException { …
DR93
  • 463
  • 6
  • 21
1
vote
1 answer

Dropbox: Get number of files in a folder

I'm using the following code to get the total number of files present at root level in a folder for Dropbox: public int getFilesCount(@NonNull final String inPath) throws DbxException { Log.i(LOGGER, "Getting files count for: " + inPath); …
DR93
  • 463
  • 6
  • 21
1
vote
1 answer

DropBox does not auto rename file during upload

I'm using Dropbox Java API to upload file. Following code does not upload file with auto rename: void uploadFile(@NonNull final String inPath, @NonNull final InputStream inputStream) throws IOException, DbxException { client.files() …
Sam
  • 822
  • 2
  • 8
  • 30
1
vote
1 answer

Objective-C dropbox SDK migration from API V1 to API V2

Can anyone please help me to list all the files in a dropbox's specific folder using the V2 api, NOT V1. There is no DBSession class anymore. Then how to let the app know that the user had already authenticated. In the V1 version we used to write…
Natasha
  • 6,651
  • 3
  • 36
  • 58
0
votes
0 answers

Dropbox iOS SDK (Obj-C) authorisation with dropbox app installed produces error (app needs to be updated)

I'm using the Dropbox iOS SDK installed with cocoapods to authorise a user in order to upload files to DB. This works, as long as the DB-App isn't installed on my device (the authorisation is then made via Safari). As soon as I install the DB-App…
Swissdude
  • 3,486
  • 3
  • 35
  • 68
0
votes
0 answers

Why am I receiving an invalid URL warning when trying to push files from S3 to DropBox using DropBox's Python SDK?

My goal is to take a large number of files held on S3 and be able to move them to dropbox programatically to avoid needing to store them locally and then manually upload. It would appear that I can accomplish this with DropBox's Python API. Per the…
KVSEA
  • 109
  • 8
0
votes
1 answer

How to fix: The value cannot be null or empty. (Parameter 'mediaType')

In my .NET 7 (7.0.5) project I'm using the Dropbox Sign SDK (latest version 1.1.1). When I call the SignatureRequestSendAsync (see code below) I receive the following error: System.ArgumentException: The value cannot be null or empty. (Parameter…
Mads
  • 385
  • 1
  • 5
  • 18
0
votes
1 answer

How can I generate access using C# in Dropbox

I have a DOTNET Core Web API, I need to have 1 API which will generate the access token this access token will be used for the further processes like Uploading files, etc. How can I get the access token Programatically in C# in Dropbox. Manually I'm…
Yogesh Shinde
  • 43
  • 1
  • 5
0
votes
0 answers

Issue with using DropBox Java SDK while migrating from Spring5 to Spring6

We plan to migrate to spring6 from spring5 and were using dropbox library. Now with spring6, since we need to use jakarta namespace and dropbox latest v5.4.4 maven dependency still uses javax namespace internally, we are kind of stuck. Please help…