-
Notifications
You must be signed in to change notification settings - Fork 115
dropbox uploader was not working #26
Comments
It seems 'https://dl-web.dropbox.com/upload' is not working/not there anymore. I guess that would be the problem. |
Looks like Dropbox added '_subject_uid' and 'mtime' to post requets parameters. $postData = array( mtime you can get using php's time() function. For _subject_uid, login to your dropbox account, scroll over any file you have in it and check out the hyperlink. There will be a _subject_uid parameter in the hyperlink. |
You say I should add that block of code and then it will work again? Do you mean in the DropboxUploader.php scrips? In the script that is communicating with DropboxUpload.php I have: Hope you can help! |
You can see a piece of code like $postData = array( and replace with $postData = array( For _subject_uid, login to your dropbox account, scroll over any file you have in it and check out the hyperlink. There will be a _subject_uid parameter in the hyperlink. mtime you can get using php's time() function. |
Aneeshtclt, |
For modified time, you can use these code |
For the past 4 days the dropbox uploader was not working . It was suddenly stopped. Please check this.
ERROR
Fatal error: Uncaught exception 'Exception' with message 'Upload failed!' in /home/icampuz/Backup/DropboxUploader.php:131 Stack trace: #0 /home/icampuz/Backup/dropboxBackup_ngi.php(8): DropboxUploader->upload('/home/icampuz/b...', 'backup', 'ngi_db.zip') #1 {main}
thrown in /home/icampuz/Backup/DropboxUploader.php on line 131
The text was updated successfully, but these errors were encountered: