Are you asking how to move directories within a site using FTP? If so, the FTP protocol, itself, is not really designed to do that. You are much, much better off finding a way to shell onto that system, and using it's native copy comamnds.
Otherwise, if you're stuck with FTP, 2 ideas come to mind:
- See if the quot comamnd in Net::FTP allows you to do something like $ftp->quot('cp -R /home/dir1/* /home/dir2');, or
- Simply get the files to your local system, and then put them into the new directory on the remove system.
Hopefully, some of this helps. It's hard to aid more without more on your situation,
marto's comments and links to how to do a write-up are well worth the reading and using. Help us help you, please. :)
----Asim, known to some as Woodrow.