Discuss this help topic in SecureBlackbox Forum
Uploads files to the storage.
Declaration
Parameters
- Data - the data to be uploaded.
- Handler - the security handler used to perform the operation.
- Obj - the storage object where the data should be uploaded.
- Overwrite - if True (default), the existing file will be overwritten; if False, the uploaded file will be automatically renamed, e.g., "test.txt" might be automatically renamed to "test (1).txt".
- ParentRev - specifies the revision of the file being edited. If ParentRev matches the latest revision, the file will be replaced, and if not, the uploaded file will be automatically renamed, e.g., "test.txt" might be automatically renamed to "test (conflicted copy).txt". If the ParentRev doesn't exist, the file won't be saved, and error 400 will be returned.
- Path - the path to the file being edited.
- Strm - ...
Description
Call this method to upload (edit) files to the storage.
Depending on the file size and ChunkedUploadThreshold,
the files_put or chunked_upload methods will be used automatically.
Discuss this help topic in SecureBlackbox Forum