I am using Ruby to send files to an FTPS site. This was working
perfectly until a week ago, now I get the following error:

c:/ruby/lib/ruby/1.8/net/ftp.rb:159:in `initialize': Bad file descriptor
- connect(2) (Errno::EBADF)
  from c:/ruby/lib/ruby/1.8/net/ftp.rb:159:in `open_socket'
  from
c:/ruby/lib/ruby/gems/1.8/gems/ftpfxp-0.0.4/lib/ftpfxp/ftpfxptls.rb:281:in
`transfercmd'
  from c:/ruby/lib/ruby/1.8/net/ftp.rb:470:in `storlines'
  from c:/ruby/lib/ruby/1.8/monitor.rb:229:in `synchronize'
  from c:/ruby/lib/ruby/1.8/net/ftp.rb:468:in `storlines'
  from c:/ruby/lib/ruby/1.8/net/ftp.rb:573:in `puttextfile'
  from ip_ecsprocess.rb:48
  from ip_ecsprocess.rb:43
  from c:/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:823:in `fetch'
  from ip_ecsprocess.rb:18

I have seen some posts about this problem but still can't find a fix for
my code. Is this an environmental problem? Could a microsoft patch on
the server cause this problem?
Any help is greatly appreciated.
-- 
Posted via http://www.ruby-forum.com/.