//flex table opened by JP

Click to See Complete Forum and Search --> : perl net::ftp module problem


emcron
07-04-2001, 12:43 PM
I have a website and I have to update frequently now. So I though I right up a script to take care of it. I can connect to the ftp site with the script, but the problem is I have to connect to a specific port. So the question is how to I specify which port to connect to in the net::ftp module.

emcron
07-04-2001, 03:24 PM
I love google. I found the answer in google groups. If anyone is interested its below.

# Open the connection to the host
$ftp = Net::FTP->new($hostname, (Debug => 1, Port => 2121));