如何捕捉或禁止indy的ftp组件的弹出错误信息(0分)

  • 主题发起人 主题发起人 maxwel
  • 开始时间 开始时间
M

maxwel

Unregistered / Unconfirmed
GUEST, unregistred user!
indy的FTP组件遇到错误时总是弹出英文的出错信息,请问各位高手如何把它变为中文,如果真的不可以
的时候,又有什么办法把它禁止弹出.谢谢
 
你还在问阿???
 
是啊,我急着要解决啊,你可以帮我吗
 
把要出错的地方贴出来
 
这个组件听说有bug,最好不要用,用ics的fcliftp吧。
 
ics的fcliftp好像得不到它list后的文件名处理,它只会弹出一个,是不是要注册才可以得到
 
它的出错信息就是:
在上传中途我再按取消,就弹出个出错信息"Connection closed Gracefully",以后什么操作才不得,如list ,只有断开后重新连接才正常
 
它的出错信息就是:
在上传中途我再按取消,就弹出个出错信息"Connection closed Gracefully",以后什么操作才不得,如list ,只有断开后重新连接才正常
 
我也遇到了
 
研究一下:
CheckForGracefulDisconnect
Checkfordisconnect
我原来直接DISCONNECT出错误,改为这样就没有问题了:
CheckForGracefulDisconnect(false);
if Connected then Disconnect;


------ If you receive an exception here, please read. ----------

If this is a SERVER
-------------------
The client has disconnected the socket normally and this exception is used to notify the
server handling code. This exception is normal and will only happen from within the IDE, not
while your program is running as an EXE. If you do not want to see this, add this exception
or EIdSilentException to the IDE options as exceptions not to break on.

From the IDE just hit F9 again and Indy will catch and handle the exception.

Please see the FAQ and help file for possible further information.
The FAQ is at http://www.nevrona.com/Indy/FAQ.html

If this is a CLIENT
-------------------
The server side of this connection has disconnected normaly but your client has attempted
to read or write to the connection. You should trap this error using a try..except.
Please see the help file for possible further information.

// ************************************************************* *)
raise EIdConnClosedGracefully.Create(RSConnectionClosedGracefully);
 
TO:jasper
客户端我用TIMER定时读数据,为什么就关不掉了
 
我也遇到这个问题了,怎么解决的啊????
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
后退
顶部