To run an OS level command we’ll use the plugin function BE_ExecuteSystemCommand :īE_ExecuteSystemCommand ( command \" in the options. It is part of the Mac OS, and on Windows we can use a port called split.exe (in our example we used this port). To separate the file in chunks, we need to use a system command called split. How do we do that? With some help from the BaseElements plugin! This means that we have to cut our larger file in chunks of up to 150Mb each, and then perform an API request for each one of the chunks. The start endpoint starts a new upload session with the given data, then append can be use to add more data, until finish saves all of it to a file in Dropbox.Įach time, the data should not be bigger than 150Mb. But for files bigger than 150Mb, the APi documentation shows us 3 different URLs:Ī upload sessions is a series of requests to upload a single larger file. The endpoint URL for the smaller files is : One of the BaseElements plugin sponsors asked us to write an example of this process. The steps and endpoints in that article are still valid, but the Dropbox API uses a different approach for files bigger than 150Mb. Last year we published an article explaining the basic steps of integrating the FileMaker platform with the Dropbox API. We use Dropbox for a lot of things at Goya.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |