Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on uncompress files via web, without shell access in the Shared & Semi-Dedicated forum
Some of my domains don't have shell access. Instead of uploading files one by one via ftp (which is insecure) i would like to upload ...

  1. #1
    JPC Guru
    Join Date
    Mar 2005
    Posts
    361

    Question uncompress files via web, without shell access

    Some of my domains don't have shell access. Instead of uploading files one by one via ftp (which is insecure) i would like to upload a ZIP or tar.gz via Cpanel's file manager and then uncompress the file on the server.

    Anyone knows if this is possible?

    Thank you.

  2. #2
    Old Hillbilly Connie's Avatar
    Join Date
    Sep 2001
    Location
    Hills of Missouri
    Posts
    2,648
    Ask support to enable shell for those domains. I'm assuming they are hosted with Jag.

    Forum Moderators - Jag Staff

    Spam Whackers Blog - Dedicated to fighting Spam and providing General SEO Tips
    Organize your Kitchen or purchase Kitchen Accessories at Condells
    Ihelpyou Forum - Dedicated to "Best Practices" SEO

  3. #3
    JPC Guru
    Join Date
    Mar 2005
    Posts
    361
    If i wanted to enable SSH i'd have asked exactly that

    No i dont want to enable ssh, all i want is to know if its possible to uncompress files via CPanel (maybe there is an existing script that preserves correct ownership permissions?)

  4. #4
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,307
    I'm not sure that uploading through CPanel in a tarball or .zip is any more secure than ftp. Even if you're connected to CPanel securely, I wonder about their upload facility.

    You could always write a really quick script in perl or php-cgi that will unzip a given file as the account owner. The call to it might be:

    http://www.domain.com/unzipscript.pl/home/domain/path/file.gz
    or
    http://www.domain.com/unzipscript.php?zipfile=/home/domain/path/file.gz

    or some such, and use the environment variables to get the file path.

    BE CAREFUL with something like this, you need to ensure that a malicious user doesn't try to inject commands into the variable, you MUST clean them.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •