Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using FTP and clearing out memory
Message
De
26/04/2013 09:11:57
 
 
À
26/04/2013 08:43:56
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01571897
Message ID:
01571968
Vues:
32
Ok, I got it. Because, the inner Using can have a various type, it is an overload, I have to specify what loStream is:
                        Using loFtpWebResponse = loFtpWebRequest.GetResponse()

                            Using loStream As System.IO.Stream = loFtpWebResponse.GetResponseStream()

                                Using loStreamReader As New StreamReader(loStream)

                                    ' Load the files into the string builder
                                    loStringBuilder.LoadString(loStreamReader.ReadToEnd())

                                End Using

                            End Using

                        End Using
Thanks for the help, this works.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform