Re: Upload a directory to remote FTP server

2007-05-24 Thread yaron
10:26:00 AM (GMT+0200) Auto-Detected Subject: Upload a directory to remote FTP server Hi list, I want to upload a directory to a remote FTP server, is there any nice solution? Here is my script: #!/usr/bin/perl use Net::FTP; use File::Find; $ftp = Net::FTP->new("host", Port => 1

Upload a directory to remote FTP server

2007-05-24 Thread Shu Cho
Hi list, I want to upload a directory to a remote FTP server, is there any nice solution? Here is my script: #!/usr/bin/perl use Net::FTP; use File::Find; $ftp = Net::FTP->new("host", Port => 1234); $ftp->login("usr", "passwd"); sub upload_file { $ftp->mkdir($File::Find::name, 1) if -d; $ft