Hi 
I am getting this exception when I instantiate ftp client 
Dim ftp As FTPClient = Nothing
        ftp = New FTPClient(hostName)
        ftp.Login("", "")
System.NullReferenceException: Object reference not set to an instance of an object.
NullReferenceException: Object reference not set to an instance of an object.]
   EnterpriseDT.Net.Ftp.FTPControlSocket.Log(String msg, Boolean command) +15
   EnterpriseDT.Net.Ftp.FTPControlSocket.ReadReply() +54
   EnterpriseDT.Net.Ftp.FTPControlSocket.Initialize(BaseSocket sock, IPAddress remoteHost, Int32 controlPort, Int32 timeout) +115
   EnterpriseDT.Net.Ftp.FTPControlSocket..ctor(IPAddress remoteHost, Int32 controlPort, Int32 timeout) +141
   EnterpriseDT.Net.Ftp.FTPClient.Connect(IPAddress remoteAddr, Int32 controlPort, Int32 timeout) +301
   EnterpriseDT.Net.Ftp.FTPClient..ctor(IPAddress remoteAddr, Int32 controlPort, Int32 timeout) +182
   EnterpriseDT.Net.Ftp.FTPClient..ctor(String remoteHost) +36
   TestProject.testFTP.Button1_Click(Object sender, EventArgs e) in C:\Documents and Settings\nbksm9v\VSWebCache\172.17.7.28\testFTP.aspx.vb:35
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1292
please help me somebody.
thanks