摘要 |
<p>The present invention provides a method and device for SDK uploading and downloading of a file, the SDK being used for a cloud storage system, and the method for SDK uploading of a file comprising: receiving a file upload command, obtaining information of the file to be uploaded, and uploading the uniform context of said file to be uploaded; by means of the application callback information class member variable which is set in the upload interface, invoking a plurality of file upload functions encapsulated in said upload interface, making said plurality of file upload functions be based on said information of the file to be uploaded, and using said uniform context to upload said file to be uploaded. The present invention significantly reduces difficulty for developers and raises the efficiency and quality of development, accelerates its speed, reduces its cost, and effectively prevents defects.</p> |