FTPClient.jl
FTPClient.jl copied to clipboard
How to download recursivelly a whole directory - or at least get the information if a certain element is a dir ?
Hello, I need to recursively download a directory from an anonymous FTP client:
ftp_init();
ftp = FTP(hostname = "palantir.boku.ac.at", username = "anonymous", password = "")
cd(ftp, "Public/ImprovedForestCharacteristics")
pwd(ftp)
readdir(ftp)
How can I download the whole ImprovedForestCharacteristics folder, or at least which of the outputs of readdir is a file or a directory in order to programmatically implement the recursion?
The equivalent command with wget would be:
wget -r -nH --cut-dirs=2 -nc ftp://[email protected]//Public/ImprovedForestCharacteristics