我正在使用Gold Raccoon将一些图像上传到FTP服务器
当我执行此功能时,我似乎无法更改名称,如果我放置任何其他不是文字的内容,图像将无法上传,是否有任何方法可以保留FileName作为变量?
-(void)UploadImage:(NSString *)BDPath :(NSString*)Filename{
[self _setupManager];
[self.requestsManager addRequestForUploadFileAtLocalPath:BDPath toRemotePath:[NSString stringWithFormat:@"%@",Filename]];
[self.requestsManager startProcessingRequests];
}
答案 0 :(得分:0)
刚刚解决了它
-(void)UploadImage:(NSString *)BDPath :(NSString*)Filename{
[self _setupManager];
[self.requestsManager addRequestForUploadFileAtLocalPath:BDPath toRemotePath:Filename];
[self.requestsManager startProcessingRequests];
}