Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Need to Compress File Before Upload

Last post 09-28-2010, 1:42 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  09-27-2010, 10:56 AM 64208

    Need to Compress File Before Upload

    Would like to test for the filesize of a file to be potentially uploaded. If it is above a certain number of bytes I would like to compress the file before uploading and then decompress it after the upload has finished.
     
    Question: What is the preferred event to try to compress the file  on before it is uploaded. Is there a server side event I can do this on? Would I need to do this client side with some JavaScript. Any suggestions you might have would be greatly appreciated.  
     
    Jason

    Jason Livengood
  •  09-28-2010, 1:42 AM 64216 in reply to 64208

    Re: Need to Compress File Before Upload

    Hi jazzcatone,
     
    Please send a mail to Kenneth@CuteSoft.net. I will create an example to show you how to compress the upload file by DotNetZipLib.
     
    Regards,
     
    ken
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.