The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 and shell scripting languages 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 04:41 PM
The here document << rahulrathod Shell Programming and Scripting 6 01-23-2006 12:05 AM
Sqlplus 'here' document: <<EOF vs. <<-EOF jvander Shell Programming and Scripting 6 01-22-2006 11:44 PM
How to split a document gtapia Shell Programming and Scripting 2 07-15-2004 05:25 PM
Help on find a document merlin UNIX for Dummies Questions & Answers 1 02-14-2002 08:42 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-24-2008
krishprasad krishprasad is offline
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??
  #2 (permalink)  
Old 01-24-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
does wget help?
  #3 (permalink)  
Old 01-25-2008
krishprasad krishprasad is offline
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!!
Sponsored Links
Closed Thread

Bookmarks

Tags
unix download, wget

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0