https://dagster.io/ logo
#ask-community
Title
# ask-community
a

Alexis Manin

02/09/2024, 1:38 PM
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

Adam Bloom

02/09/2024, 1:46 PM
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

Alexis Manin

02/09/2024, 1:51 PM
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

Christopher Flesher

02/09/2024, 6:35 PM
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

Alexis Manin

02/09/2024, 7:07 PM
That would be nice too. I have to look at all of this. Thanks for the feedback !
c

Christopher Flesher

02/09/2024, 8:47 PM
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!
9 Views