static void readFromFTP()
{
object ftpo;
System.Net.FtpWebRequest request;
System.IO.StreamReader reader;
System.Net.NetworkCredenti al credential;
System.Net.FtpWebResponse response;
System.String text;
;
ftpo = System.Net.WebRequest::Cre ate("ftp:/ /ftp.iso.com/i ntro.html" );
request = ftpo;
// credential = new System.Net.NetworkCredenti al("user", "password" );
// request.set_Credentials(cr edential);
response = request.GetResponse();
reader = new System.IO.StreamReader(res ponse.GetR esponseStr eam());
text = reader.ReadToEnd();
info(text);
}
{
object ftpo;
System.Net.FtpWebRequest request;
System.IO.StreamReader reader;
System.Net.NetworkCredenti
System.Net.FtpWebResponse response;
System.String text;
;
ftpo = System.Net.WebRequest::Cre
request = ftpo;
// credential = new System.Net.NetworkCredenti
// request.set_Credentials(cr
response = request.GetResponse();
reader = new System.IO.StreamReader(res
text = reader.ReadToEnd();
info(text);
}