Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP with https
Message
From
12/04/2011 10:18:00
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
FTP with https
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01507005
Message ID:
01507005
Views:
107
If I have this code to use the FTP protocol to upload a file:
                ' URI
                lcURI = "ftp://" + cHost + lcPort + "/" + lcDrive + cRemoteDirectory + "/" + cRemoteFile

                ' FTP setup
                loFtpWebRequest = System.Net.FtpWebRequest.Create(New Uri(lcURI))
                loFtpWebRequest.Credentials = New System.Net.NetworkCredential(cUsername, cPassword)
                loFtpWebRequest.KeepAlive = False
                loFtpWebRequest.Method = System.Net.WebRequestMethods.Ftp.UploadFile
                loFtpWebRequest.UseBinary = True
                loFtpWebRequest.ContentLength = lnFileLength
What kind of adjustements will be required to support an FTP server access which would use a certificate?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform