FileProvider icon indicating copy to clipboard operation
FileProvider copied to clipboard

FTP listing 550 error path

Open matt-matt1 opened this issue 5 years ago • 0 comments
trafficstars

I can get a root listing fine. But when I try a sub-directory (that exists) ("/vendor") is gives this error:

FileProviderFTPError(code: 550, path: "/vendor/vendor/vendor", serverDescription: Optional("/vendor/vendor/vendor: No such file or directory"))

I inserted a breakpoint immediately before the 'contentsOfDirectory(path:completionHandler:)' call. It confirms that path = "/vendor". The next breakpoint is inside it's 'completionHandler', and return the above error.

Also this section of my code is similar to the section that I employ for a different library which makes a SMB call, and it works fine for SMB, so I think this is a bug in FTPFileProvider.

Can anyone confirm either yes or no?

matt-matt1 avatar Nov 05 '20 18:11 matt-matt1