The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
here document not working JamesByars Shell Programming and Scripting 2 01-15-2008 01:41 PM
The here document << rahulrathod Shell Programming and Scripting 6 01-22-2006 09:05 PM
Sqlplus 'here' document: <<EOF vs. <<-EOF jvander Shell Programming and Scripting 6 01-22-2006 08:44 PM
How to split a document gtapia Shell Programming and Scripting 2 07-15-2004 02:25 PM
Help on find a document merlin UNIX for Dummies Questions & Answers 1 02-14-2002 05:42 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-24-2008
Registered User
 

Join Date: Jan 2008
Posts: 2
How to download an attachment of a document

Hi,
I have a metalink note. The note has got a zip file attached to it. What I need, is to write a shell script, to download the zip file alone, engrossed in the metalink document. I just have the web access to metalink and not the unix access to the metalink server to do a ftp, sftp, etc.

The link to the zip file is like:
https://metalink.oracle.com/cgi-bin/...16699.1:script

Through browser (IE), when i click the link, it popups a download window and Im able to save the zip file. Is it possible to write a shell script to automatically download the zip file to my unix machine??
Reply With Quote
Forum Sponsor
  #2  
Old 01-24-2008
Yogesh Sawant's Avatar
Part Time Moderator and Full Time Dad
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 798
does wget help?
Reply With Quote
  #3  
Old 01-24-2008
Registered User
 

Join Date: Jan 2008
Posts: 2
Thanks Yogesh.. but wget works fine only if we specify a physical location of the file like https://metalink.oracle.com/metalink...ealthCheck.zip

but when we supply
https://metalink.oracle.com/cgi-bin/...16699.1:script

its not working fine!!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
wget

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:43 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0