Welcome to the Xceed Community | Help
Community Search  

Xceed FTP Component - Split the file at the time of downloading and uploading

Sort Posts: Previous Next
  •  11-05-2008, 2:19 AM Post no. 16650

    Xceed FTP Component - Split the file at the time of downloading and uploading

    Hi,

             It is possible to split the file at the time of downloading and uploading. After successful copy i want to merge the splitted file and merge it.

     


    Thanks
    Makesh. R
  •  11-05-2008, 12:47 PM Post no. 16674 in reply to 16650

    Re: Xceed FTP Component - Split the file at the time of downloading and uploading

    Not sure I understand your request, but the library does not offer an automatic "split" feature, unless you use a zip archive, which can be split when created.

    If you are not using a zip archive, you could manage this yourself, on the local side.  That is, when uploading a file, send it through a stream where you stream part of the file to the server so that it becomes a complete file on it, then stream the other part to the server to another file.  You can use the SendFile() overload that takes a stream as a parameter.

    When downloading these files locally from the server, you can stream the splited files into the same file through the ReceiveFile() overload that as the append parameter, and indicate whether it should append to the local file or overwrite it.

     


    André
    Software Developer and Tech Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.