I am developing with Ruby 1.6.2 on WinNT.

I am trying to create a script
that uses both 'win32ole' and 'net/ftp'.

The code looks like this:

require 'win32ole'
require 'net/ftp'

ftp = Net::FTP.new( servername )
ftp.login( login, password )
ftp.gettextfile( source, destination )
ftp.close

This code, when run, produces the following error:

errno EALREADY triggered - "connect(2)"

When you take away the "require 'win32ole'" line,
the code works fine.

How is 'win32ole' interfering with FTP functionality?

Does anyone know?

Thanks

Richard