Closed Damin00u closed 9 years ago
Nice find. If you did run into the limit recently, please edit the value in your file and let me know if it did work for you now. Would be interesting to know.
For the change, it might require some tests for PHP under different installations and operating systems due to integer limits. But we can check that then.
I still get the upload failed error message. I tried on a Linux x86_64-redhat-linux-gnu with php v5.3.3
Same here, changing the limit didn't work. Switched to official api and I'm uploading a +70GB file weekly.
@dexigner: You might confuse the issue, the upload limit is 10Gb not +70Gb. So Dropbox_Uploader could never reach +70Gb. The problem that @Damin00u brought up is, that internally in the class the limit is hardcoded to 300Mb, which was the old limit to upload via the dropbox website (not API).
@Damin00u Thanks for the feedback. You need this hardly? Should I look further into it? I don't need it atm, so I don't push so much forward with this and as your test reveals it's not possible by changing the coded limit, right?
@hakre yes it's not working changing the limit in the script, my upload is 317mb file. I'll switch to the official API. I'll let you know if i find any solution
@Damin00u: Could you find out more on this issue?
@hakre Sorry I'm pretty busy these times, i'm using Dropbox sdk for now but I didn't check what was wrong with DropboxUploader
@Damin00u: Thank you for your quick feedback. I'll close this issue for now. The DropboxUploader class has a filesize limit of 314 573 MB (314 572 800 bytes), this is the standard mode of operation so far, https://github.com/jakajancar/DropboxUploader/blob/master/DropboxUploader.php#L39
According to Dropbox Page, filesize limit through the website is set to 10Gb. https://www.dropbox.com/help/5/en
Last filesize limit was 300Mb
When I tried to change the dropbox configuration to 10Gb, I also get the upload failed error message const DROPBOX_UPLOAD_LIMIT_IN_BYTES = 10737418240; Any idea about this issue ?
Reference: #9