Avoding SSH access : Untar, Gunzip, Unzip in FileManager

netspace

Verified User
Joined
Oct 8, 2003
Messages
29
Ok I've tried to make the subject look smart :cool:

Most users ask for SSH access for 2 reasons...

# 1 Untar, Unzip, Gunzip archives of their site backups or an script they are installing. Also, for tarring and zipping their existing folders etc.

#2 Working with Mysql import/export and other mysql command-line stuff

2nd is unvaoidable - but the first (and most common) reason can be avoided by having archive compression and decompression built into the DA FileManager.

I really don't blame the user for asking for SSH for decompression - yesterday unzipped someone's image folder (for a russian mailorder bride site :D ) which was ~450 Mb while zip was around 170 Mb.
 
1) you can allow your clients to run cron jobs (which they can set for two minutes from now) to untar, etc.

2) they can do this through phpmyadmin.

Jeff
 
1] Hmm, possibly. Will see if it works -- but its kind of a dirty solution because users are not going to delete the crons. So 100 users unzip 2 tars each means 200 zombie processes running on the server in no time.

2] Of course not - phpmyadmin is no good for large databases. In fact, just now importing someone's 40mb db.
 
I suggest that archive extraction is VERY USEFUL feature.
(We have several customers gone to CPanel host because of that.)

Of course, ability to pack any folder to tarball also could be useful, i think.

And maybe it's possible to add 'symlink creation' function to filemanager? :)
 
I vote for archive extraction in File Manager too.
It will be really nice feature.

Regards
Tomek
 
I vote for it too. Jeff has a point about setting up a cronjob, but the whole point of a control panel is to make things easier :)

Matt
 
I was about to start a new thread to ask for zip/unzip capability in the File Manager (similar to cPanel) but I see it is already here.

This is a huge issue since we don't allow SSH access to our users!

Please consider adding this feature soon :) DirectAdmin says???

Kind Regards...
 
Yep, agreed...this would be really useful (.zip, .tar, .tar.gz, and .bzip2 files would all be great.) We have also had customers request this.
 
Every filemanager should offer those basic functionalities. I can't imagine myself having to tell a customer to set up a cron for such a basic thing as unpacking a zip.
 
Zip Feature

is this a dead subject? is DA going to look at integrating a zip feature?
 
Haven't heard much from DA on the feature front. If you look at the next schedueled release, there isn't much happening.
 
C'mon John, notice this thread :D

Since the release of installatron most php versions created by the custom builder have that zip lib included. So it shouldn't be too hard to integrate it into DA itsself, as DA calls the PHP executable.

But the problem could be that it would take DA/PHP too long to complete an action, so it might be wiser to make some kind of module to queue it with dataskq, which is ran every minute.

A quick and dirty way could be to install the unzip executable and use system(); calls in the dataskq to execute it, but that really would be something dirty :D.

I hope the DA team will add a feature like this asap :).
Also perhaps a way to upload a .zip or .sql and go to the db screen and say something like, add the following .sql to database user_xxxx. That way SSH access wouldn't be needed anymore.
Also a job the dataskq could do.
 
I will add my voice to the growing chorus! ;)

Compress/extract would be a great addition DA and eliminate one of the biggest reasons for ssh access.


One more vote!
 
Count me in! Hsphere has the absolute best File Manager going for a cp. With "WebShell 4" there really is no need to give SSH.
 
Back
Top