How to ftp the RPM files from repository

Hi Friends

I am facing one problem. I want to download the RPM file from the repository using ftp command. how i can do that?

For normal ftp

$>ftp abc.efh

mget *.rpm

but if I am using like that way it is giving error.

$>ftp download.opensuse.org
> ftp: connect :Unknown error number
ftp>

Please help

Thanks in advance
Joy

I don’t think download.opensuse.org allows ftp but only http (at least for ‘normal’ users).

Try a mirror, see Mirror Selection - openSUSE

Cheers.

Hi
You need to look for a mirror to download from, have a look here
http://en.opensuse.org/Mirror_Selection


malcolml@kermit-opensuse:~$ ftp download.opensuse.org
Connected to download.opensuse.org.
500 This server is busy, please try again later or any of my mirrors:
http://download.opensuse.org


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 5 days 10:10, 4 users, load average: 0.43, 0.39, 0.40
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Sorry I didn’t got it properly. Please help. Please let me know how to download(ftp) using simple command prompt. I mean, I want download certain rpm file using ftp command.:frowning:

Hi
You need to look at this list and pick one closest to you;
http://en.opensuse.org/Mirrors_Released_Version

eg


malcolml@kermit-opensuse:~$ ftp ftp://mirror.switch.ch/mirror/opensuse/
Connected to mimas-nxge0.switch.ch. 220-SWITCHmirror (formerly known as
Swiss SunSITE) welcomes you! 220
331 Please specify the password.
230- Welcome to SWITCHmirror                     ftp://mirror.switch.ch/
230- -----------------------                    http://mirror.switch.ch/
230-
230- SWITCHmirror is located in Zurich, Switzerland and
230- operated by SWITCH:                           http://www.switch.ch/
230-
230- If you have problems downloading and are seeing "Access denied"
230- or "Permission denied", please make sure that you started your
230- FTP client in a directory to which you have write permission.
230-
230- Contact address: switchmirror@switch.ch
230-
230- NOTE: ALL transfers are logged and any misuse will be acted upon.
230-
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Switching to Binary mode.
250 Directory successfully changed.
250 Directory successfully changed.
ftp> ls
229 Entering Extended Passive Mode (|||58571|)
150 Here comes the directory listing.
drwxr-xr-x    3 ftp      ftp             4 Aug 05 08:57 debug
drwxr-sr-x    7 ftp      ftp            10 Aug 20 16:42 distribution
drwxr-xr-x    4 ftp      ftp             4 Oct 23  2005 tools
drwxr-xr-x    4 ftp      ftp             5 May 30 12:46 update
lrwxrwxrwx    1 ftp      ftp            12 Aug 20 23:15 update-debug ->
debug/update 226 Directory send OK.
ftp> bye
221 Goodbye.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 1 day 8:57, 1 user, load average: 0.16, 0.09, 0.11
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

On 09/09/2008 itsjoy2u wrote:
> Sorry I didn’t got it properly. Please help. Please let me know how
> to download(ftp) using simple command prompt. I mean, I want download
> certain rpm file using ftp command.:frowning:

HTTP is not an option? Check the mirror list Malcolm pointed you to; most mirrors show their folder structure in a web browser just fine, so you can click a file.

Uwe

I can open the links through web browser and I can download it, clicking on that link. But I don’t why in my system I am not able to download it through ftp command.:frowning:

On 09/10/2008 itsjoy2u wrote:
> But I don’t why in my system I am not able to download it through ftp
> command.:frowning:

Is that a corporate network? Many firewall admins allow FTP only for select users.

Uwe

Thanks Uwe. May be thats the case. I will try from other computer which is not under corporate network.