Home Forums .NET libraries Xceed SFTP/FTP for .NET Xceed FTP Component – Split the file at the time of downloading and uploading

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

    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.

     

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by Makesh (had 1254 views)

    User (Old forums)
    Member
    Post count: 23064

    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.

     

    Applies to Xceed FTP for .NET. Imported from legacy forums. Posted by André (had 1377 views)

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