Hello, I cannot find any IO support for FTP/FTPS ...
# ask-community
a
Hello, I cannot find any IO support for FTP/FTPS (I am not talking about SFTP). Is there any native support for this ? If there is, could anyone point me to a doc or a piece of code that shows how to use it ?
a
There’s a python standard library - https://docs.python.org/3/library/ftplib.html You’d have to build a custom resource or io manager around it, depending on what you want to do
a
Thanks for the tip. I was thinking of a ConfigurableResource with utility methods to download files. I will give it a try then.
👍 1
c
Submitted an issue to this to universal-pathlib: https://github.com/fsspec/universal_pathlib/issues/178 It might be convenient to use
UPathIOManager
if they are interested in supporting something like this...
a
That would be nice too. I have to look at all of this. Thanks for the feedback !
c
They are saying FTP might work out of the box with universal-pathlib. Please let me know if you try using this, I'd be interested to know if it works!