Upload full directory

Hi,

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,
María

did u check this?

@mmarcos

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

OR

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

Hope this may help you

Thanks,
Srini