Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 无法使用Gold Raccoon IO7更改文件名_Objective C_Ios7_Ftp_Uiimage - Fatal编程技术网

Objective c 无法使用Gold Raccoon IO7更改文件名

Objective c 无法使用Gold Raccoon IO7更改文件名,objective-c,ios7,ftp,uiimage,Objective C,Ios7,Ftp,Uiimage,Im用于将一些图像上载到FTP服务器 当我执行此函数时,我似乎无法更改名称,如果我放入任何其他非文字的内容,图像将不会上载,是否有任何方法可以将文件名保留为变量 -(void)UploadImage:(NSString *)BDPath :(NSString*)Filename{ [self _setupManager]; [self.requestsManager addRequestForUploadFileAtLocalPath:BDPath toRemotePath:[NSString

Im用于将一些图像上载到FTP服务器

当我执行此函数时,我似乎无法更改名称,如果我放入任何其他非文字的内容,图像将不会上载,是否有任何方法可以将文件名保留为变量

-(void)UploadImage:(NSString *)BDPath :(NSString*)Filename{
[self _setupManager];
[self.requestsManager addRequestForUploadFileAtLocalPath:BDPath toRemotePath:[NSString stringWithFormat:@"%@",Filename]];
[self.requestsManager startProcessingRequests];
}
刚刚解决了

-(void)UploadImage:(NSString *)BDPath :(NSString*)Filename{
[self _setupManager];
[self.requestsManager addRequestForUploadFileAtLocalPath:BDPath toRemotePath:Filename];
[self.requestsManager startProcessingRequests];
}