From: lsumnler@... Date: 2006-10-19T04:10:17+09:00 Subject: Re: newbie ftp problem ara.t.howard@noaa.gov wrote: > On Thu, 19 Oct 2006, Gavin Kistner wrote: > > > From: lsumnler@gmail.com [mailto:lsumnler@gmail.com] > >> ftp = Net::FTP::new('my.url.com') > >> ftp.login('login_id','login_pass',nil) > >> ftp.chdir('data') > >> > >> all goes fine but at this point I have tried all of the following and > >> get the same errors > > try > > ftp.passive = true > > >> > >> files = ftp.list('data') > >> files = ftp.dir('data') > >> files = ftp.dir(dir = nil) > >> files = ftp.nlst('data') > >> > >> Net::FTPPermError: 500 Invalid PORT command. > > -a > -- > my religion is very simple. my religion is kindness. -- the dalai lama Tried the passive - still get the same error Thanks Len Sumnler