06-13-2008
download file using wget
I need to download the following srs8.3.0.1.standard.linux26_32.tar.gz file from the following website:
http://downloads.biowisdomsrs.com/srs83_dist
There are many gzip files along with the above one in the above site but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only from the website.
wget
http://downloads.biowisdomsrs.com/srs83_dist -nd -P SRS_drop_area -N -r -l 1
--http-user=$hu --http-passwd=$hp \
--proxy-user=$pu --proxy-passwd=$pp \
--proxy=on
But it is downloading all the zipped files one after another but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only
How do I do that..
Please help
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I need a Shell script that will download a text file every second from a http server using wget.
Can anyone provide me any pointers or sample scripts that will help me go about this task ???
regards
techie (1 Reply)
Discussion started by: techie82
1 Replies
2. UNIX for Dummies Questions & Answers
Hello Everyone,
I'm trying to use wget recursively to download a file.
Only html files are being downloaded, instead of the target file.
I'm trying this for the first time, here's what I've tried:
wget -r -O jdk.bin... (4 Replies)
Discussion started by: thoughts
4 Replies
3. Shell Programming and Scripting
Hi All
I want to download srs8.3.0.1.standard.linux24_EM64T.tar.gz file from the following website :
http://downloads.biowisdomsrs.com/srs83_dist/
But this website contains lots of zipped files
I want to download the above file only discarding other zipped files.
When I am trying the... (1 Reply)
Discussion started by: alphasahoo
1 Replies
4. Shell Programming and Scripting
Hi,
I want to download some online data using wget command and write the contents to a file.
For example this is the URL i want to download and store it in a file called "results.txt".
#This is the URL.
$url="http://www.example.com";
#retrieve data and store in a file results.txt
... (3 Replies)
Discussion started by: vanitham
3 Replies
5. Shell Programming and Scripting
Ok, this is quite weird.
wget -r mysite.com/mylink/
should get all the files recursively from the 'mylink' folder.
The problem is that wget saves an index.html file!
When I open this index.html with my browser I realize that it shows all the files in the current folder (plus an option to move... (3 Replies)
Discussion started by: hakermania
3 Replies
6. Ubuntu
I am using ubuntu 10.04 LTS
I tried to download the file using wget , the file size is 105.00 MB, but wget downloads only around 44K.
may be I am using wget in wrong way, any suggestions please?
Below is the command I used and the response from system.
wget --tries=10 -nd -nH --use=user... (10 Replies)
Discussion started by: LinuxLearner
10 Replies
7. Shell Programming and Scripting
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies
8. Shell Programming and Scripting
Hi
I am trying to download the file using wget command. But The password was created as pwd$$ for the user xyz. When i give the command as below it is not downloading the file. Will the password has $$ causing this issue.
wget... (0 Replies)
Discussion started by: ksmbabu
0 Replies
9. Shell Programming and Scripting
Hello all,
I want to write auto update script for my embedded device, which can check and download newer version of my program and extract the files on the device.
The download center is hosted on remote web server .
Script checks the hosted file on web site and if the new version is there... (8 Replies)
Discussion started by: stefki
8 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to download a XML from a URL through wget and successful in that but the problem is that I have to check for some special characters inside that XML. But when I download through wget it transfers the content of the XML in plain text and I'm not able to search for those... (2 Replies)
Discussion started by: dips_ag
2 Replies
LEARN ABOUT X11R4
download
download(1) User Commands download(1)
NAME
download - host resident PostScript font downloader
SYNOPSIS
download [-f] [-p printer] [-m name] [-H directory] [file...]
/usr/lib/lp/postscript/download
DESCRIPTION
download prepends host resident fonts to files and writes the results on the standard output. If no files are specified, or if - is one of
the input files, the standard input is read. download assumes the input files make up a single PostScript job and that requested fonts can
be included at the start of each input file.
Requested fonts are named in a comment (marked with %%DocumentFonts:) in the input files. Available fonts are the ones listed in the map
table selected using the -m option.
The map table consists of fontname-file pairs. The fontname is the full name of the PostScript font, exactly as it would appear in a %%Doc-
umentFonts: comment. The file is the pathname of the host resident font. A file that begins with a / is used as is. Otherwise the pathname
is relative to the host font directory. Comments are introduced by % (as in PostScript) and extend to the end of the line.
The only candidates for downloading are fonts listed in the map table that point download to readable files. A font is downloaded once,
at most. Requests for unlisted fonts or inaccessible files are ignored. All requests are ignored if the map table can not be read.
OPTIONS
-f Force a complete scan of each input file. In the absence of an explicit comment pointing download to the end of the file,
the default scan stops immediately after the PostScript header comments.
-p printer Check the list of printer-resident fonts in /etc/lp/printers/printer/residentfonts before downloading.
-m name Use name as the font map table. A name that begins with / is the full pathname of the map table and is used as is. Other-
wise name is appended to the pathname of the host font directory.
-H directory Use dir as the host font directory. The default is /usr/lib/lp/postscript.
EXAMPLES
Example 1: Examples of the download command.
The following map table could be used to control the downloading of the Bookman font family:
%
% The first string is the full PostScript font name. The second string
% is the file name - relative to the host font directory unless it begins
% with a /.
%
Bookman-Light bookman/light
Bookman-LightItalic bookman/lightitalic
Bookman-Demi bookman/demi
Bookman-DemiItalic bookman/demiitalic
Using the file myprinter/map (in the default host font directory) as the map table, you could download fonts by issuing the following
command:
example% download -m myprinter/map file
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpsf |
+-----------------------------+-----------------------------+
SEE ALSO
dpost(1), postdaisy(1), postdmd(1), postio(1), postmd(1), postprint(1), posttek(1), attributes(5)
NOTES
The download program should be part of a more general program.
download does not look for %%PageFonts: comments and there is no way to force multiple downloads of a particular font.
Using full pathnames in either map tables or the names of map tables is not recommended.
SunOS 5.10 9 Sep 1996 download(1)