Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP with https
Message
De
12/04/2011 10:18:00
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
FTP with https
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01507005
Message ID:
01507005
Vues:
108
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform