From: Martin Boese Date: 2008-07-31T17:48:22+09:00 Subject: Re: My simple downloader doesn't work Maybe because active ftp and your firewall, try: require 'open-uri' open("ftp://whatever.ftp.site", :ftp_active_mode => false).read or with net/ftp call: ftp.passive martin On Thursday 31 July 2008 08:29:15 WujcioL wrote: > It still don't work: > > require 'open-uri' > > puts > > open("anonymous:anonymous@sunsite.icm.edu.pl/pub/Linux/slackware/slackwar > >e-12.0/CHECKSUMS.md5.asc").read > > Net:FTPPermError: 500 Illegal PORT Command > > I thinking about some bug in open-uri and net/ftp. Code is simple and > it runs so that's not mine error. Of course i succesfully downloaded > this file using Firefox3 and TotalCommander. > Code was tested on winXP and Kubuntu8.04.