Re: curl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 08, 2006 at 07:07:18PM -0500, Bob Hartung wrote:
> Hi all,
>   I am having a devil of a time making curl work.  It seems to be doing 
> everyghing fine until the download is "complete" then it gives the 
> following:
> 
>  curl: (3) <url> malformed
> 
>   No other information is forthcoming.  I am using a little script 
> which is as follows (the same error occurs when entered from the command 
> line however).
> 
> curl -q -u anonymous:rwhart@xxxxxxxxx -O 
> ftp://limestone.uoregon.edu/fedora/5/i386/iso/FC-5-i386-rescuecd.iso 
> /archive/downloads/FC5/dvd-iso/
> 
> 
>   Any suggestions?  Any help appreciated.
> 

Wrong order and usage of parameters. The string after -O defines the local
filename and the path is cut off. You're trying to specify a directory to
store the downloaded file, which doesn't work (according to the manpage).
Try
( cd /archive/downloads/FC5/dvd-iso/; curl -q -u anonymous:rwhart@xxxxxxxxx ftp://limestone.uoregon.edu/fedora/5/i386/iso/FC-5-i386-rescuecd.iso )


   Karsten

--
 Karsten Hopp <karsten@xxxxxxxxx>   GPG 1024D/70ABD02C
 Fingerprint D2D4 3B6B 2DE4 464C A432 210A DFF8 A140 70AB D02C
 Red Hat Deutschland, Hauptstaetter Str.58
 70178 Stuttgart, Tel.+49-711-96437-0, Fax +49-711-96437-111


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux