Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

best method to upload to FTP keeping directory structure

by flieckster (Scribe)
on Aug 20, 2020 at 19:05 UTC ( [id://11120936]=perlquestion: print w/replies, xml ) Need Help??

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 (Canon) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11120936]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found