Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP SSL under HTTPS
Message
From
14/04/2011 06:40:00
 
 
To
14/04/2011 06:35:08
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01507168
Message ID:
01507259
Views:
29
>>>I have a situation which I cannot know how to resolve. Regular FTP connection using FtpWebRequest() would go as follow:
>>>
>>>ftp://ftp.mysite.com/MyDirectory
>>>
>>>
>>>                loFtpWebRequest = System.Net.FtpWebRequest.Create(New Uri(lcURI))
>>>                loFtpWebRequest.Credentials = New System.Net.NetworkCredential(cUsername, cPassword)
>>>                loFtpWebRequest.Method = System.Net.WebRequestMethods.Ftp.ListDirectoryDetails
>>>
>>>
>>>If the client installs a FTP SSL certificate, then, the following would work:
>>>
>>>ftps://ftp.mysite.com/MyDirectory
>>>
>>>
>>>                loFtpWebRequest = System.Net.FtpWebRequest.Create(New Uri(lcURI))
>>>                loFtpWebRequest.Credentials = New System.Net.NetworkCredential(cUsername, cPassword)
>>>                loFtpWebRequest.Method = System.Net.WebRequestMethods.Ftp.ListDirectoryDetails
>>>                loFtpWebRequest.EnableSsl = lSSL
>>>
>>>
>>>But, I have a situation where the client has installed a FTP SSL certificate but under https.
>>
>>Bit confused by that. Can you clarify? Is someone really attempting to host an FTP site accessed using the 'https' prefix ?
>
>This may be an option - cannot test it - http://connect.microsoft.com/VisualStudio/feedback/details/181054/add-support-for-ftps-and-sftp-uris-for-webrequest

Sorry - but what's that got to do with using 'https:'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform