Zipping while uploading to FTP

0
Dear Sirs, I want to upload a very big file to a ftp server. So far it already works. But I wanted that file on the ftp to be zipped (with encryption). And I want to avoid to first zip it locally and the upload the zip file. Mainly because of the wasted disk space for thet (temporarely) zip file and also, because that would need extra time. So, is there any way to zip the file while it is uploaded to the ftp server? Thanks in advance, Robert Witter
 
asked 2/9/2018 11:39:25 PM
add a comment

2 Answers

1
Yes, you can use `RealTimeZip` class to achieve that. Please see this topic: [http://doc.componentpro.com/ComponentPro-Zip/Adding-files-and-folders][1]. You can set the `CompressionStream` to a [remote FTP file stream](http://doc.componentpro.com/ComponentPro-Ftp/ComponentPro-IO-IRemoteFileSystem-GetUploadStream(System-String)). [1]: http://doc.componentpro.com/ComponentPro-Zip/Adding-files-and-folders
edited 2/15/2018 4:49:00 AM
answered 2/10/2018 9:17:09 AM
add a comment
0
Thank you very much, works great :-)
 
answered 2/10/2018 8:26:16 PM
add a comment

Your Answer

Not the answer you're looking for? Browse other questions tagged ftp zip or ask your own question.