perl net::ftp module problem
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.
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));
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke