9 #import <Foundation/Foundation.h>
99 @property (assign) BOOL isDir;
100 @property (assign)
long long size;
101 @property (strong) NSString* path;
102 @property (strong) NSString* name;
119 -(id) initWithPath:(NSString*)path name:(NSString*)name size:(
long long)size isDir:(BOOL)isDir;
130 @property (strong) NSString* shareFilePath;
131 @property (strong) NSString* password;
132 @property (strong) NSString* dateTime;
133 @property (assign) BOOL useSSL;
150 -(id) initWithFilePath:(NSString*)filePath password:(NSString*)password datetime:(NSString*)dateTime useSSL:(BOOL)useSSL;
166 @property (assign) BOOL isDir;
167 @property (assign) BOOL isCompressed;
168 @property (assign)
long long size;
169 @property (strong) NSString* folderPermission;
170 @property (strong) NSString* path;
171 @property (strong) NSString* name;
172 @property (strong) NSString* group;
173 @property (strong) NSString* owner;
174 @property (strong) NSString* mt;
201 -(id) initWithPath:(NSString*)path name:(NSString*)name isDir:(BOOL)isDir
202 isCompressed:(BOOL)isCompressed size:(
long long)size folderPermission:(NSString*)folderPermission group:(NSString*)group owner:(NSString*)owner mt:(NSString*)mt;
212 @property (strong) NSString* fileName;
213 @property (strong) NSString* expireTime;
214 @property (strong) NSString* url;
229 -(id) initWithFileName:(NSString*)_filename expireTime:(NSString*)_expireTime url:(NSString*)_url;
241 @property (assign) BOOL isDir;
242 @property (assign)
long long size;
243 @property (assign)
long long compressSize;
244 @property (strong) NSString* modifyTime;
245 @property (strong) NSString* fileName;
272 -(id) initWithMyCloudNasName:(NSString*)strMyCloudNasNamw nasExternalIP:(NSString*)strNasExternalIP nasLocalIP:(NSString*)strNasLocalIP nasHostIP:(NSString*)strNasHostIP;
279 @property (strong,nonatomic) NSString *
name;
314 -(void) getShareFolderListWithCommunicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
338 -(void) getFileListCountWithPath:(NSString*)path communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
366 -(void) getFileListWithPath:(NSString*)path indexFrom:(
int)startIdx fileLimit:(
int)fileLimit communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
390 -(void) uploadFileWithPath:(NSString*)fromFilePath toPath:(NSString*)toFilePath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfUploading,
unsigned long long bytesOfUploading))block;
416 -(void) downloadFile:(
QNQtsHttpFileEntry*)fileEntry toPath:(NSString*)toFilePath offset:(
long)offset communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfDownloading,
unsigned long long bytesOfDownloading))block;
442 -(void) downloadFileWithPath:(NSString*)path toPath:(NSString*)toFilePath offset:(
long)offset communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfDownloading,
unsigned long long bytesOfDownloadloading))block;
484 -(void) getShareLinkListWithFileLimit:(
int)fileLimit communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
552 -(void) copyFile:(
QNQtsHttpFileEntry*)fileEntry toPath:(NSString*)toPath mode:(
int)mode communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfCopy))block;
578 -(void) moveFile:(
QNQtsHttpFileEntry*)fileEntry toPath:(NSString*)toPath mode:(
int)mode communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfMove))block;
620 -(void) createFolderWithPath:(NSString*)folderPath name:(NSString*)folderName communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
646 -(void) copyFileWithPath:(NSString*)fromPath toPath:(NSString*)toPath mode:(
int)mode communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfCopy))block;
672 -(void) moveFileWithPath:(NSString*)fromPath toPath:(NSString*)toPath mode:(
int)mode communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfMove))block;
692 -(void) deleteFileWithPath:(NSString*)filePath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
718 -(void) searchFileWithKeyword:(NSString*)keyword rootFolder:(NSString*)folderPath fileLimit:(
int)fileLimit communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
739 -(void) getFileStatusWithPath:(NSString*)filePath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
760 -(void) createChunkedUploadIdWithPath:(NSString*)uploadTempPath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
790 -(void) chunkedUploadFileWithPath:(NSString*)uploadFilePath toPath:(NSString*)toFilePath fileName:(NSString*)renameOriDestFileName uploadID:(NSString*)uploadID uploadTempPath:(NSString*)uploadTempPath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail progress:(
void(^)(
int rateOfUploading,
unsigned long long bytesOfUploading))block;
812 -(void) deleteChunkedUploadFileWithId:(NSString*)uploadID uploadTempPath:(NSString*)uploadTempPath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
834 -(void) renameFileWithPath:(NSString*)filePath fileName:(NSString*)newName communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
856 -(void) updateFileModifyDateWithFilePath:(NSString*)filePath modifyTime:(
long)modifyTime communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
917 -(void) ListContentsOfExtractedFilePath:(NSString*)filePath start:(
int)startIdx limit:(
int)fileLimit communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
970 -(void) getDomainIPListWithCommunicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
990 -(void) addVideoTranscodeWithFilePath:(NSString*)filePath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
1010 -(void) deleteVideoTranscodeWithFilePath:(NSString*)filePath communicationMode:(BOOL)isAsync cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
1031 -(void) getFileURLWithFilePath:(NSString*)fileFullPath cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
1051 -(void) getImgThumbURLWithFilePath:(NSString*)fileFullPath cancel:(
int*)isCancel success:(
void(^)(
QTS_RESPONSE_CTX* response))success fail:(
void(^)(
QTS_HTTP_API_RESULTS error))fail;
NSString * folderPermission
enum _QTS_HTTP_FILE_STATION_API_VERSION_ QTS_HTTP_FILE_STATION_API_VERSION
_QTS_HTTP_FILE_STATION_EXTRACT_MODE_
enum _QTS_HTTP_FILE_STATION_COMPRESS_ENCRYPT_TYPE_ QTS_HTTP_FILE_STATION_COMPRESS_ENCRYPT_TYPE
NSString * myCloudNasName
_QTS_HTTP_FILE_STATION_COMPRESS_UPDATE_MODE_
Interface for Qts Http file station API.
_QTS_HTTP_FILE_STATION_COMPRESS_FORMAT_TYPE_
_QTS_HTTP_FILE_STATION_EXTRACT_PATH_MODE_
_QTS_HTTP_FILE_STATION_OVERWRITE_
enum _QTS_HTTP_API_RESULTS_ QTS_HTTP_API_RESULTS
enum _QTS_HTTP_FILE_STATION_EXTRACT_MODE_ QTS_HTTP_FILE_STATION_EXTRACT_MODE
enum _QTS_HTTP_FILE_STATION_COMPRESS_FORMAT_TYPE_ QTS_HTTP_FILE_STATION_COMPRESS_FORMAT_TYPE
_QTS_HTTP_FILE_STATION_COMPRESS_LEVEL_
_QTS_HTTP_FILE_STATION_API_VERSION_
_QTS_HTTP_FILE_STATION_COMPRESS_ENCRYPT_TYPE_
enum _QTS_HTTP_FILE_STATION_COMPRESS_UPDATE_MODE_ QTS_HTTP_FILE_STATION_COMPRESS_UPDATE_MODE
enum _QTS_HTTP_FILE_STATION_COMPRESS_LEVEL_ QTS_HTTP_FILE_STATION_COMPRESS_LEVEL
enum _QTS_HTTP_FILE_STATION_EXTRACT_PATH_MODE_ QTS_HTTP_FILE_STATION_EXTRACT_PATH_MODE
enum _QTS_HTTP_FILE_STATION_OVERWRITE_ QTS_HTTP_FILE_STATION_OVERWRITE