Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using FTP and clearing out memory
Message
From
26/04/2013 09:11:57
 
 
To
26/04/2013 08:43:56
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:
01571897
Message ID:
01571968
Views:
33
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform