-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUtil.h
22 lines (19 loc) · 849 Bytes
/
Util.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
// Util.h
// VitaGameManager
//
// Created by Hex Pang on 16/9/3.
// Copyright © 2016年 HexPang. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "LxFTPRequest.h"
@interface Util : NSObject
typedef void (^UploadProgress)(int code,float progress,NSObject *message);
+(instancetype) shareInstance ;
- (NSDictionary *) loadConfig;
- (NSURL *) getCacheFolder:(NSString *)name;
- (LxFTPRequest *) UploadWithFTP:(NSString *)localFile withName:(NSString *)name withProgress:(UploadProgress) uProgress;
- (LxFTPRequest *) ListWithFTP:(NSString *)path withProgress:(UploadProgress) uProgress;
- (BOOL) UploadFolderWithFTP:(NSString *)folder toPath:(NSString *)toPath withProgress:(UploadProgress)progress;
- (void) CreateFolderBeforeUpload:(NSString *)folder toPath:(NSString *)toPath withProgress:(UploadProgress)progress;
@end