且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

文件上传:如何在外部云文件夹中上传文件javascript修改

更新时间:2022-11-05 13:26:19


  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.)

要以编程方式将文件上传到Dropbox,您需要使用Dropbox API:

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

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

这里有一个官方的PHP SDK:

There's an official PHP SDK here:

  • download
  • tutorial
  • documentation