mput functionality is pretty trivial to code up once you have the list
of files.
something along the lines of ...
opendir(LOCALDIR, $local_dir) || die "that sux";
@filelist = readdir(LOCALDIR);
closedir(LOCALDIR);
foreach $local_file (@filelist) {
next if /^\./ =~ $localfile;
$ftp_conn->put($local_file);
}
when last we saw our hero (Monday, May 20, 2002),
jasonandmissy at cableone.net was madly tapping out:
> I am writing a perl script that ftp's the contents of a directory a
> couple of times a day. I loaded net::ftp and I can ftp by the exact
> file name. How would I ftp the whole directory or is mput supported
> with any perl module?
>
>
--
steve ulrich sulrich at botwerks.org
PGP: 8D0B 0EE9 E700 A6CF ABA7 AE5F 4FD4 07C9 133B FAFC