Hello everyone,
In my application i am uploading a Zip file called 'registration.z ip' .For the first time the file is uploading with no issues.Again if i rename the same 'test1.zip' file to 'test2.zip' and try to upload, its throwing an exception error.But that .zip file is valid and can be unzipped.I am using rubyzip gem to upload zip file.
I want to know whether its an error or not and how to handle this problem.
In my application i am uploading a Zip file called 'registration.z ip' .For the first time the file is uploading with no issues.Again if i rename the same 'test1.zip' file to 'test2.zip' and try to upload, its throwing an exception error.But that .zip file is valid and can be unzipped.I am using rubyzip gem to upload zip file.
I want to know whether its an error or not and how to handle this problem.
Comment