Is it possible to check upload status?

Questions and information regarding the TeamDrive web portal, browser client and TeamDrive Agent - Fragen und Informationen zum TeamDrive Webportal, Browser-Client und TeamDrive Agent

Is it possible to check upload status?

Postby jochen » 21 May 2015, 00:37

Hi!

The agent documentation says about uploading a file:
"putFile(spaceId, path, data)
Uploads a file into a Space. The file creation is done asynchronously, a successful return code does not
indicate a successful import. Use getFiles() to request the current state of that file."


The getFiles documentation is:
getFiles(spaceId, filePath, trashed)
Returns a list of files matching Space Id, file path and trashed flag.
Parameters
• spaceId (int) – The Id of the Space
• filePath (str) – the path of the file in the Space.
• trashed (bool) – Is the file in the trash?
Return type list[dict]
Raises httplib.HTTPException a Connection Error.


How is the status information encoded? Will the function return just an empty list or will there be information like (upload in progress)?

Thanks!
Jochen
jochen
 
Posts: 1
Joined: 21 May 2015, 00:26

Return to Web Client and TeamDrive Agent with Browser Client (Linux and Windows 2012 Server R2+)

Who is online

Users browsing this forum: No registered users and 5 guests

cron