Upload full directory


I’m trying to download and upload a full directory. When I use download files and set a directory path it works also with subdirectories but If I use upload files and set a directory path it only upload the files but not the subdirectories. Is it any option like directory.getFiles() with FTP or something like this?

Thank you in advance,

did u check this?


I believe there was no direct method to do that

But you can try to get the subfolders of the folders and try to delete those

Then you can upload the entire directory


You can copy all the files to another folder and from there you can upload

Hope this may help you