Re: Unable to send file through libyahoo2

youren wu <wuyouren2004-/[email protected]>
Newsgroups gmane.network.instant-messaging.ayttm.user
Message-ID <[email protected]>
Later on, I downloaded gaim and it works for sending
files through yahoo. So I studied 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
point I have no 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, and I did check for
all the return value to make sure the write is
successful. But it just does not work...... I am very
frustrated now......
Any body know how to verify whether session id and
cookies are correct??

John
--- Edward L Haletky <elh-WO6m4u01wFS1Z/[email protected]> wrote:
> Please open a bug report on this, and please
> continue to work on a
> solution. All of file handling looks to need a
> rewrite to not be
> threaded so the more you can add the better.
> 
> Also, once the data is read from the fd it is in the
> system so there
> could be a yahoo protocol issue going on.
> 
> Best regards,
> Edward Haletky
> 
> On Thu, 2004-07-15 at 11:49, youren wu wrote:
> > Hi, All,
> > 
> > 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.
> > 
> > Anybody has any idea?
> > 
> > Thanks
> > 
> > John
> > 
> > 
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail is new and improved - Check it out!
> > http://promotions.yahoo.com/new_mail
> > 
> > 
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by BEA Weblogic
> Workshop
> > FREE Java Enterprise J2EE developer tools!
> > Get your free copy of BEA WebLogic Workshop 8.1
> today.
> >
>
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> > _______________________________________________
> > Ayttm-users mailing list
> > [email protected]
> >
>
https://lists.sourceforge.net/lists/listinfo/ayttm-users
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic
> Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1
> today.
>
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> Ayttm-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/ayttm-users
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.