Re: [Web-ftp] How can hide the hidden files on Unix/Linux
Status: Beta
Brought to you by:
aball
From: Anthony R. J. B. <an...@su...> - 2005-04-20 20:51:41
|
Well... that is kind of a Net::FTP thing.. not sure if you CAN do it there... where I KNOW you can clear them is in webftp/WebFTPPages.pm There is a line that looks like if($fn) { in the getDirectory subroutine (should be the only place it is in that file. you can change that to if($fn && $fn =~ /^\./) { What this does is skip any file or directory starting with a . which is how unix denotes hidden directories. When I graduate in June I think I will actually be able to do a major overhaul, I will have to add this as an option. On Wed, Apr 20, 2005 at 03:39:15PM -0500, jw...@fh... wrote: > Does anyone know how to modify the Web-FTP to hide these hidden file ( > .login, .bash_profile etc) on Unix/Linux? Thanks! > > Best regards, > > John -- www.suave.net - Anthony Ball - an...@su... OSB - http://rivendell.suave.net/Beer -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= At the touch of love everyone becomes a poet. |