Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.2k views
in .NET FTP by
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

3 Answers

0 votes
by (161k points)
Can you post a log file and translate the message into English?

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.


And here the Exception:

[NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]
0 votes
by
Hi,

Can you post a log file and translate the message into English?


Where can I find the log file? Is this a special log file?

Maybe the problem is, that the log file could not be created?

German:
[NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]
EnterpriseDT.Net.Ftp.FTPControlSocket.Log(String msg, Boolean command) +15

English:
[NullReferenceException: The Object reference has not been set to an Object instance.]
EnterpriseDT.Net.Ftp.FTPControlSocket.Log(String msg, Boolean command) +15

THX,

Ralph
0 votes
by (161k points)
Look at the dev guide or the unit tests for how to get a log file.

Where can I find the log file? Is this a special log file?

Categories

...