[mailto:email@example.com] On Behalf Of Peter B.
Sent: Tuesday, May 09, 2006 11:59 AM
To: ruby-talk ML
Subject: Re: RUBY on 64-bit Windows PCs.
I’m not sure it’s related, but you’re unnecessarily reopening your ftp
connection for every file. My guess is that one of those sessions
isn’t closing properly, causing it to hang. Try moving the loop inside
cindexfiles = Dir.glob("_-*.pdf")
Net::FTP.open(‘mpc.bna.com’) do |ftp|
ftp.debug_mode = true
ftp.passive = true
cindexfiles.each do |cindexfile|
If that still hangs for some reason, try a non block approach with
Net::FTP and see if that works.
Hope that helps.
This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.