[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Net::FTP Problems with Proxies



On Tue, Jun 01, 1999 at 06:08:51PM +0200, Matt Henderson wrote:
} Hello Folks,
} 
} I'm trying to create a MacPerl dropplet that will (recursively) upload all
} files in a folder structure to their corresponding (mirrored) location on my
} webserver.
} 
} My Net::FTP-based script works perfectly within our local network; however,
} it fails as soon as I try to FTP to a host outside our FTP proxy.
} 
} Here's a code sample:
} 
}     # Create a new FTP session object
}     $ftp = Net::FTP-new($host,
}         Timeout=>30,
}         Firewall=>$proxy,
}         Debug=>1) or die("Could not connect: $@\n");
} 
} It never gets past this statement. (Also, it doesn't seem to die after 30
} seconds!)
} 
} Any ideas? Does the MacPerl Net::FTP have problems dealing with Firewalls?

You sure you have an FTP proxy?  There are proxies and there are
proxies.  (I am *very* glad I've never had to deal with the brain
damage that are firewalls.)

The answer to your second question is, of course, no, since you
installed the latest libnet.

What does the debugging output tell you?

} 
} FWIW, I just downloaded and installed the latest libnet
} (libnet-1.0606.tar.gz), and that didn't help.
} 
} Any information or tips you might have would be greatly appreciated. Many
} thanks in advance.
} 
} Kind regards,
} 
} -- Matt
} 

-- 
Paul Schinder
schinder@pobox.com

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org