ukhas jean wrote: > Hi, > > I am using Net::FTP to "put" files from a local dir to a folder on a > server using > $ftp->put (<filename>), where $fth is an obj of Net::FTP. > > But it seems "put" doesnt overwrite any existing files, if they are > already present on the server. How do I overwrite files on the server > forcibly by using Net::FTP??
I agree with Brian - you should be able to overwrite as long as you have the right perms on the server. Try printing out the remote dir : my $rfiles = $ftp->dir(); # get remote dir listing print "$_\n" foreach @$rfiles; _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
