Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
how to download a image from a protected below link http://epaper.manoramaonline.com/MMDaily/Malappuram/2014/05/30/F/
MMDaily_Malappuram_2014_05_30_F_FP_001/1228_274_1940_1862.jpg

while I downloading this jpeg file the following error was display
" the remote server returned an error (403) forbidden". Please help
me to find a solution.

the following code was used.. My.Computer.Network.DownloadFile
("http://epaper.manoramaonline.com/
MMDaily/Malappuram/2014/05/30/F/MMDaily_Malappuram_2014_05_30_F_FP_001/
1228_274_1940_1862.jpg", "D:/ynews.jpg")
Posted
Comments
DamithSL 31-May-14 1:21am    
are you get the same error for all other images you tried to download?
it seems website deny access to direct image from url based on number of access per given time period or something like that..
for example you can go to home page and click on one of image and get the direct image url. load that url in new tab and refresh several times, you will get denied error after few times
Member 10855692 31-May-14 4:31am    
not yet, its only some images.
Richard MacCutchan 31-May-14 4:38am    
The owners of that site are not making that image publicly available so you cannot download it.

1 solution

The website has protected the image for a reason, attempting to retrieve the image is violating the privacy of the website. Sorry, no can do. :/
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900