upload
Send a packet of given data from the specified offset to the device (asynchronous).
The chunk size is limited by the current MTU. If the current MTU set by setUploadMtu is too large, the InsufficientMtuException error will be thrown. Use getMtu to get the current MTU and pass it to setUploadMtu and try again.
Use fileUpload to upload the whole file asynchronously using one command.
Parameters
the file name.
the file data.
the offset, from which the chunk will be sent.
the asynchronous callback.
See also
Send a packet of given data from the specified offset to the device (synchronous).
The chunk size is limited by the current MTU. If the current MTU set by setUploadMtu is too large, the InsufficientMtuException error will be thrown. Use getMtu to get the current MTU and pass it to setUploadMtu and try again.
Use fileUpload to upload the whole file asynchronously using one command.
Return
The upload response.
Parameters
the file name.
the file data.
the offset, from which the chunk will be sent.
See also
Deprecated
Use fileUpload instead.
Begin a file upload.
Only one upload can occur per FsManager.
Parameters
the file name.
the file data to upload.
the file upload callback.