Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get file asp url.

Status
Not open for further replies.

Sorwen

Technical User
Nov 30, 2002
1,641
US
I wasn't sure where to ask this I'm starting here and the vb.net forum. I'm using a program I create awhile back to download files froma vendor. Since they have no FTP connection I used the VB.Net browswer plugin to navagate to the location and download the files from links. The problem is they changed how it all works and instead of the page containing a link directly to a file it instead opens a new window that shows the file. If you do "save as" on the link it will save the file. Is ther some modification of the url I can do to actully get the file itself. I would assume there is since the "save as" works.

The link reads something like this:

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
use an httprequest to get the httpresponse and save the response stream to file. from there you may need to remove noise from the file to get the data you require.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
try creating an httprequest to get the httpresponse save the response stream to file. then you can manipulate the file.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Thanks, I'll give that a shot. :)

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
I found the problem isn't with the at all link, but with the security. Now the problem is that I can't get anything including the httprequest to login and make a secure connection. Setting network credentials, uploading values, and passing the session cookies all fail. Still it is definitely a vb.net issue now so I'm asking over there. Thanks for pointing me in a direction as I was able to figure out where the issue was by getting the response.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top