472,354 Members | 1,939 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

Subject: How do I save a .PDF file from a website???



Hello All,

Its a bit more complicated than the subject line implies.

A website that I use for information allows me to click on a link and their .PDF displays in IE's browser window.. Since this data has a life-span
of about a week (replaced by a newer updated one on a daily basis) and if I happen to miss a day viewing and recording the info I want, its gone
forever.

To solve this problem, I wrote a small app to retrieve their index page of the info into a vb.net webbrowser control. This works fine for viewing,
but now I want to save the retrieved file as a .PDF on my local system. (It does bring up the Adobe toolbars and commands in the browser window and I
can save from there.) I want this to be "automatic" so I can set my app to run through the task scheduler and I won't have to be present to download.

The .PDF files are not accessible directly from a directory. Each of the links from the index page is directed to a Javascript (I believe) routine
with some parameters. And apparently from that script, the proper location of the file is determined and subsequently returned to my browser control
as a PDF file.

A sample of my code is below. (After the Navigate command, how do I save the contents of wbPage as a PDF?) Can I essentially do a Navigate directly
onto a local drive?

Thanks,

Hexman
Jul 9 '06 #1
0 1082

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Chris Lobdell | last post by:
Hey, everyone. For the past two years, we have offered files for download through a secure website. Users, after clicking on a link, are redirected to a PHP page that passes the appropriate...
5
by: Quinn | last post by:
When users clicked a unkown mime type link such as Zip on my website, a "Save/Open/Cancel" dialog box pops up. Is there a way to detect which button users clicked by using ASP? actually I only what...
0
by: prakash | last post by:
Dear Friends I am new guy to Visual C++.NET I've program to save website as a image vc++.net . It have a function "SaveSnapshot" to save the webpage as an image On that function ifor saving...
6
by: Pat Carden | last post by:
Hi, We need to allow webusers to upload a file on our website (on Server3, all servers run Server 2003, remotely hosted) and eventually save it on our SBS Server (Server2) which is not exposed...
3
by: MJ | last post by:
Automatically download and save pdf files from a website. Is there a way to do this? I would like to automate a daily procedure for downloading and saving a couple of dozen pdf from several...
2
by: David Thielen | last post by:
Hi; I've see this done so I know it's possible. How can I set things up so a user clicks on a rtf file on the website, that launches it in Word where they edit it, and then when they click the...
3
by: fiefie.niles | last post by:
I would like to save a web page to a file and have the hyperlinks work when I bring the file back up. If the web page has a hyperlink like the following <a href="OurWeb/News/abcFile.htm">, after...
2
by: dkoneeee | last post by:
Hello, I wish save a file from a export link. The file is on a website within <a href=http://siteweb/export... I use for navigate on the website: IE =...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
1
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. header("Location:".$urlback); Is this the right layout the...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.