Michael Williams wrote:
> Hi All,
> 
> I have a client for whom I developed a small application using Ruby
> and Curl to upload files to his file server (to and from Windows
> boxes).  He now wants that application to have multiple sockets in
> order to upload more than one file at a time.  I have no idea what
> course is the safest here.  Do I simply create threads that run the
> "curl" command and let that be, or do I try a library such as (http://
> www.chilkatsoft.com/upload-ruby.asp) and go from there?  I'm honestly
> not familiar with threading or chilkat.
> 
> Any suggestions would be most appreciated.
> 
> Regards.

You could try the curb library.   This version included support for the 
Multi interface, allowing multiple easy handles to perform concurrently. 
Check it out: https://github.com/taf2/curb/tree
-- 
Posted via http://www.ruby-forum.com/.