Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

best method to upload to FTP keeping directory structure

by flieckster (Scribe)
on Aug 20, 2020 at 19:05 UTC ( #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? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2021-12-03 20:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (30 votes). Check out past polls.

    Notices?