NetTalk FTP > FTP - Ask For Help

FTP Error Sending Data

(1/2) > >>

rupertvz:
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?

Bruce:
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

rupertvz:
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?

Bruce:
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

rupertvz:
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?

Navigation

[0] Message Index

[#] Next page

Go to full version