ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] wget & curl error
@ 2001-07-01  7:47 Pavel Marakhovsky
  2001-07-01  9:00 ` Igor Solovyov
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Marakhovsky @ 2001-07-01  7:47 UTC (permalink / raw)
  To: Linux Russian Mailing List

Привет!

Wget и curl почему-то не хотят закачивать файл:

[unatine@localhost unatine]$ wget --passive-ftp ftp://ftp.avp.ru/pub/updates_zip/daily.zip
--06:30:07--  ftp://ftp.avp.ru/pub/updates_zip/daily.zip
           => `daily.zip'
Connecting to ftp.avp.ru:21... connected!
Logging in as anonymous ... Logged in!
==> TYPE I ... done.  ==> CWD pub/updates_zip ... 
No such directory `pub/updates_zip'.

[unatine@localhost unatine]$ curl -# -v -o daily.zip ftp.avp.ru/pub/updates_zip/
< 220 downloads1.kaspersky-labs.com FTP server ready.
> USER anonymous
< 331 Guest login ok, send your complete e-mail address as password.
> PASS curl_by_daniel@haxx.se
< 230-You are WELCOME
< 230-
< 230 Guest login ok, access restrictions apply.
* We have successfully logged in
* Connected to ftp.avp.ru (195.218.139.150)
> CWD pub/updates_zip
< 550 pub/updates_zip: No such file or directory.
curl: (9) Couldn't change to directory pub/updates_zip

Хотя файл там этот есть и через ftp все нормально закачивается.

Из-за чего может быть эта ошибка?
--
WBW, Pavel aka Unatine
e-mail: unatine@narod.ru
JID: unatine@jabber.[org,com]

"no home        no heart        no hope"
                ---Stronghold graffito



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] wget & curl error
  2001-07-01  7:47 [mdk-re] wget & curl error Pavel Marakhovsky
@ 2001-07-01  9:00 ` Igor Solovyov
  2001-07-02  7:57   ` Pavel Marakhovsky
  0 siblings, 1 reply; 3+ messages in thread
From: Igor Solovyov @ 2001-07-01  9:00 UTC (permalink / raw)
  To: mandrake-russian

[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]

Hi!
On Sat, 30 Jun 2001 06:33:53 +0400
Pavel Marakhovsky <_troggy_@mtu-net.ru> wrote:

> Привет!
> 
> Wget и curl почему-то не хотят закачивать файл:
> 
> [unatine@localhost unatine]$ wget --passive-ftp
> ftp://ftp.avp.ru/pub/updates_zip/daily.zip
> --06:30:07--  ftp://ftp.avp.ru/pub/updates_zip/daily.zip
>            => `daily.zip'
> Connecting to ftp.avp.ru:21... connected!
> Logging in as anonymous ... Logged in!
> ==> TYPE I ... done.  ==> CWD pub/updates_zip ... 
> No such directory `pub/updates_zip'.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
А потому, что это на самом деле так. Вот глядите сами:

$ ftp ftp.avp.ru
Connected to ftp.avp.ru.
220 downloads1.kaspersky-labs.com FTP server ready.
Name (ftp.avp.ru:gosha): ftp
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are WELCOME
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> passive
Passive mode on.
ftp> ls
227 Entering Passive Mode (195,218,139,150,18,54)
150 Opening ASCII mode data connection for /bin/ls.
total 32
drwxr-sr-x   8 502      ftp          4096 Apr 28 15:12 .
drwx--x--x  11 502      502          4096 Apr 28 15:11 ..
drwxr-s---   3 502      ftp          4096 Jun  6 16:01 beta
drwxr-s---   2 502      ftp          4096 Apr 28 14:50 patches
drwxr-s---   7 502      ftp          4096 May 22 12:35 products
drwxr-s---   2 502      ftp          4096 Apr 28 15:20 trial
drwxr-s---   2 502      ftp          4096 Jun 30 15:02 updates
drwxr-s---   2 502      ftp          4096 Jun 30 15:02 updates_zip
226 Transfer complete.
ftp>

Ну нет там каталога /pub  :-)))))))

-- 
Best regards!
Igor Solovyov
Zlatoust, Russia

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mdk-re] wget & curl error
  2001-07-01  9:00 ` Igor Solovyov
@ 2001-07-02  7:57   ` Pavel Marakhovsky
  0 siblings, 0 replies; 3+ messages in thread
From: Pavel Marakhovsky @ 2001-07-02  7:57 UTC (permalink / raw)
  To: mandrake-russian

On Sun, 1 Jul 2001 11:12:48 +0600
Igor Solovyov <is13@inbox.ru> wrote:

> $ ftp ftp.avp.ru
> Connected to ftp.avp.ru.
> 220 downloads1.kaspersky-labs.com FTP server ready.
> Name (ftp.avp.ru:gosha): ftp
> 331 Guest login ok, send your complete e-mail address as
> password.
> Password:
> 230-You are WELCOME
> 230-
> 230 Guest login ok, access restrictions apply.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> passive
> Passive mode on.
> ftp> ls
> 227 Entering Passive Mode (195,218,139,150,18,54)
> 150 Opening ASCII mode data connection for /bin/ls.
> total 32
> drwxr-sr-x   8 502      ftp          4096 Apr 28 15:12 .
> drwx--x--x  11 502      502          4096 Apr 28 15:11 ..
> drwxr-s---   3 502      ftp          4096 Jun  6 16:01 beta
> drwxr-s---   2 502      ftp          4096 Apr 28 14:50 patches
> drwxr-s---   7 502      ftp          4096 May 22 12:35 products
> drwxr-s---   2 502      ftp          4096 Apr 28 15:20 trial
> drwxr-s---   2 502      ftp          4096 Jun 30 15:02 updates
> drwxr-s---   2 502      ftp          4096 Jun 30 15:02
> updates_zip
> 226 Transfer complete.
> ftp>
> 
> Ну нет там каталога /pub  :-)))))))
Я понял откуда я его взял:) Похоже просто ftp сервер делает chroot в pub. Смотрел я Нетскейпом, а там
как раз этот pub в строке адреса отображается:)

--
WBW, Pavel aka Unatine
e-mail: unatine@narod.ru
JID: unatine@jabber.[org,com]

Rainclouds don't last long in Shiv, but that doesn't stop the lighting.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-02  7:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-01  7:47 [mdk-re] wget & curl error Pavel Marakhovsky
2001-07-01  9:00 ` Igor Solovyov
2001-07-02  7:57   ` Pavel Marakhovsky

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git