We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    I've dealt with this situation by uploading a zip library and writing a simple php script to do the unzipping, then delete the library and file if I don't want to leave it on the server.

    http://www.phpconcept.net/pclzip
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 37242 ☆ A M B ☆
      • 339 Posts
      Hey susan,

      that is what crossed my mind, but I have no clue how this would afect modx, as unzipping instead of uploading results in different ownerships of files, right?

      I will try it some day, but currently I rather expect it from the MODx Core team wink

      The easiens way would be a wget + unzip afterwards, but there will be a reason why this hasnt been done yet (i guess).
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        As far as I know, the unzipped files will have the same permissions as the original zip archive that was uploaded. At least that's what has happened so far. Maybe that depends on the server configuration?

        If you have ssh access, you can of course use scp to upload the archive and unzip it in place. In my experience it's rare to have a non-Cpanel (or some other control panel) host that doesn't have ssh.
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 37242 ☆ A M B ☆
          • 339 Posts
          It depends on if you run php as apache module or fastcgi. Whan i tried it soome month ago at two different servers, all extracted files belonged to the webserver, not the ftp user.

          Yes, SSH ist also a solution. If you have it. Mostly its a simple webspace what clients need to run their site. Just ftp and mysql access data and thats it.
            • 3749
            • 24,544 Posts
            Bluehost is $4.95/month (if you can use shared hosting) and very MODX friendly: http://bit.ly/Hb5CAY. Their support has been excellent in my experience and they have a solid cPanel and immediate SSH access on request.

            Are you paying much less than that?

            Personally, I wouldn't use a host without cPanel access. I use it fairly often, but that's just me.


            ------------------------------------------------------------------------------------------
            PLEASE, PLEASE specify the version of MODX you are using.
            MODX info for everyone: http://bobsguides.com/modx.html
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Actually, that $4.95 a month is only if you pay for three years, and that's only a promotional price. After the first three-year period it's $6.99 a month for three years. It's $8.99 a month for one year.

              [ed. note: sottwell last edited this post 14 years, 2 months ago.]
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 37242 ☆ A M B ☆
                • 339 Posts
                Don't get me wrong Bob, but most people here like hosters which are awake at local office hours, speak their language and have servers in countries with strict data security rules. When it comes to clients data, they rarely agree too host it in a country that collects any bit of peoples data it can get their hands on. I wouldnt do that either smiley
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  In that case, I suspect that you will be delighted with the MODx Cloud once it goes public.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 37242 ☆ A M B ☆
                    • 339 Posts
                    How will a cloud prevent the wsod?
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      It's already configured with an installation of Revo. No worries about whether or not things work.
                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org