Does Phonegap provide an API for file/data compression and encryption zip so that it can upload files securely?
Does HTTPS provides a better solution?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I dont thinks there is a compression library directly on PhoneGap, you should try to use the following compression libraries directly with JavaScript:
http://jszip.stuartk.co.uk/
You could then get the BASE64 of the zipped file and send it to the server, depending on the contents of the file, you could encrypt the BASE64 string into something more exotic + SSL layer.