I have an application using the Net::FTP module to move files from a
Windows system to a RH Linux box.  The application copies the file and
directory structure across the systems.

The files that get transferred to the Linux box end up with the
permissions of "-rw-------" (600).  I need the rights to be at least
"-rw-rw-r--" (664).

The directories that get created have similarly restrictive permissions
of "drwx------" (700).  I need the rights to be at least "drwxr-xr-x"
(755).

I can't seem find out how to change the permissions via the Net::FTP
module.  I can do it manually from the command line via the chgmod
command but that defeats the purpose of automation.

Thanks,
 

James H. Cutts III

Computer Project Manager
Contracting and Organizations Research Institute
<http://cori.missouri.edu/> 
University of Missouri - Columbia
143C Mumford Hall
Columbia, MO
65211
 
Phone: (573) 882-6181
E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
 
Programming is the eternal competition between programmers who try to
make apps more and more idiot proof and the universe that makes dumber
idiots. So far, the universe is winning... 

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to