Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Bad file descriptor - connect(2) (Errno::EBADF
Valerie Hollingsworth
5/9/2008 5:39:00 PM
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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Bad file descriptor - connect(2) (Errno::EBADF
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password