473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

File download via https using vb.net or c#

I would like to upload and download text files from an https website. How can I do this? I can accomplish this with FTP and HTTP, but I need to do it with HTTPS! Can a webrequest object do this using c# or vb.net
May 30 '07 #1
3 5628
I would like to upload and download text files from an https website. How can I do this? I can accomplish this with FTP and HTTP, but I need to do it with HTTPS! Can a webrequest object do this using c# or vb.net
If the https site requires certificate-based authentication, you'll need to provider your client certificate together with your webrequest.
May 30 '07 #2
lery
1
I try to download pdf files from an https website. How can I do this? I can accomplish this with HTTP, but I need to do it with HTTPS!
I try with webrequest object do this using c# or vb.net but send the error
The underlying connection was closed: An unexpected error occurred on a sendthank
Feb 29 '08 #3
Hey im trying to do the same thing. Can you please give some code snippet that shows to create the HTTP Request to include the client certificate?

currently the file cannot be uploaded but get the response that user is logged in. i dont know how the file should be sent using the client certificate on the HTTPS.
Please Comment.
Thanks!
Nov 21 '08 #4

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

Similar topics

8
by: Philipp Brune | last post by:
Hi all, the following problem occured to me and I hope somebody can help me : I need to implement an encrypted File download with a PHP script on the server side and a c# client application....
5
by: Michael Brennan | last post by:
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????...
2
by: Jay Donnell | last post by:
I have a asp script that creates a text file for download. It works perfectly under http but breaks under https. Here is the error I get in IE when I try to download it. Internet Explorer cannot...
4
by: Drew | last post by:
I have been looking all over the web for an example of how to accomplish this. I am trying to download a comma seperated file from a https server. I can't establish the connection - the error reads...
0
by: CodeMotion | last post by:
I have access to an internet directory and files will be placed in this directory periodically. I am writing a service to poll that directory and download the files for processing. I have figured...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
4
by: Nader Shahin | last post by:
I tried to develop an application to download a file from an Https server. My application was able to download a file from a regural Http server. I used a WebProxy and i passed the...
2
by: Nader Shahin | last post by:
I tried to develop an application to download a file from an Https server. My application was able to download a file from a regural Http server. I used a WebProxy and i passed the...
1
by: Chad T | last post by:
I am very new to VB.Net (most of my experience is with vbscript) My goal is to create a executable to download files from a HTTPS server. I have to pass the credentials to the https server. The...
12
by: MimiMi | last post by:
Hi y'all! I'm new at perl, and I'm trying to automate a file fetch. I have this url (in this example called 'https://GetMyFile'), which, when I paste it into a browser, gives me the pop-up "File...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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
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...

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.