Re: Logging to a Server via ftp.

2003-11-17 Thread Yupapa.com
Hello~ #!/usr/bin/perl use Net::FTP; use strict; my $ftp = Net::FTP->new("some.host.name", Debug => 0) or die "Cannot connect to some.host.name: $@"; $ftp->login("anonymous",'-anonymous@') or die "Cannot login ", $

Re: File::Copy & CGI.pm

2003-08-20 Thread Yupapa.com
HiHi~ If you are transfering file from a local machine to a remote machine, you do not use File::Copy module to copy files. File::Copy is used for copying files locally. You can use Net::FTP to transfer files from one machine to another. And of course, you will need a FTP server for the machine