From: Albert Schlef Date: 2009-05-08T16:44:22+09:00 Subject: Re: File over tcp? with out using net/ftp Albert Schlef wrote: > Bigmac Turdsplash wrote: >> Im trying to send a file back and forth between a client.rb and >> server.rb... >> >> How can i do this with out using ftp? > > There are gazillion other protocols for transferring files expect FTP. > > For example, you can use HTTP. Write a tiny server with Sinatra, and the > client with Mechanize. > > You can also write your own protocol. Sorry, I didn't notice the "back and forth" part. So HTTP isn't very suitable for this. Right now I can't think of some other protocol. What's the problem with FTP? -- Posted via http://www.ruby-forum.com/.