Hi,
yesterday I've downloaded the edtftp.net Version.
I'm using the edtftpnet-1.1.8.dll as a library.
My test appication works finde on my local develop machine, but it doesn't on our server.
The simple Spurce Code is:
oFTPClient = New EnterpriseDT.Net.Ftp.FTPClient
oFTPClient.RemoteHost = CONST_FTP_SERVER
oFTPClient.Connect()
oFTPClient.Login(CONST_FTP_USER, CONST_FTP_PASSWD)
oFTPClient.ChDir(CONST_FTP_DIR)
oFTPClient.Put(sFileName, CONST_FTP_FILE)
oFTPClient.Quit()
Any idea?
THX,
Ralph
And here the Exception:
[NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]
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) +121
EnterpriseDT.Net.Ftp.FTPClient.Connect(IPAddress remoteAddr, Int32 controlPort, Int32 timeout) +307
EnterpriseDT.Net.Ftp.FTPClient.Connect() +45
firewall.SiBeExportFTP.SibeExportList(HttpServerUtility poServer, ArrayList poUserArrayList) in C:\Inetpub\wwwroot\firewall\SiBeExportFTP.vb:85
firewall.FirewallApp.SibeExportList(HttpServerUtility poServer) in C:\Inetpub\wwwroot\firewall\FirewallApp.vb:680
firewall.WebForm1.cmdModeAdmin_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\firewall\Default.aspx.vb:107
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