(a)Smack file transfer problem (possible bug on file transfer stream)

Hi there i am using asmack-android-19-0.8.10.jar and openfire to develop file transfer. i refered toharryjoy.com but i have problems when sending the file where transfer.getProgress() always return 0.0. below is the log file.

Send File :

`05-06 15:42:35.669: D/SMACK(25533): 03:42:35 PM SENT (1103132248):



lolo




http://jabber.org/protocol/bytestreams
http://jabber.org/protocol/ibb




05-06 15:42:35.719: D/SMACK(25533): 03:42:35 PM RCV (1103132248):





http://jabber.org/protocol/bytestreams
http://jabber.org/protocol/ibb




05-06 15:42:35.719: D/SMACK(25533): 03:42:35 PM SENT (1103132248):


05-06 15:42:40.713: D/SMACK(25533): 03:42:40 PM SENT (1103132248):



05-06 15:42:40.744: D/SMACK(25533): 03:42:40 PM RCV (1103132248):

05-06 15:42:40.754: D/SMACK(25533): 03:42:40 PM SENT (1103132248):


** Some data **

05-06 15:42:45.758: D/SMACK(25533): 03:42:45 PM SENT (1103132248):


** Some data **

05-06 15:42:50.763: D/SMACK(25533): 03:42:50 PM SENT (1103132248):

`

Receive file :

`05-06 04:53:06.409: D/SMACK(1324): 04:53:06 AM RCV (1384483676):


lolo



http://jabber.org/protocol/bytestreams
http://jabber.org/protocol/ibb





05-06 04:53:06.413: D/SMACK(1324): 04:53:06 AM SENT (1384483676):





http://jabber.org/protocol/bytestreams
http://jabber.org/protocol/ibb




05-06 04:53:06.429: D/SMACK(1324): 04:53:06 AM RCV (1384483676):


05-06 04:53:11.433: D/SMACK(1324): 04:53:11 AM RCV (1384483676):


05-06 04:53:11.441: D/SMACK(1324): 04:53:11 AM SENT (1384483676):

05-06 04:53:11.485: D/SMACK(1324): 04:53:11 AM RCV (1384483676):


** Some data **

05-06 04:53:16.545: D/SMACK(1324): 04:53:16 AM RCV (1384483676):

** Some data **

05-06 04:53:16.545: D/SMACK(1324): 04:53:16 AM RCV (1384483676):
** Some data **

05-06 04:53:21.501: D/SMACK(1324): 04:53:21 AM RCV (1384483676):


`

This is the error code i got from transfer.getException for sendFile();

05-07 09:08:01.917: D/Error(12587): chatRoom.java at line 892 : error writing to output stream: 05-07 09:08:01.917: D/Error(12587): -- caused by: java.io.IOException: Error while closing stream: No response from server.