Questions tagged [dropbox-php]

Dropbox PHP SDK is MIT licensed and intended to be useful both as reference documentation and for regular use. However members of Dropbox developer community have also created alternative libraries in other programming languages.

The Dropbox API allows you to build the power of Dropbox directly into your app. The API provides methods to read and write from Dropbox securely, so your users can bring all their important files with them to your app. Get access to Dropbox PHP SDK Development Kit that provides access to the Dropbox REST API.

Source: Dropbox

122 questions
1
vote
1 answer

PHP Form : Upload File using Dropbox version 2 Api

Please suggest a php form file upload code using Dropbox version 2.
Ravi Patel
  • 5,121
  • 2
  • 25
  • 44
1
vote
1 answer

Dropbox API Uploading Document Size Is Zero

I am using PHP and Curl to upload a file into Dropbox but everytime it is creating empty files. Here is my code: // reading the remote file to get the file size... $file =…
LargeTuna
  • 2,694
  • 7
  • 46
  • 92
1
vote
1 answer

code has expired (within the last hour) dropbox

Hi everyone i am new in dropbox api (php version). i am getting authCode using authorizeUrl, its working good for only one time if i reload page error message shows on 'HTTP status 400 {"error_description": "code has expired (within the last…
Arun Kumar
  • 1,607
  • 1
  • 18
  • 33
1
vote
1 answer

kunalvarma05 dropbox-php-sdk

i use this unofficial api to manage file on dropbox , i want show in my website the list of file and with this list manage them with the metod delete() . To return the list of file i use the : include('../dropbox-2-k/vendor/autoload.php'); use…
1
vote
0 answers

Dropbox PHP SDK not working on production server

I am playing around with Dropbox PHP SDK and I have a wired problem. On my localhost environment it works like a charm, but on my server it does not. I have ssl and the dropbox redirect urls is:…
cojok
  • 61
  • 1
  • 2
  • 8
1
vote
1 answer

how to avoid Dropbox revisions purge after 30 days?

I try to disable purge after 30 days in Dropbox via php sdk. I can do it in Google drive using keepForever to true so it wont purge revisions after 30 days.https://developers.google.com/drive/v3/reference/revisions#resource-representations in same…
Thamaraiselvam
  • 6,961
  • 8
  • 45
  • 71
1
vote
2 answers

Can I schedule a file to be uploaded from my server to dropbox?

A client of mine wants a scheduled file upload to Dropbox on a weekly basis from his server. We compiled survey data and I have a script in Laravel 5 which produces a CSV file weekly. He wants this file scheduled to be uploaded to his clients…
Joel Higgins
  • 125
  • 1
  • 9
1
vote
1 answer

Set visibility of dropbox files/folders as public or private using api php

I am trying to implement dropbox apis using php in my website for sharing. Using shares() I am able to get share link for a folder/file but visibility is always "PUBLIC". Is there any method/api to set the visibility? Thanks
madhukar
  • 61
  • 6
1
vote
1 answer

Undefined index: client_id while using Laravel 5.1 / Socialite / Dropbox SDK

So I've realized that Laravel 5.1 can't use sessions to store the CSRF token required by the Dropbox SDK when authenticating a user via OAuth2. To get around this, I've followed this great post to use this provider and Laravel Socialite to make the…
dbadness
  • 413
  • 4
  • 10
1
vote
1 answer

Can I not authenticate from a non HTTPS site with the PHP SDK?

Using the official Dropbox PHP SDK, I'm starting the oauth process from a local site where the redirect URI is simple HTTP Invalid redirect_uri: "http://mylocalsite.local/finish": When response_type=code, only localhost URIs can start with…
paul
  • 572
  • 6
  • 24
1
vote
1 answer

Mulitiple Files upload to Dropbox by PHP API

I was tried to upload files using Dropbox PHP Api . its worked perfectly . Is there any option in Dropbox api for multiple file uploads . or any asynchronous uploading concept is there in php ? . Currently i am using oauth2.0 for app signin . /** …
1
vote
1 answer

$_FILES to a resource - Laravel 5 and Dropbox

Well, I've uploaded an app to Heroku, and I've discovered that I can't upload files to it. Then I started to use Dropbox as storage option, and I've done a few tests, of send and retrieve link, and all worked fine. Now, the problem is to use the…
pLpB
  • 23
  • 5
1
vote
4 answers

Use of dropbox with core APIs, but avoiding login page

I want to use Dropbox for my file share application, using Core Dropbox APIs. I am using OAuth 2.0 APIs for authentication (Implicit Grant Method). The issue is, In order to obtain the access token, I need to be logged-in to dropbox account or it…
akhileshmoghe
  • 603
  • 8
  • 21
1
vote
2 answers

PHP DropboxClient accessing metadata with space in path

IM having trouble accessing the ->metadata of a path when the path has a space in one of the folder names. So if the path is /CLIENT/FOLDER NAME then the metadata call returns 401. I am encoding the path parameter like so: $path =…
Travis Beck
  • 1,128
  • 9
  • 21
1
vote
0 answers

Dropbox Error executing HTTP request: SSL connect error

I've seen a few similar curl/ssl issues floating around the internet, but I haven't been able to find a solution. I'm setting up my application to upload a PDF to Dropbox. I've had it working for a few years, but I think with all the SSL security…
joelataylor
  • 193
  • 1
  • 4
  • 13
1 2
3
8 9