flieckster has asked for the wisdom of the Perl Monks concerning the following question:

hello all, can anyone point me in the correct direction or where to start with my issue (of which i have many). I have the need to upload a directory, within another directory, with images in the sub directories. Main Dir -- sub dir -- image -- sub dir2 -- image i have no issue globing the contents of a directory, and FTP, but whats the best way to move these other then zipping the directory up, and transferring as a zip? thank you for your guidance as always.
  • Comment on best method to upload to FTP keeping directory structure

Replies are listed 'Best First'.
Re: best method to upload to FTP keeping directory structure
by soonix (Chancellor) on Aug 20, 2020 at 19:51 UTC
      Ok i'll take that and run with it, many thanks!
Re: best method to upload to FTP keeping directory structure
by marto (Cardinal) on Aug 21, 2020 at 07:31 UTC

    Does it have to be FTP or would you consider Rsync? There are several rsync modules on cpan.