Connecting to an FTP - with perl

They have: 850 posts

Joined: Jul 1999

I need to be able to connect to a ftp that will be inside a database, along with a password, username and specific port. Think anyone can show me an example, or redirect me to information about connecting to a ftp via perl?

----------
[Rob P]
[Email:[email protected]]-[ICQ:16560402]-[Voice Mail:1-877-309-2286]

They have: 112 posts

Joined: Apr 1999

Rob,

You can use net::ftp to do the task, the reference is over here.
http://www.perl.com/reference/wrap.cgi?net-ftp
Its bundle with perl by default... i think...
if your server does not have the library installed, go and download the libnet bundle, net::ftp is inside the bundle along with other several good network libraries.
http://www.perl.com/CPAN/modules/by-module/Net
Later

Joe Thong

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.