Skip to content Skip to sidebar Skip to footer

File-upload: How To Upload Files In An External Cloud Folder Javascript Modification

I have this .js in order to upload a file and show a list of the uploaded files. I have 2 problems: How can I show the listed files not in alphabetical but in order of upload? I k

Solution 1:

  1. If you're referring to the list of files shown on your own site, you'll want to maintain the desired order in some persistent list somewhere, or sort them based on whatever criteria you want, before showing the list of files to the user. (E.g., based on the modified time from the filesystem, etc.)

  2. To upload files to Dropbox programmatically, you'll need to use the Dropbox API:

https://www.dropbox.com/developers/core

There's an official PHP SDK here:

Solution 2:

  1. Click the modified filter in Dropbox(Web)
  2. Right click the file you want to use and selected url. It is gonna be something like this:

    https://www.dropbox.com/s/6fk1231mvp9idx7/cos.rar?dl=0

replace www with dl. It is gonna be something like this:

https://dl.dropbox.com/s/6fk1231mvp9idx7/cos.rar?dl=0

Post a Comment for "File-upload: How To Upload Files In An External Cloud Folder Javascript Modification"