Welcome to the Xceed Community | Help
Community Search  
More Search Options

Copy Files a Directory

Sort Posts: Previous Next
  •  06-20-2010, 3:12 PM Post no. 27204

    Copy Files a Directory

    How would i copy a file and a Directory?

    I have a string array, in it it has all the files selected. But, it also has folders. If i wanted to copy a Whole Directory from lets say;

    ftp://example.com/folder1/test/

    to

    ftp://example.com/folder2/test/

     

    How would i do that? 

    -Xerax 

  •  06-23-2010, 1:40 PM Post no. 27259 in reply to 27204

    Re: Copy Files a Directory

     

     

    Hi,

     

    To copy a whole directory from an ftp folder to another, you could first download all the first folder content then upload it to the receiving folder.
    Examples on downloading to memory using the Xceed FTP library is provided on the online documentation at the page: http://doc.xceedsoft.com/products/xceedftp/Receiving_a_file_to_memory_(C__example).html
    And http://doc.xceedsoft.com/products/xceedftp/Sending_files_(C__example).html
     


    Xceed - Software Developer and Technical Support
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.