0

FileDownload in HTTPS

asked 2012-01-12 09:33:39 +0800

ciamsoy gravatar image ciamsoy
6

updated 2012-01-12 09:48:46 +0800

Hello developers,

I've been implementing zk in our company projects for some years now, and i found that zk is a really powerful tools for developing a web applications. So right now i'm able to upload my project into the current servers, everything goes smoothly until i try to download some file. It doesn't do anything when i download the file on the server.

So what happens is that in the server we're using a HTTPS port, while on the testing server we're using HTTP port. In the testing server i manage to download all the attached file using FileDownload.save method, but i can't do it on the HTTPS server, and no log comes up as well.

If any zk developers out there have ever faced this kind of situation and solve it, please let me know how to fix this up.

Many thanks

desperately https bug fixing developer

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2012-01-12 14:07:21 +0800

afxgroup gravatar image afxgroup
126 1

this seems a problem on certificate that is not secure. Did you try the download link with a web browser like Firefox? Do you get the message that the connection is not secure?
With Chrome you wont access it at all.

link publish delete flag offensive edit

answered 2012-01-13 01:51:02 +0800

ciamsoy gravatar image ciamsoy
6

Thanks for the reply afxgroup, and yes i've been trying for three web browser as for now. Chrome, IE, and Firefox. But three of them have same result. When i try to click the download button, it just show 'connecting' loading in my browser's tab but then nothing happen nor anything shows up. But i still can upload some file with FileUpload. Do you ever face this kind of problem?

link publish delete flag offensive edit

answered 2012-01-13 08:40:38 +0800

afxgroup gravatar image afxgroup
126 1

Try this step:

1) Download this file: http://techblog.kz/wp-content/uploads/InstallCert.java
2) compile it with "javac InstallCert"
3) run it: (sudo) java InstallCert www.myhttps.com

where www.myhttps.com is your https URL (without https://)
Use sudo if you are on Linux/Mac

Restart tomcat (or your webserver) and try if it helps
Otherwise try to get the download URL from your web page and put in another browser TAB. Don't try the ZUL page in the browser. You have to download the file from the URL bar to see the error or at least try something like Firebug to see what happens when you click on "Download" button in your zul page

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2012-01-12 09:33:39 +0800

Seen: 155 times

Last updated: Jan 13 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More