PDA

View Full Version : Wanted: Recursive CHMOD


prowsej
05-14-2002, 09:20 AM
I can recursively delete files (by deleting a directory, which deletes all files in all subdirectories).

Why can't I recursively chmod files? Often I upload files to a unix-based server and then find that the permissions are all wrong. If I've just uploaded several hundred files in a few dozen directories, chmodding them all can be a real pain. When I usually just want to apply the same permissions to every file that I've just uploaded.

I suppose this isn't part of the FTP spec, but it'd be rather easy to add and it's a feature that no FTP client supports that I know of.

bigstar
05-14-2002, 01:57 PM
Right now the best way to do that is via Tools | Find Files on FTP Server. Enter *.* as the pattern and start searching, then select all, right click and select CHMOD to apply a new CHMOD to all of the selected files.

prowsej
05-14-2002, 04:04 PM
I didn't know that feature existed. I suppose that the product currently exposes all of the functionality that I need and it's better to leave things as they are becuase added recursive FTP would make the menus too complicated when also allowing for CHMODing folders.

bigstar
05-14-2002, 04:22 PM
oops, I said enter *.* but perhaps just * would be more appropriate. *.* will only find files/folders that contain a period.

prowsej
05-14-2002, 08:47 PM
Yeah, I figured that out when the folder search didn't return any results. :)

I'm very glad that I found this service that makes it work. Thank you very much.

lottos
11-17-2003, 01:34 AM
doesn't work for me on version 2.

I do as instrcucted (via ftp option) select the directory I want all files to be chmodded and only the directory gets the new permissions. Is there a way to chmod all files within without having to open each sub directory etc.?

prowsej
11-17-2003, 01:41 AM
Tools | Find Files on FTP Server. Enter * as the pattern and start searching, then select all, right click and select CHMOD to apply a new CHMOD to all of the selected files.

lottos
11-17-2003, 01:45 AM
tried that - it didn't work.

I applied it to a top level folder and none of the contents had the chmod applied.

bigstar
11-17-2003, 09:42 AM
FlashFXP v2.1 added a recrusive CHMOD option, this option is located directly on the CHMOD dialog, to enable this option check "Apply changes to all subfolders and files"


lottos When using the FTP Search make sure you selected all of the files, not just the folder.