Hi,
I have a question about the Net::FTP library, specifically about the rmdir
method. I'm trying to delete a directory, foo, that contains several Word
files and also a bar directory that itself contains several word files. How
can I do this with the Net::FTP library?
Normally, from the command line, I would just use:
rm -r foo
but the directories to be deleted are on a remote machine, so I'm using an
$ftp object to access the machine. When I call:
$ftp->rmdir("foo")
it appears to be failing and my guess is that's because it seems like
$ftp->rmdir("foo") is translated to "rmdir foo" which will obviously fail
since foo isn't empty. Any ideas? Thanks.
-Jose
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]