|
Hi,
Say, I am using the filesize from the filestat (struct stat) for upload (Content-Length Header), and if I compress the file to say 50% of the actual filesize during upload. What will happen to the uploaded data ??
Will S3 think it is a failed upload (because only half of the content-length came in) and reject the file or just leave it as it is or check the MD5 header and say OK (which makes Content-MD5 header mandatory, which is a little difficult as the whole content uploaded is not known initially).
For effective file uploads, I cannot compress the file store locally and then upload it, can somebody throw some light on the above query,
Regards,
Jayavasanthan J
|