Home Forums ActiveX components Xceed FTP for ActiveX download folder

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #42730 |

    is there a way to just download the entire folder from the ftp site, instead of having to traverse the directories, to get to the files, and recreate the directory structure on a local machine?. I am connecting to an ftp server, and using the listfoldercontents method to get the list of folders i want to download. The folder can contain multiple subdirectories, and the structure can vary. I want to download the root folder, and have all the subdirectories and files with it get downloaded as well.

    Example:

    /root folder on ftp site
    /test folder within the root

    The test folder contains multiple subdirectories, and file.

    I tried just using the receivefile method, along with the folder name but that doesnt work. Any help would be appreciated.

    Imported from legacy forums. Posted by Chris (had 3773 views)

    User (Old forums)
    Member
    Post count: 23064

    Call ReceiveMultipleFiles with the correct remote and local paths, making sure to pass “True” as the third argument (bProcessSubfolders).

    Imported from legacy forums. Posted by Martin (had 3891 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.