02-04-2007
#!/usr/bin/ksh
TXID=123456
while do read STAFFID
wget "http://www.super.com/txid=${TXID}&staffid="${STAFFID}"&status=success"
((TXID=${TXID}+1))
done < staffid.txt
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have noticed a lot of expensive books appearing
online so I have decided to copy them to CD.
I was going to write a program in java to do this,
but remembered that wget GNU program some of
you guys were talking about.
Instead of spending two hours or so writing a
program to do this.... (1 Reply)
Discussion started by: photon
1 Replies
2. Shell Programming and Scripting
i am trying to ftp files/dirs with wget. i am having an issue where the path always takes me to my home dir even when i specify something else. For example:
wget -m ftp://USER:PASS@IP_ADDRESS/Path/on/remote/box
...but if that path on the remote box isn't in my home dir it doesn't change to... (0 Replies)
Discussion started by: djembeplayer
0 Replies
3. Shell Programming and Scripting
I'm having a problem in retreiving a web page that I'm requires a user name * password and then I need to post some data.
I've used a screen scrapping program to figure out what data is required.
My question, can I use wget w/ the --http-user & --http-passwd flags along with --post-file or... (0 Replies)
Discussion started by: gseyforth
0 Replies
4. UNIX for Dummies Questions & Answers
Hello there,
İ want to ask a very simple question. I want to read the output messages of wget both in terminal and also put them into a text file.
i know that by using -o flag, i can log the messages into a text file but then i won't be able to see them on terminal.
I'd appreciate any help... (1 Reply)
Discussion started by: sertansenturk
1 Replies
5. Shell Programming and Scripting
Can you tell me how to download the directory tree just starting from "project1/" in this URL?
"https://somesite.com/projects/t/project1/"
This command does not seem to do what I want as it downloads also files from the upper hierarchy:
wget --no-check-certificate --http-user=user... (4 Replies)
Discussion started by: majormark
4 Replies
6. UNIX for Dummies Questions & Answers
...... (1 Reply)
Discussion started by: hoo
1 Replies
7. Shell Programming and Scripting
Hi Friends,
I have an url like this
https://www.unix.com/help/
In this help directory, I have more than 300 directories which contains file or files.
So, the 300 directories are like this
http://unix.com/help/
dir1
file1
dir2
file2
dir3
file3_1
file3_2... (4 Replies)
Discussion started by: jacobs.smith
4 Replies
8. UNIX for Dummies Questions & Answers
How can I download only *.zip and *.rar files from a website <index> who has multiple directories in root parent directory?
I need wget to crawl every directory and download only zip and rar files. Is there anyway I could do it? (7 Replies)
Discussion started by: galford
7 Replies
9. Shell Programming and Scripting
Can wget be used to goto a site and piped into a .gz extrated command?
wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh37 | gunzip -d clinvar_20150603.vcf.gz (1 Reply)
Discussion started by: cmccabe
1 Replies
10. Shell Programming and Scripting
Hi,
I need to download a zip file from my the below US govt link.
https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP
I only have wget utility installed on the server.
When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies