I don't know if this is relevant, but it seems like the MEGA API "DOES" support modtimes.
Please let me know if this is relevant to this issue.
Thanks
K. Carter
◆ startUpload() [2/6]
Upload a file or a folder with a custom modification time.
If the status of the business account is expired, onTransferFinish will be called with the error code MegaError::API_EBUSINESSPASTDUE. In this case, apps should show a warning message similar to "Your business account is overdue, please contact your administrator."
Parameters
localPath |
Local path of the file |
parent |
Parent node for the file in the MEGA account |
mtime |
Custom modification time for the file in MEGA (in seconds since the epoch) |
listener |
MegaTransferListener to track this transfer |
Note
The custom modification time will be only applied for file transfers. If a folder is transferred using this function, the custom modification time won't have any effect,
◆ startUpload() [3/6]
void mega::MegaApi::startUpload |
( |
const char * |
localPath , |
|
|
MegaNode * |
parent , |
|
|
int64_t |
mtime , |
|
|
bool |
isSourceTemporary , |
|
|
MegaTransferListener * |
listener = NULL
|
|
) |
|
|
Upload a file or a folder with a custom modification time.
If the status of the business account is expired, onTransferFinish will be called with the error code MegaError::API_EBUSINESSPASTDUE. In this case, apps should show a warning message similar to "Your business account is overdue, please contact your administrator."
Parameters
localPath |
Local path of the file |
parent |
Parent node for the file in the MEGA account |
mtime |
Custom modification time for the file in MEGA (in seconds since the epoch) |
isSourceTemporary |
Pass the ownership of the file to the SDK, that will DELETE it when the upload finishes. This parameter is intended to automatically delete temporary files that are only created to be uploaded. |
listener |
MegaTransferListener to track this transfer |
◆ startUpload() [4/6]
void mega::MegaApi::startUpload |
( |
const char * |
localPath , |
|
|
MegaNode * |
parent , |
|
|
const char * |
fileName , |
|
|
MegaTransferListener * |
listener = NULL
|
|
) |
|
|
Upload a file or folder with a custom name.
If the status of the business account is expired, onTransferFinish will be called with the error code MegaError::API_EBUSINESSPASTDUE. In this case, apps should show a warning message similar to "Your business account is overdue, please contact your administrator."
Parameters
localPath |
Local path of the file or folder |
parent |
Parent node for the file or folder in the MEGA account |
fileName |
Custom file name for the file or folder in MEGA |
listener |
MegaTransferListener to track this transfer |
◆ startUpload() [5/6]
void mega::MegaApi::startUpload |
( |
const char * |
localPath , |
|
|
MegaNode * |
parent , |
|
|
const char * |
fileName , |
|
|
int64_t |
mtime , |
|
|
MegaTransferListener * |
listener = NULL
|
|
) |
|
|
Upload a file or a folder with a custom name and a custom modification time.
If the status of the business account is expired, onTransferFinish will be called with the error code MegaError::API_EBUSINESSPASTDUE. In this case, apps should show a warning message similar to "Your business account is overdue, please contact your administrator."
Parameters
localPath |
Local path of the file |
parent |
Parent node for the file in the MEGA account |
fileName |
Custom file name for the file in MEGA |
mtime |
Custom modification time for the file in MEGA (in seconds since the epoch) |
listener |
MegaTransferListener to track this transfer |
The custom modification time will be only applied for file transfers. If a folder is transferred using this function, the custom modification time won't have any effect
◆ startUpload() [6/6]
void mega::MegaApi::startUpload |
( |
const char * |
localPath , |
|
|
MegaNode * |
parent , |
|
|
const char * |
appData , |
|
|
const char * |
fileName , |
|
|
int64_t |
mtime , |
|
|
MegaTransferListener * |
listener = NULL
|
|
) |
|
|
Upload a file or a folder with a custom name and a custom modification time.
If the status of the business account is expired, onTransferFinish will be called with the error code MegaError::API_EBUSINESSPASTDUE. In this case, apps should show a warning message similar to "Your business account is overdue, please contact your administrator."
Parameters
localPath |
Local path of the file |
parent |
Parent node for the file in the MEGA account |
appData |
Custom app data to save in the MegaTransfer object The data in this parameter can be accessed using MegaTransfer::getAppData in callbacks related to the transfer. If a transfer is started with exactly the same data (local path and target parent) as another one in the transfer queue, the new transfer fails with the error API_EEXISTS and the appData of the new transfer is appended to the appData of the old transfer, using a '!' separator if the old transfer had already appData. |
fileName |
Custom file name for the file in MEGA |
mtime |
Custom modification time for the file in MEGA (in seconds since the epoch) |
listener |
MegaTransferListener to track this transfer |
The custom modification time will be only applied for file transfers. If a folder is transferred using this function, the custom modification time won't have any effect