NetTalk Central
NetTalk FTP => FTP - Ask For Help => Topic started by: rupertvz on August 16, 2018, 01:41:22 AM
-
Hi Bruce,
I am only using FTP templates to receive data,
I am receiving this error in my FTP application, but also in the demo app (only receiving files)
What does this mean?
-
it means you are doing a QUIT on your side, but the server has already closed the connection.
You can ignore this error. (you can detect, and suppress it in .ErrorTrap)
cheers
Bruce
-
Thank you Bruce,
I am able to detect "Quit" in .ErrorTrap, but the "error" message comes up before the error-trap.
Is there still a way to suppress the error in ErrorTrap?
I removed the line of code "ThisFTPControl.Quit()" from the GetNextFile (Routine) and PutNextFile (Routine),
Which then omits the error message.
I will be compiling my application into a service.
Is it OK to omit the the "Quit" lines of code?
-
It comes up in the PARENT call in error trap. Embed your code before the parent call, and don't call the Parent call in that case.
cheers
Bruce
-
Thank you Bruce,
Can I simply omit the code "ThisFTPControl.Quit()" from the GetNextFile (Routine) and PutNextFile (Routine)
Or is it better to suppress the error message instead?
-
It's better to suppress the error message.