Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: mkdir and set permission using Net::FTP

by hippo (Bishop)
on Apr 04, 2016 at 08:11 UTC ( [id://1159486]=note: print w/replies, xml ) Need Help??


in reply to mkdir and set permission using Net::FTP

umask should do it.

Update for clarification: Corion's response clearly assumes that the OP is creating the dir structure on the remote server and then sending the files whereas I have assumed that the dir structure is being created on the local machine and then retrieving the files. The original question doesn't specify which is the actual scenario.

  • Comment on Re: mkdir and set permission using Net::FTP

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found