[PLUG] Using wget

"Shantanoo Mahajan (शंत "Shantanoo Mahajan (शंत
Mon Mar 30 10:27:54 PDT 2009


On 30-Mar-09, at 6:44 PM, Arun Tomar wrote:

> hi!
>
> On Mon, Mar 30, 2009 at 6:30 PM, Yogesh Hasabnis
> <yhasabnis at rediffmail.com> wrote:
>>
>> On Mon, 30 Mar 2009 Kulkarni Shantanu wrote :
>>> * Yogesh Hasabnis <yhasabnis at rediffmail.com> [090330 17:13]:
>>>>
>>>>
>>>> Login?Template=esd_login_template&GAREASONCODE=-1&
>>>>
>>>
>>>> APPID=DownloadsProd1&URI=http:%2F%2Fdownloads.somesite.com 
>>>> %2FESDWeb%2FReleaseDetail.eo%
>>>>
>>>> ?methodTocCall=download%25: File name too long
>>>>
>>>>
>>>>
>>>> Can you suggest some pointers or docs for getting around this  
>>>> problem ?
>>>
>>> Can you try,
>>> wget -c -O small_fname.dat '<your long url>'
>>>
>>> Note - it is capital "O"
>>>
>>> Shantanu
>>> --
>>
>>
>> Hi All,
>>
>> Thanks for all the suggestions. Actually there is one more issue  
>> involved .... that of https authentication. When I do the download  
>> from the URL I am redirected at https://access.somesite.com .
>>
>> I will do some searching around on the net and will get back if I  
>> can make it work.
>>
>> Thanks All,
>> Yogesh
>
> you can use curl to do the authentication.  better write a shell
> script. inside the shell script use curl to authenticate & then wget
> to download the relevant files .
>


you may try something like
wget http://<username>:<password>@<remaining url>


regards,
shantanoo



More information about the plug-mail mailing list