QtsHttp
0.9.1
|
Interface for Qts Http file station API. More...
Public Member Functions | |
Task< string > | CreateChunkedUploadID (string strUploadTempPath, CancellationTokenSource reqCancellation) |
Create chunked upload ID. Please using try catch mechanism to call this function. More... | |
Task | ChunkedUploadFileByPath (string strUploadFilePath, string strToFilePath, string strRenameOriDestFileName, string strUploadID, string strUploadTempPath, string strMT, Stream streamUpload, object lpData, SyncProgressBtyesCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Chunked upload a file to QNAP Turbo NAS. Please using try catch mechanism to call this function. More... | |
Task | DeleteChunkedUploadFile (string strUploadID, string strUploadTempPath, CancellationTokenSource reqCancellation) |
Delete chunked upload file by upload ID. Please using try catch mechanism to call this function. More... | |
Task< List< FileEntry > > | GetShareFolderList (CancellationTokenSource reqCancellation) |
Get share folder list of QNAP Turbo NAS. Please using try catch mechanism to call this function. More... | |
Task< int > | GetFileListCount (string strPath, CancellationTokenSource reqCancellation) |
Get file list count below specify path. Please using try catch mechanism to call this function. More... | |
Task< List< FileEntry > > | GetFileList (string strPath, int nStartIdx, int nFileLimit, CancellationTokenSource reqCancellation) |
Get file list below specify path. Please using try catch mechanism to call this function. More... | |
Task< ShareLink > | CreateShareLink (ShareLinkInfo ShareLinkInfo, CancellationTokenSource reqCancellation) |
Create share link. Please using try catch mechanism to call this function. More... | |
Task< List< ShareLink > > | GetShareLinkList (int nFileLimit, CancellationTokenSource reqCancellation) |
Get share link list. Please using try catch mechanism to call this function. More... | |
Task | DeleteShareLink (ShareLink ShareLink, CancellationTokenSource reqCancellation) |
Delete share link. Please using try catch mechanism to call this function. More... | |
Task | CreateFolder (FileEntry parentFolderEntry, string strCreateFolderName, CancellationTokenSource reqCancellation) |
Create a folder. Please using try catch mechanism to call this function. More... | |
Task | CopyFile (FileEntry fromEntry, string strToPath, int nMode, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Copy a file/folder from source to destination. Please using try catch mechanism to call this function. More... | |
Task | MoveFile (FileEntry fromEntry, string strToPath, int nMode, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Move a file/folder from source to destination. Please using try catch mechanism to call this function. More... | |
Task | DeleteFile (FileEntry deleteFileEntry, CancellationTokenSource reqCancellation) |
Delete a file/folder in QNAP Turbo NAS. Please using try catch mechanism to call this function. More... | |
Task | CreateFolderByPath (string strCreateFolderPath, string strCreateFolderName, CancellationTokenSource reqCancellation) |
Create a folder by path. Please using try catch mechanism to call this function. More... | |
Task | CopyFileByPath (string strFromPath, string strToPath, int nMode, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Copy a file/folder by path from source to destination. Please using try catch mechanism to call this function. More... | |
Task | MoveFileByPath (string strFromPath, string strToPath, int nMode, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Move a file/folder by path from source to destination. Please using try catch mechanism to call this function. More... | |
Task | DeleteFileByPath (string strDeletePath, CancellationTokenSource reqCancellation) |
Delete a file/folder by path in QNAP Turbo NAS. Please using try catch mechanism to call this function. More... | |
Task< List< FileEntry > > | SearchFile (string strPath, string strQuery, int nFileLimit, CancellationTokenSource reqCancellation) |
File search. Please using try catch mechanism to call this function. More... | |
Task< FileStatus > | GetFileStatus (string strPath, CancellationTokenSource reqCancellation) |
Get file status. Please using try catch mechanism to call this function. More... | |
Task | RenameFile (string strRenamePath, string strNewName, CancellationTokenSource reqCancellation) |
Rename a file/folder in QNAP Turbo NAS. Please using try catch mechanism to call this function. More... | |
Task< FileStatus > | UpdateFileModifyDate (string strUpdateFilePath, long modifyTime, CancellationTokenSource reqCancellation) |
Set folder/file modification time. Please using try catch mechanism to call this function. More... | |
Task | CompressFiles (string strCompressName, string compressFilePath, int totalFileNum, List< FileEntry > fileList, CompressFormatType compressFormat, string strPWD, CompressLevel compressLevel, CompressEncryptType encryptType, CompressUpdateMode updateMode, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Compress files. Please using try catch mechanism to call this function. More... | |
Task< List< ExtractEntry > > | ListContentsOfExtractedFile (string strExtractedFileFullName, int nStartIdx, int nFileLimit, CancellationTokenSource reqCancellation) |
List the contents of an extracted file. Please using try catch mechanism to call this function. More... | |
Task | ExtractFiles (string strExtractedFileFullName, string strToPath, string strPWD, ExtractMode extractMode, int partTotalFileSize, List< string > partExtractfileList, OverWrite overWrite, ExtractPathMode extractPathMode, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Extract files. Please using try catch mechanism to call this function. More... | |
Task< NASInfo > | GetDomainIPList (CancellationTokenSource reqCancellation) |
Get hostname and external IP address of the QNAP Turbo NAS. Please using try catch mechanism to call this function. More... | |
Task | AddVideoTranscode (string strVideoFileFullPath, CancellationTokenSource reqCancellation) |
Add video to transcode queue. Please using try catch mechanism to call this function. More... | |
Task | DeleteVideoTranscode (string strVideoFileFullPath, CancellationTokenSource reqCancellation) |
Delete video transcode file. Please using try catch mechanism to call this function. More... | |
Task< Stream > | DownloadFile (FileEntry downloadFileEntry, string strToFilePath, long lOffset, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Download a file to local. Please using try catch mechanism to call this function. Limitation : Download file name only support English format on Windows Phone. More... | |
Task< Stream > | DownloadFileByPath (string strDownloadFileFullPath, string strToFilePath, long lOffset, object lpData, SyncProgressCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Download a file to local. Please using try catch mechanism to call this function. Limitation : Download file name only support English format on Windows Phone. More... | |
Task | UploadFileByPath (string strUploadFilePath, string strToFilePath, object lpData, Stream streamUpload, SyncProgressBtyesCallback pfHttpFSCallback, CancellationTokenSource reqCancellation) |
Upload a file to QNAP Turbo NAS. Please using try catch mechanism to call this function. Limitation : Cannot upload file size exceed 30MB. More... | |
bool | DestroyRequest (IRequestBase request) |
Destroy file station request after file station API complete. More... | |
string | GetFileURL (string strFileFullPath) |
Get file URL. More... | |
string | GetImgThumbURL (string strFileFullPath) |
Get image thumbnail of file. More... | |
Task< IRequestBase > | GetShareFolderListAsync (object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Get share folder list of QNAP Turbo NAS. More... | |
Task< IRequestBase > | GetFileListCountAsync (string strPath, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Get file list count below specify path. More... | |
Task< IRequestBase > | GetFileListAsync (string strPath, int nStartIdx, int nFileLimit, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Get file list below specify path. More... | |
Task< IRequestBase > | CreateChunkedUploadIDAsync (string strUploadTempPath, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Create chunked upload ID. More... | |
Task< IRequestBase > | ChunkedUploadFileByPathAsync (string strUploadFilePath, string strToFilePath, string strRenameOriDestFileName, string strUploadID, string strUploadTempPath, string strMT, Stream streamUpload, object lpData, AsyncResponseCallback pfHttpFSCallback) |
Chunked upload a file to QNAP Turbo NAS. More... | |
Task< IRequestBase > | DeleteChunkedUploadFileAsync (string strUploadID, string strUploadTempPath, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Delete chunked upload file by upload ID. More... | |
Task< IRequestBase > | CreateShareLinkAsync (ShareLinkInfo ShareLinkInfo, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Create share link. More... | |
Task< IRequestBase > | GetShareLinkListAsync (int nFileLimit, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Get share link list. More... | |
Task< IRequestBase > | DeleteShareLinkAsync (ShareLink ShareLink, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Delete share link. More... | |
Task< IRequestBase > | CreateFolderAsync (FileEntry parentFolderEntry, string strCreateFolderName, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Create a folder. More... | |
Task< IRequestBase > | CopyFileAsync (FileEntry fromEntry, string strToPath, int nMode, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Copy a file/folder from source to destination. More... | |
Task< IRequestBase > | MoveFileAsync (FileEntry fromEntry, string strToPath, int nMode, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Move a file/folder from source to destination. More... | |
Task< IRequestBase > | DeleteFileAsync (FileEntry deleteFileEntry, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Delete a file/folder in QNAP Turbo NAS. More... | |
Task< IRequestBase > | CreateFolderByPathAsync (string strCreateFolderPath, string strCreateFolderName, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Create a folder by path. More... | |
Task< IRequestBase > | CopyFileByPathAsync (string strFromPath, string strToPath, int nMode, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Copy a file/folder by path from source to destination. More... | |
Task< IRequestBase > | MoveFileByPathAsync (string strFromPath, string strToPath, int nMode, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Move a file/folder by path from source to destination. More... | |
Task< IRequestBase > | DeleteFileByPathAsync (string strDeletePath, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Delete a file/folder by path in QNAP Turbo NAS. More... | |
Task< IRequestBase > | SearchFileAsync (string strPath, string strQuery, int nFileLimit, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] File search. More... | |
Task< IRequestBase > | GetFileStatusAsync (string strPath, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Get file status. More... | |
Task< IRequestBase > | RenameFileAsync (string strRenamePath, string strNewName, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Rename a file/folder in QNAP Turbo NAS. More... | |
Task< IRequestBase > | UpdateFileModifyDateAsync (string strUpdateFilePath, long modifyTime, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Set folder/file modification time. More... | |
Task< IRequestBase > | CompressFilesAsync (string strCompressName, string compressFilePath, int totalFileNum, List< FileEntry > fileList, CompressFormatType compressFormat, string strPWD, CompressLevel compressLevel, CompressEncryptType encryptType, CompressUpdateMode updateMode, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Compress files. More... | |
Task< IRequestBase > | ListContentsOfExtractedFileAsync (string strExtractedFileFullName, int nStartIdx, int nFileLimit, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] List the contents of an extracted file. More... | |
Task< IRequestBase > | ExtractFilesAsync (string strExtractedFileFullName, string strToPath, string strPWD, ExtractMode extractMode, int partTotalFileSize, List< string > partExtractfileList, OverWrite overWrite, ExtractPathMode extractPathMode, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Extract files. More... | |
Task< IRequestBase > | GetDomainIPListAsync (object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Get hostname and external IP address of the QNAP Turbo NAS. More... | |
Task< IRequestBase > | AddVideoTranscodeAsync (string strVideoFileFullPath, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Add video to transcode queue. More... | |
Task< IRequestBase > | DeleteVideoTranscodeAsync (string strVideoFileFullPath, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Delete video transcode file. More... | |
Task< IRequestBase > | DownloadFileAsync (FileEntry downloadFileEntry, string strToFilePath, long lOffset, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Download a file to local. Limitation : Download file name only support English format on Windows Phone. More... | |
Task< IRequestBase > | DownloadFileByPathAsync (string strDownloadFileFullPath, string strToFilePath, long lOffset, object lpData, AsyncResponseCallback pfHttpFSCallback) |
Download a file to local. Limitation : Download file name only support English format on Windows Phone. More... | |
Task< IRequestBase > | UploadFileByPathAsync (string strUploadFilePath, string strToFilePath, Stream streamUpload, object lpData, AsyncResponseCallback pfHttpFSCallback) |
[Async] Upload a file by path to QNAP Turbo NAS. Limitation : Cannot upload file size exceed 30MB. More... | |
Interface for Qts Http file station API.
Task QtsHttp.FileStaion.IQtsHttpFileStation.AddVideoTranscode | ( | string | strVideoFileFullPath, |
CancellationTokenSource | reqCancellation | ||
) |
Add video to transcode queue. Please using try catch mechanism to call this function.
[IN] | strVideoFileFullPath : Add video file full path in QNAP Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.AddVideoTranscodeAsync | ( | string | strVideoFileFullPath, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Add video to transcode queue.
[IN] | strVideoFileFullPath : Add video file full path in QNAP Turbo NAS. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.ChunkedUploadFileByPath | ( | string | strUploadFilePath, |
string | strToFilePath, | ||
string | strRenameOriDestFileName, | ||
string | strUploadID, | ||
string | strUploadTempPath, | ||
string | strMT, | ||
Stream | streamUpload, | ||
object | lpData, | ||
SyncProgressBtyesCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Chunked upload a file to QNAP Turbo NAS. Please using try catch mechanism to call this function.
[IN] | strUploadFileFullPath : Local path of chunked upload file. |
[IN] | strToFilePath : Destination path in QNAP Turbo NAS. |
[IN] | strRenameOriDestFileName : Rename original destination file to strRenameOriDestFileName, if file already exist. |
[IN] | strUploadID : Chunked upload ID. Get from CreateChunkedUploadID. |
[IN] | strUploadTempPath : Where to put temp file in QTS Turbo NAS. The same as CreateChunkedUploadID. |
[IN] | reqCancellation : Cancel API. |
[IN] | streamUpload : Upload file stream. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API TotalBytesTransferred status. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.ChunkedUploadFileByPathAsync | ( | string | strUploadFilePath, |
string | strToFilePath, | ||
string | strRenameOriDestFileName, | ||
string | strUploadID, | ||
string | strUploadTempPath, | ||
string | strMT, | ||
Stream | streamUpload, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
Chunked upload a file to QNAP Turbo NAS.
[IN] | strUploadFileFullPath : Local path of chunked upload file. |
[IN] | strToFilePath : Destination path in QNAP Turbo NAS. |
[IN] | strRenameOriDestFileName : Rename original destination file to strRenameOriDestFileName, if file already exist. |
[IN] | strUploadID : Chunked upload ID. Get from CreateChunkedUploadID. |
[IN] | strUploadTempPath : Where to put temp file in QTS Turbo NAS. The same as CreateChunkedUploadID. |
[IN] | reqCancellation : Cancel API. |
[IN] | streamUpload : Upload file stream. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.CompressFiles | ( | string | strCompressName, |
string | compressFilePath, | ||
int | totalFileNum, | ||
List< FileEntry > | fileList, | ||
CompressFormatType | compressFormat, | ||
string | strPWD, | ||
CompressLevel | compressLevel, | ||
CompressEncryptType | encryptType, | ||
CompressUpdateMode | updateMode, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Compress files. Please using try catch mechanism to call this function.
[IN] | strCompressName :Compressed name. |
[IN] | compressFilePath : Compressd file path. |
[IN] | totalFileNum : The amount of compression files number. |
[IN] | compressFileNameList : The compressed file name list. |
[IN] | compressFormat : Compressed format. |
[IN] | strPWD : Compressed password (can be null). |
[IN] | compressLevel : Compressed level. |
[IN] | encryptType : Compressed encrypt type. |
[IN] | updateMode : Compressed update mode. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API progress rate. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.CompressFilesAsync | ( | string | strCompressName, |
string | compressFilePath, | ||
int | totalFileNum, | ||
List< FileEntry > | fileList, | ||
CompressFormatType | compressFormat, | ||
string | strPWD, | ||
CompressLevel | compressLevel, | ||
CompressEncryptType | encryptType, | ||
CompressUpdateMode | updateMode, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Compress files.
[IN] | strCompressName :Compressed name. |
[IN] | compressFilePath : Compressd file path. |
[IN] | totalFileNum : The amount of compression files number. |
[IN] | compressFileNameList : The compressed file name list. |
[IN] | compressFormat : Compressed format. |
[IN] | strPWD : Compressed password (can be null). |
[IN] | compressLevel : Compressed level. |
[IN] | encryptType : Compressed encrypt type. |
[IN] | updateMode : Compressed update mode. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.CopyFile | ( | FileEntry | fromEntry, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Copy a file/folder from source to destination. Please using try catch mechanism to call this function.
[IN] | fromEntry : Source entry in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API progress rate. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.CopyFileAsync | ( | FileEntry | fromEntry, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Copy a file/folder from source to destination.
[IN] | fromEntry : Source entry in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.CopyFileByPath | ( | string | strFromPath, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Copy a file/folder by path from source to destination. Please using try catch mechanism to call this function.
[IN] | strFromPath : Source full path in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API progress rate. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.CopyFileByPathAsync | ( | string | strFromPath, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Copy a file/folder by path from source to destination.
[IN] | strFromPath : Source full path in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<string> QtsHttp.FileStaion.IQtsHttpFileStation.CreateChunkedUploadID | ( | string | strUploadTempPath, |
CancellationTokenSource | reqCancellation | ||
) |
Create chunked upload ID. Please using try catch mechanism to call this function.
[IN] | strUploadTempPath : Where to put temp file in QTS Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.CreateChunkedUploadIDAsync | ( | string | strUploadTempPath, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Create chunked upload ID.
[IN] | strUploadTempPath : Where to put temp file in QTS Turbo NAS. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.CreateFolder | ( | FileEntry | parentFolderEntry, |
string | strCreateFolderName, | ||
CancellationTokenSource | reqCancellation | ||
) |
Create a folder. Please using try catch mechanism to call this function.
[IN] | parentFolderEntry : Create a folder below parentFolderEntry. |
[IN] | strCreateFolderName : Create folder name. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.CreateFolderAsync | ( | FileEntry | parentFolderEntry, |
string | strCreateFolderName, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Create a folder.
[IN] | parentFolderEntry : Create a folder below parentFolderEntry. |
[IN] | strCreateFolderName : Create folder name. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.CreateFolderByPath | ( | string | strCreateFolderPath, |
string | strCreateFolderName, | ||
CancellationTokenSource | reqCancellation | ||
) |
Create a folder by path. Please using try catch mechanism to call this function.
[IN] | strCreateFolderPath : Create a folder at this path. |
[IN] | strCreateFolderName : Create folder name. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.CreateFolderByPathAsync | ( | string | strCreateFolderPath, |
string | strCreateFolderName, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Create a folder by path.
[IN] | strCreateFolderPath : Create a folder at this path. |
[IN] | strCreateFolderName : Create folder name. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<ShareLink> QtsHttp.FileStaion.IQtsHttpFileStation.CreateShareLink | ( | ShareLinkInfo | ShareLinkInfo, |
CancellationTokenSource | reqCancellation | ||
) |
Create share link. Please using try catch mechanism to call this function.
[IN] | ShareLinkInfo : Setting of create share link. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.CreateShareLinkAsync | ( | ShareLinkInfo | ShareLinkInfo, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Create share link.
[IN] | ShareLinkInfo : Setting of create share link. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.DeleteChunkedUploadFile | ( | string | strUploadID, |
string | strUploadTempPath, | ||
CancellationTokenSource | reqCancellation | ||
) |
Delete chunked upload file by upload ID. Please using try catch mechanism to call this function.
[IN] | strUploadID : Chunked upload ID. Get from CreateChunkedUploadID. |
[IN] | strUploadTempPath : Where to put temp file in QTS Turbo NAS. The same as CreateChunkedUploadID. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.DeleteChunkedUploadFileAsync | ( | string | strUploadID, |
string | strUploadTempPath, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Delete chunked upload file by upload ID.
[IN] | strUploadID : Chunked upload ID. Get from CreateChunkedUploadID. |
[IN] | strUploadTempPath : Where to put temp file in QTS Turbo NAS. The same as CreateChunkedUploadID. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.DeleteFile | ( | FileEntry | deleteFileEntry, |
CancellationTokenSource | reqCancellation | ||
) |
Delete a file/folder in QNAP Turbo NAS. Please using try catch mechanism to call this function.
[IN] | deleteFileEntry : Delete entry in QNAP Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.DeleteFileAsync | ( | FileEntry | deleteFileEntry, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Delete a file/folder in QNAP Turbo NAS.
[IN] | deleteFileEntry : Delete entry in QNAP Turbo NAS. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.DeleteFileByPath | ( | string | strDeletePath, |
CancellationTokenSource | reqCancellation | ||
) |
Delete a file/folder by path in QNAP Turbo NAS. Please using try catch mechanism to call this function.
[IN] | strDeletePath : Delete full path in QNAP Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.DeleteFileByPathAsync | ( | string | strDeletePath, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Delete a file/folder by path in QNAP Turbo NAS.
[IN] | strDeletePath : Delete full path in QNAP Turbo NAS. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.DeleteShareLink | ( | ShareLink | ShareLink, |
CancellationTokenSource | reqCancellation | ||
) |
Delete share link. Please using try catch mechanism to call this function.
[IN] | ShareLink : Share link on QNAP Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.DeleteShareLinkAsync | ( | ShareLink | ShareLink, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Delete share link.
[IN] | ShareLink : Share link on QNAP Turbo NAS. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.DeleteVideoTranscode | ( | string | strVideoFileFullPath, |
CancellationTokenSource | reqCancellation | ||
) |
Delete video transcode file. Please using try catch mechanism to call this function.
[IN] | strVideoFileFullPath : Delete video file full path in QNAP Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.DeleteVideoTranscodeAsync | ( | string | strVideoFileFullPath, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Delete video transcode file.
[IN] | strVideoFileFullPath : Delete video file full path in QNAP Turbo NAS. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
bool QtsHttp.FileStaion.IQtsHttpFileStation.DestroyRequest | ( | IRequestBase | request | ) |
Destroy file station request after file station API complete.
[IN] | request : File station request. |
Task<Stream> QtsHttp.FileStaion.IQtsHttpFileStation.DownloadFile | ( | FileEntry | downloadFileEntry, |
string | strToFilePath, | ||
long | lOffset, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Download a file to local. Please using try catch mechanism to call this function. Limitation : Download file name only support English format on Windows Phone.
[IN] | downloadFileEntry : Download file entry in QNAP Turbo NAS. |
[IN] | strToFilePath : Destination path in local. |
[IN] | llOffset : Resume download from offset. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API TotalBytesTransferred status. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.DownloadFileAsync | ( | FileEntry | downloadFileEntry, |
string | strToFilePath, | ||
long | lOffset, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Download a file to local. Limitation : Download file name only support English format on Windows Phone.
[IN] | downloadFileEntry : Download file entry in QNAP Turbo NAS. |
[IN] | strToFilePath : Destination path in local. |
[IN] | lOffset : Resume download from offset. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<Stream> QtsHttp.FileStaion.IQtsHttpFileStation.DownloadFileByPath | ( | string | strDownloadFileFullPath, |
string | strToFilePath, | ||
long | lOffset, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Download a file to local. Please using try catch mechanism to call this function. Limitation : Download file name only support English format on Windows Phone.
[IN] | strDownloadFileFullPath : Download file full path in QNAP Turbo NAS. |
[IN] | strToFilePath : Destination path in local. |
[IN] | lOffset : Resume download from offset. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API TotalBytesTransferred status. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.DownloadFileByPathAsync | ( | string | strDownloadFileFullPath, |
string | strToFilePath, | ||
long | lOffset, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
Download a file to local. Limitation : Download file name only support English format on Windows Phone.
[IN] | strDownloadFileFullPath : Download file full path in QNAP Turbo NAS. |
[IN] | strToFilePath : Destination path in local. |
[IN] | lOffset : Resume download from offset. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.ExtractFiles | ( | string | strExtractedFileFullName, |
string | strToPath, | ||
string | strPWD, | ||
ExtractMode | extractMode, | ||
int | partTotalFileSize, | ||
List< string > | partExtractfileList, | ||
OverWrite | overWrite, | ||
ExtractPathMode | extractPathMode, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Extract files. Please using try catch mechanism to call this function.
[IN] | strExtractedFileFullName : Extracted file full path in QTS Turbo NAS. |
[IN] | strToPath : Path of the extracted files. |
[IN] | strPWD : Extraction password (can be null). |
[IN] | extractMode : Extraction mode. |
[IN] | partTotalFileSize : The total number of extracted files, if extractMode = QTS_EXTRACT_MODE_PART. |
[IN] | partExtractfileNameList : Name of the file to be extracted (can be more than one), if extractMode = QTSExtractMode.Part. |
[IN] | overWrite : Skip / Overwrite. |
[IN] | extractPathMode : Extracted path mode. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API progress rate. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.ExtractFilesAsync | ( | string | strExtractedFileFullName, |
string | strToPath, | ||
string | strPWD, | ||
ExtractMode | extractMode, | ||
int | partTotalFileSize, | ||
List< string > | partExtractfileList, | ||
OverWrite | overWrite, | ||
ExtractPathMode | extractPathMode, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Extract files.
[IN] | strExtractedFileFullName : Extracted file full path in QTS Turbo NAS. |
[IN] | strToPath : Path of the extracted files. |
[IN] | strPWD : Extraction password (can be null). |
[IN] | extractMode : Extraction mode. |
[IN] | partTotalFileSize : The total number of extracted files, if extractMode = QTS_EXTRACT_MODE_PART. |
[IN] | partExtractfileNameList : Name of the file to be extracted (can be more than one), if extractMode = QTS_EXTRACT_MODE_PART. |
[IN] | overWrite : Skip / Overwrite. |
[IN] | extractPathMode : Extracted path mode. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<NASInfo> QtsHttp.FileStaion.IQtsHttpFileStation.GetDomainIPList | ( | CancellationTokenSource | reqCancellation | ) |
Get hostname and external IP address of the QNAP Turbo NAS. Please using try catch mechanism to call this function.
[IN] | reqCancellation : Cancel API. |
[OUT] | NASInfo : Output hostname and external IP address. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.GetDomainIPListAsync | ( | object | lpData, |
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Get hostname and external IP address of the QNAP Turbo NAS.
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<List<FileEntry> > QtsHttp.FileStaion.IQtsHttpFileStation.GetFileList | ( | string | strPath, |
int | nStartIdx, | ||
int | nFileLimit, | ||
CancellationTokenSource | reqCancellation | ||
) |
Get file list below specify path. Please using try catch mechanism to call this function.
[IN] | strPath : Specify folder path. |
[IN] | nStartIdx : Start index of get files. |
[IN] | nFileLimit : Number of get files. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.GetFileListAsync | ( | string | strPath, |
int | nStartIdx, | ||
int | nFileLimit, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Get file list below specify path.
[IN] | strPath : Specify folder path. |
[IN] | nStartIdx : Start index of get files. |
[IN] | nFileLimit : Number of get files. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<int> QtsHttp.FileStaion.IQtsHttpFileStation.GetFileListCount | ( | string | strPath, |
CancellationTokenSource | reqCancellation | ||
) |
Get file list count below specify path. Please using try catch mechanism to call this function.
[IN] | strPath : Specify folder path. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.GetFileListCountAsync | ( | string | strPath, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Get file list count below specify path.
[IN] | strPath : Specify folder path. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<FileStatus> QtsHttp.FileStaion.IQtsHttpFileStation.GetFileStatus | ( | string | strPath, |
CancellationTokenSource | reqCancellation | ||
) |
Get file status. Please using try catch mechanism to call this function.
[IN] | strPath :File full path in QNAP Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.GetFileStatusAsync | ( | string | strPath, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Get file status.
[IN] | strPath :File full path in QNAP Turbo NAS. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
string QtsHttp.FileStaion.IQtsHttpFileStation.GetFileURL | ( | string | strFileFullPath | ) |
Get file URL.
[IN] | strFileFullPath : File full path. |
string QtsHttp.FileStaion.IQtsHttpFileStation.GetImgThumbURL | ( | string | strFileFullPath | ) |
Get image thumbnail of file.
[IN] | strFileFullPath : File full path. |
Task<List<FileEntry> > QtsHttp.FileStaion.IQtsHttpFileStation.GetShareFolderList | ( | CancellationTokenSource | reqCancellation | ) |
Get share folder list of QNAP Turbo NAS. Please using try catch mechanism to call this function.
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.GetShareFolderListAsync | ( | object | lpData, |
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Get share folder list of QNAP Turbo NAS.
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<List<ShareLink> > QtsHttp.FileStaion.IQtsHttpFileStation.GetShareLinkList | ( | int | nFileLimit, |
CancellationTokenSource | reqCancellation | ||
) |
Get share link list. Please using try catch mechanism to call this function.
[IN] | nFileLimit : Number of share link list. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.GetShareLinkListAsync | ( | int | nFileLimit, |
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Get share link list.
[IN] | nFileLimit : Number of share link list. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<List<ExtractEntry> > QtsHttp.FileStaion.IQtsHttpFileStation.ListContentsOfExtractedFile | ( | string | strExtractedFileFullName, |
int | nStartIdx, | ||
int | nFileLimit, | ||
CancellationTokenSource | reqCancellation | ||
) |
List the contents of an extracted file. Please using try catch mechanism to call this function.
[IN] | strExtractedFileFullName : Extracted file full path in QTS Turbo NAS. |
[IN] | nStartIdx : Response files start index. |
[IN] | nFileLimit : Number of response files. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.ListContentsOfExtractedFileAsync | ( | string | strExtractedFileFullName, |
int | nStartIdx, | ||
int | nFileLimit, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] List the contents of an extracted file.
[IN] | strExtractedFileFullName : Extracted file full path in QTS Turbo NAS. |
[IN] | nStartIdx : Response files start index. |
[IN] | nFileLimit : Number of response files. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.MoveFile | ( | FileEntry | fromEntry, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Move a file/folder from source to destination. Please using try catch mechanism to call this function.
[IN] | fromEntry : Source entry in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API progress rate. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.MoveFileAsync | ( | FileEntry | fromEntry, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Move a file/folder from source to destination.
[IN] | fromEntry : Source entry in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.MoveFileByPath | ( | string | strFromPath, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
SyncProgressCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Move a file/folder by path from source to destination. Please using try catch mechanism to call this function.
[IN] | strFromPath : Source full path in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : Callback function for notify API progress rate. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.MoveFileByPathAsync | ( | string | strFromPath, |
string | strToPath, | ||
int | nMode, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Move a file/folder by path from source to destination.
[IN] | strFromPath : Source full path in QNAP Turbo NAS. |
[IN] | strToPath : Destination path in QNAP Turbo NAS. |
[IN] | nMode : Skip / Overwrite. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.RenameFile | ( | string | strRenamePath, |
string | strNewName, | ||
CancellationTokenSource | reqCancellation | ||
) |
Rename a file/folder in QNAP Turbo NAS. Please using try catch mechanism to call this function.
[IN] | strRenamePath : Rename full path in QNAP Turbo NAS. |
[IN] | strNewName : New folder/file name. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.RenameFileAsync | ( | string | strRenamePath, |
string | strNewName, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Rename a file/folder in QNAP Turbo NAS.
[IN] | strRenamePath : Rename full path in QNAP Turbo NAS. |
[IN] | strNewName : New folder/file name. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<List<FileEntry> > QtsHttp.FileStaion.IQtsHttpFileStation.SearchFile | ( | string | strPath, |
string | strQuery, | ||
int | nFileLimit, | ||
CancellationTokenSource | reqCancellation | ||
) |
File search. Please using try catch mechanism to call this function.
[IN] | strPath :Search file path in QNAP Turbo NAS. |
[IN] | strQuery : Query keyword. |
[IN] | nFileLimit : Number of response file list. |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.SearchFileAsync | ( | string | strPath, |
string | strQuery, | ||
int | nFileLimit, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] File search.
[IN] | strPath :Search file path in QNAP Turbo NAS. |
[IN] | strQuery : Query keyword. |
[IN] | nFileLimit : Number of response file list. |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task<FileStatus> QtsHttp.FileStaion.IQtsHttpFileStation.UpdateFileModifyDate | ( | string | strUpdateFilePath, |
long | modifyTime, | ||
CancellationTokenSource | reqCancellation | ||
) |
Set folder/file modification time. Please using try catch mechanism to call this function.
[IN] | strUpdateFilePath : Update file full path in QNAP Turbo NAS. |
[IN] | modifyTime : Epoch time (seconds since 1970-01-01 00:00:00 UTC). |
[IN] | reqCancellation : Cancel API. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.UpdateFileModifyDateAsync | ( | string | strUpdateFilePath, |
long | modifyTime, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Set folder/file modification time.
[IN] | strUpdateFilePath : Update file full path in QNAP Turbo NAS. |
[IN] | modifyTime : Epoch time (seconds since 1970-01-01 00:00:00 UTC). |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |
Task QtsHttp.FileStaion.IQtsHttpFileStation.UploadFileByPath | ( | string | strUploadFilePath, |
string | strToFilePath, | ||
object | lpData, | ||
Stream | streamUpload, | ||
SyncProgressBtyesCallback | pfHttpFSCallback, | ||
CancellationTokenSource | reqCancellation | ||
) |
Upload a file to QNAP Turbo NAS. Please using try catch mechanism to call this function. Limitation : Cannot upload file size exceed 30MB.
[IN] | strUploadFileFullPath : Local path of upload file. |
[IN] | strToFilePath : Destination path in QNAP Turbo NAS. |
[IN] | reqCancellation : Cancel API. |
[IN] | lpData : Callback function owner. |
[IN] | streamUpload : Upload stream. |
[IN] | pfHttpFSCallback : Callback function for notify API TotalBytesTransferred status. |
Task<IRequestBase> QtsHttp.FileStaion.IQtsHttpFileStation.UploadFileByPathAsync | ( | string | strUploadFilePath, |
string | strToFilePath, | ||
Stream | streamUpload, | ||
object | lpData, | ||
AsyncResponseCallback | pfHttpFSCallback | ||
) |
[Async] Upload a file by path to QNAP Turbo NAS. Limitation : Cannot upload file size exceed 30MB.
[IN] | strUploadFileFullPath : Local path of upload file. |
[IN] | strToFilePath : Destination path in QNAP Turbo NAS. |
[IN] | streamUpload : Upload file stream |
[IN] | lpData : Callback function owner. |
[IN] | pfHttpFSCallback : File station async callback function. |