[ ayttm-Feature Requests-992138 ] File transfer using yahoo protocol v15

"SourceForge.net" <[email protected]> Sun, 25 Oct 2009 05:25:23 +0000
Newsgroups gmane.network.instant-messaging.ayttm.user
Message-ID <[email protected]>
Feature Requests item #992138, was opened at 2004-07-16 11:04
Message generated for change (Settings changed) made by siddheshp
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550747&aid=992138&group_id=77614

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Yahoo
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: John (wuyouren)
>Assigned to: Siddhesh Poyarekar (siddheshp)
Summary: File transfer using yahoo protocol v15

Initial Comment:
I downloaded the ayttm and found out that I cannot
send file using libyahoo2.

So I studied the source code, seems like the way ayttm
implemented does not work with libyahoo2.

What happened is:
eb_yahoo_got_fd is called inside of the function
_yahoo_send_file_connected() in libyahoo2.
However, after the callback function (eb_yahoo_got_fd)
is called, _yahoo_send_file_connected() will call
yahoo_input_close() to close the file handler.  So you
will never be able to use that file handler to send
file.

Anyway, so I tried to do a test to see whether sending
file really works in libyahoo2.  What I did is to
write all the content inside the eb_yahoo_got_fd, but
still failed though I successfully wrote all the file
content to the file handler.

Later on, I downloaded gaim and it works for sending
files through yahoo.  So I study the ayttm source code
again and did some modification to make sure the
packets sent out are exactly same as what gaim sends
out.  However still no luck to make it work.  At this
time I have not idea now.

Here is a brief description of what I did for the testing:
1.  Connect to server
2.  Write http post 
3.  Write yahoo packet
4.  Write whole file content.

For step 2,3,4 the data I write is exactly same as gaim
except the session id and cookie, but it just does not
work......



----------------------------------------------------------------------

>Comment By: Siddhesh Poyarekar (siddheshp)
Date: 2009-10-25 10:55

Message:
File ransfer using YMSG15 is now in git.

----------------------------------------------------------------------

Comment By: Siddhesh Poyarekar (siddheshp)
Date: 2008-08-31 14:31

Message:
Logged In: YES 
user_id=925451
Originator: NO

File sending is fixed with the version 12 protocol. We still do not
support file transfer using the version 15 protocol. Moving this to feature
request now for version 15 protocol file transfer.

----------------------------------------------------------------------

Comment By: Edward L. Haletky (elh)
Date: 2004-09-20 17:22

Message:
Logged In: YES 
user_id=747074

Can you provide a patch? You are correct, file transfer is
broken.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=550747&aid=992138&group_id=77614

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference