473,486 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Use of INet Control for downloding from HTTPS site - VB

1 New Member
How does this work? I have written code and the ResponseCode returned is zero, I am trying to downlaod a PDF file from a HTTPS site.

I have set the following :

inet1.URL = "https://trustinvestorreporting.usbank.com/TIR/TirRequestRouter?requestCmdId=dealDetail&dealId=44 64&sourcePage=displayMyPortfolio"

inet1.Execute , "GET Chevy Chase Funding 2004-4 - November 2007.pdf c:\welcome.pdf"

If I use MsgBox inet1.GetHeader it returns a value so it looks like it is connecting to the web pasge.

Alan
Dec 19 '07 #1
1 5320
DarthCrap
3 New Member
I haven't really used Inet that much so sorry if this doesn't help :
Expand|Select|Wrap|Line Numbers
  1. Inet1.URL = "https://trustinvestorreporting.usbank.com/TIR/TirRequestRouter?requestCmdId=dealDetail&dealId=4464&sourcePage=displayMyPortfolio"
  2. contents = Inet1.OpenURL
  3. ' Write 'contents' to a pdf file using binary?
  4. Dim fnum As Integer
  5. fnum = FreeFile
  6. Open file_name For Output As #fnum
  7. Put #fnum, 1, contents
  8. Close fnum
  9.  
I would use something like that - but the page in question isn't a pdf - its a login page

However I may have completely misunderstood what you were asking for :p
Dec 20 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
6036
by: Laphan | last post by:
Hi All Just wanted to know if anybody knows the answer to the following quick queries: 1) The reason I'm using VB's INET control is to download copies of Ms Access DBs on a range of web sites...
4
8358
by: Steen Gellett | last post by:
Hallo.....I have programmed with winsock for a while, but now I have set my eyes on Inet, but I'm totally blank........a few questions ?? Inet1.Protocol = icFTP......................I can see...
16
60574
by: Paul Sweeney | last post by:
Does anyone know of a working (python) https proxy which allows viewing of unencrypted data being sent from my browser to an https site? I've worked my way through most on the list at...
0
3171
by: jtmerch | last post by:
what's the best option for using the Inet control in VB.net? Is there a control that's built for the .net framework that's similar to or better than the old Inet control? I'm opening a URL and...
0
1373
by: Rick | last post by:
Hi, I haven't been able to find a solution anywhere yet. I have a Vb6 application that has to be rewritten as a vb.net app and in the old application the inet control was set as: ...
14
2468
by: Peter Chant | last post by:
I'm currently authenticating a site I have built using basic http authentication built into apache. This has zero overhead on php which is a bonus but it seems to not quite work how I'd like. ...
0
1177
by: DotNetJunkies User | last post by:
Hello everyone: Ok here is a very weird problem I am having and I hope that some of you can share some thoughts with me on this. First of all, let me start by listing what I have: 1.-...
3
1456
by: E | last post by:
I have a https login page with C# code FormsAuthentication. After logging in, my https pages recognize that I'm logged in. My http pages do not. It's as if it's considering these pages under a...
2
1244
by: Web Search Store | last post by:
Hello, I'm spidering some search engine results and downloading them using the inet, internet transfer control. Then also using the Internet Explorer, because when it finishes downloading a...
0
7094
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7305
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5427
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4863
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3066
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.