//
// UploadDelegate.h
// iPhoneFTP
//
// Created by Zhou Weikuan on 10-6-15.
// Copyright 2010 sino. All rights reserved.
//
#import <Foundation/Foundation.h>
enum {
kUploadBufferSize = 8000,
};
@interface UploadDelegate : NSObject {
NSString * userName;
NSString * passWord;
NSString * serverPath;
uint64_t serverSize;
NSString * localPath;
NSString * fileName;
uint64_t localSize;
uint64_t bufferOffset;
uint64_t bufferLimit;
uint8_t _buffer[kUploadBufferSize];
CFWriteStreamRef ftpStream;
NSInputStream * fileStream;
NSString * strStatus;
CFRunLoopRef runLoop;
}
- (uint8_t *)buffer;
- initWithLocalPath:(NSString *)localStr withServer:(NSString*)serverStr withName:(NSString*)theName withPass:(NSString*)thePass;
- initWithLocalPath:(NSString *)localStr withServer:(NSString*)serverStr;
- (void)parseLocalPath:(NSString*)localStr withServer:(NSString*)serverStr;
- (void)start;
- (void)threadMain:(id)arg;
- (void)resume;
- (void)resumeRead;
- (void)stopWithStatus:(NSString *)statusString;
// - (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)eventCode;
@property (nonatomic, retain) NSString * serverPath;
@property (nonatomic, retain) NSString * userName;
@property (nonatomic, retain) NSString * passWord;
@property (nonatomic, retain) NSString * localPath;
@property (nonatomic, retain) NSString * fileName;
@property (nonatomic, assign) CFWriteStreamRef ftpStream;
@property (nonatomic, retain) NSInputStream * fileStream;
@property (nonatomic, retain) NSString * strStatus;
@property (nonatomic, assign) uint64_t serverSize;
@property (nonatomic, assign) uint64_t localSize;
@property (nonatomic, assign) uint64_t bufferOffset;
@property (nonatomic, assign) uint64_t bufferLimit;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
iphoneftp.orig (2).zip (33个子文件)
iPhoneFTP
UploadDelegate.m 13KB
main.m 346B
FileInfo.h 382B
iPhoneFTP.xcodeproj
zhouweikuan.mode1v3 41KB
zhouweikuan.pbxuser 20KB
project.pbxproj 19KB
build
misc.mm 1KB
Classes
AppDelegate.h 753B
iPhoneFTPAppDelegate.h 724B
FileListController.h 221B
PutController.m 11KB
CreateDirController.m 10KB
AppDelegate.m 9KB
ListController.m 18KB
FileListController.m 2KB
TaskList.m 5KB
NewTaskController.h 842B
iPhoneFTPAppDelegate.m 3KB
GetController.m 9KB
TaskList.h 390B
NewTaskController.m 2KB
ListController.h 1KB
PutController.h 1KB
CreateDirController.h 1KB
GetController.h 1KB
FileInfo.m 2KB
iPhoneFTP-Info.plist 869B
iPhoneFTP_Prefix.pch 187B
MainWindow.xib 46KB
DownloadDelegate.h 2KB
DownloadDelegate.m 11KB
UploadDelegate.h 2KB
misc.h 198B
共 33 条
- 1
Night-Wish
- 粉丝: 236
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C#的Winform通过GDI+以及Datatable绘制基于CSV文件的风羽图
- 三菱PLC例程源码定型机超喂
- 3LN01C-TB-H-VB一款N-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- 13章Go微服务精讲:Go-Zero全流程实战即时通讯
- 3J14-VB一款P-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- 三菱PLC例程源码定时关闭所有的输出点定时停机365按x0复位
- 前端开发中国地图资源China.json
- 真实光伏电站数据集免费下载
- 3B14-VB一款N-Channel沟道SOT23的MOSFET晶体管参数介绍与应用说明
- 三菱PLC例程源码定时程序,程序带注解!!
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页