简体   繁体   English

FTP目录名称,无法在iOS中以编程方式访问空格

[英]FTP Directory name with spaces not accessible in iOS programmatically

I have to access the folder name with spaces, but I am getting 550 error which means file does not exist. 我必须使用空格访问文件夹名称,但我收到550错误,这意味着文件不存在。

ftp://192.xxx.xx.x/C/xxx/xxxx/ xxx xxx xxx /5mb.jpg ftp://192.xxx.xx.x/C/xxx/xxxx/ xxx xxx xxx /5mb.jpg

I can access directories upto this path ftp://192.xxx.xx.x/C/xxx/xxxx/ 我可以访问此路径上的目录ftp://192.xxx.xx.x/C/xxx/xxxx/

But after that, as there is space in directory name (in bold), it is not accessible. 但之后,由于目录名称中有空格(以粗体显示),因此无法访问。

用下面的空格替换,然后重试

%20

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM