Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using FTP and clearing out memory
Message
De
26/04/2013 08:43:56
 
 
À
26/04/2013 08:39:24
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:
01571961
Vues:
36
>>I think we need some code of yours - the error you are getting is not related to Using - more a problem of type/casting
>
>It is very simple:
>
>
>                        Using loFtpWebResponse = loFtpWebRequest.GetResponse()
>
>                            Using s = loFtpWebResponse.GetResponseStream()
>
>                                Using loStreamReader = New StreamReader(s)
>
>                                    ' Load the files into the string builder
>                                    loStringBuilder.LoadString(loStreamReader.ReadToEnd())
>
>                                End Using
>
>                            End Using
>
>                        End Using
>
What's the definition of
loFtpWebRequest
loFtpWebResponse 
s
loStreamReader 
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform