in reply to Re: Deleting Folders
in thread Deleting Folders

Boris, I tried that today and I got the same message...

foreach $folder (@iqfolder_arr) { #my $dirpath = '/ep005/egate/client/iq/'; #$dirpath .= $folder; print($folder); $ftp_disco->rmdir($folder, 1) || die "FTP Message>@{[ $ftp_disco->mes +sage ]}\n"; }


Here is the error message:
{E9424A48-0086-11D7-AE05-AD16EA76821A}FTP Message>{E9424A48-0086-11D7-AE05-AD16E A76821A}: Do not specify an existing file.

Replies are listed 'Best First'.
Re: Re: Re: Deleting Folders
by borisz (Canon) on Feb 06, 2004 at 16:28 UTC
    Hmm, I have no clue, try $ftp_disco->rmdir("\Q$folder",1); and try to rename a folder and retry it with your script.
    Boris