6 Replies Latest reply on Feb 23, 2006 11:04 AM by theute

    download a zip file since CMS content

    glodo

      Hi everyone! sorry for not to know this.. but i need help in my application.. is very urgent..
      I have a html in a CMS portlet for example.. i need to download from that portlet a .zip file like something.zip..
      I try many ways but still not work..
      can someone give me please the steps to do that?
      so much thanks for your help.
      glodo

        • 1. Re: download a zip file since CMS content
          glodo

          Hi everyone..
          still dont work the download a zip file...
          since Firefox when i click on zip file open it a window with the option "open" or "save" but.. it download like index.html.. not like zip file..
          since IE open a window with code unreadable..

          please if someone there do this and works.. please let me know.. or tell me how work the CMS with zip files..
          if someone try to do this and dont works too..please let me know too..
          so thanks.. is very urgent..

          • 2. Re: download a zip file since CMS content
            theute

            I just tried to upload a zip file using the latest JBoss Portal + JBoss AS 4.0.4RC1.

            I also added a link from a CMS page to that file

            It works as expected on Konqueror, Mozilla and IE. I mean that if i click on the link it asks me if i want to open it or save it with its correct filename ("foo.zip").

            Make you that you uploaded the file as a file and not as an archive to explode.

            • 3. Re: download a zip file since CMS content
              glodo

              yap.. i use the JBoss AS 4.0.3SP1 and JBoss portal 2.2.1RC1...it would be the problem the version of both?
              because i try like this..
              I have my zip files on default/article/zip/
              in a html i link like default/article/zip/tables.zip thats all..
              but dont work.. the behavior is the same like describe up there..

              • 4. Re: download a zip file since CMS content
                noicangi

                thomas, how do you install jboss 4.04rc1 and the portal? i used the installer.jar of the jboss 404rc1 and when i deploy the portal (binary) there is an error about policy.
                what configuration do you use for jboss404rc1 that works with the portal?

                • 5. Re: download a zip file since CMS content
                  glodo

                  noicangi: I work with the jboss-4.0.3SP1.zip because with the installer dont work.. if you work with oracle.. is best that you use the jboss complete configuration..

                  Thomas: the problem with the zip files is because the version?
                  Can you test with the jboss-4.0.3SP1 and portal 2.2.1RC1 and tell if work with this version?
                  so thanks..

                  • 6. Re: download a zip file since CMS content
                    theute

                     

                    "noicangi" wrote:
                    thomas, how do you install jboss 4.04rc1 and the portal? i used the installer.jar of the jboss 404rc1 and when i deploy the portal (binary) there is an error about policy.
                    what configuration do you use for jboss404rc1 that works with the portal?


                    I use the CVS HEAD of Jboss-portal-2.4