Recent

Author Topic: strange exitmessage from LNet.ftp  (Read 2768 times)

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
strange exitmessage from LNet.ftp
« on: December 17, 2014, 04:23:34 pm »
In one procedure I open a FTP connection, put files to host and close it. But when ftp will be disconnected I got the message:

Quote
221 you could at least say goodbye.

Connection lost.

I really don't know why.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

rvk

  • Hero Member
  • *****
  • Posts: 6163
Re: strange exitmessage from LNet.ftp
« Reply #1 on: December 17, 2014, 04:36:54 pm »
Just like the message said... you weren't polite and didn't say goodbye...  ;D

So you should issue a command "bye" (or "quit").
« Last Edit: December 17, 2014, 04:38:33 pm by rvk »

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: strange exitmessage from LNet.ftp
« Reply #2 on: December 18, 2014, 06:35:29 am »
Shouldn't Lnet.ftp component do that automatically when you disconnet FTP-connection?

 

TinyPortal © 2005-2018