LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-26-2005, 01:03 PM   #1
turbo3lf
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
how to install unzip on webserver


hi

i originally posted this under linux - newbies, but maybe it's better off here. the issue as i see it is probably not related specificaaly to freebsd, but rather to my lack of *nix knowledge

i host on a shared freebsd webserver. i am able to ftp a zip file onto the server, but do not know how to extract it.

there does not seem to be an unzip programme in the \bin directory, so i downloaded unzip from info-zip.org and was able to ftp it onto the server.

how do i go about installing it and running it on freebsd (i have not worked with any flavour of unix before).

the hosting co. does not provide telnet or ssh access. i can only use ftp, but when i use the command "unzip" through ftp this obviously does not work.

please help!

thanks
 
Old 02-26-2005, 01:41 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
You can't install anything through FTP (without violating your service contract and possibly the law). You also can't run a command like unzip from within FTP.

What you need to do is ask the hosting company to install unzip (doesn't seem like an unreasonable request) or consider compressing your data with gzip. Then once you have your data on the server, you'll have to create a cron job (assuming you have that facility) or create a PHP/CGI script that you can call with your browser that unzips the file for you.

HTH
 
Old 02-26-2005, 02:16 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by sigsegv
You can't install anything through FTP (without violating your service contract and possibly the law). You also can't run a command like unzip from within FTP.
It looks very serious, but it just means that FTP protocol is for file transfer - not for remote access and it simply doesn't allow you to run programs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to install unzip on freebsd webserver turbo3lf Linux - Newbie 1 02-26-2005 02:18 PM
Minimum Slackware 10.0 install for webserver user_of_slack Slackware 11 10-03-2004 09:13 AM
How to install Spam Filter on Webserver sb73542 Linux - Software 0 01-28-2004 04:22 PM
How to install Tomcat as a webserver davee Linux - Software 6 07-16-2003 03:32 AM
How install my own hosting and webserver? Axel5 Linux - General 3 03-20-2003 06:45 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration