How does Box place the upload status flag?
Folks: I appreciate the status flag placed by Box and adjacent to the file name; this indicates the upload status of every file.
How is this done? And is it searchable? It's not in the name field; and if there's a metadata field appropriate, I've not seen it. Could it be a secret? Maybe, but other services, too, flag files to indicate upload status.
Could it be something dreadfully obvious, staring me in the face, just like that can of tomato soup I couldn't find at the grocery store? Quite possibly, yes.
Does anyone know?
-
Hi ,
As far as I know the file object won't provide direct status information on the upload status of a file. The only info that I can see is item_status, but that will only show you if an item is active, trashed, or deleted.
If you're uploading a file over 50mb and using chunked upload however, there is a way of doing this. Essentially chunked upload will break the upload into parts, and you'll upload each part in sequence. You can build a rudimentary status indicator by increasing the upload % each time a new part uploads successfully ((100% / # of total parts) * number of parts uploaded).
- Jon
サインインしてコメントを残してください。
コメント
1件のコメント