FTP Directory name with spaces not accessible in iOS programmatically

180 Views Asked by At

I have to access the folder name with spaces, but I am getting 550 error which means file does not exist.

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/

But after that, as there is space in directory name (in bold), it is not accessible.

1

There are 1 best solutions below

3
On BEST ANSWER

Replace the spaces with below and try again

%20