which ftp client or which syntax allows easy chmod of subdirectories?
+1
A:
ncftp will support the chmod
command if the FTP Server supports it.
Ken Gentle
2008-11-25 13:42:28
A:
As the answer from @Ken G suggests, this is more likely to be a question of "what does the FTP server support".
I tried ncftp (running under Cygwin on Win XP) against Sun FTP running on Solaris 10 (where chmod -R
is supported by the o/s version of chmod
). I got an error back:
ncftp /work1/jleffler/tmp > chmod -R g+x *
chmod g+x: server said: 'SITE CHMOD -R g+x': command not understood.
chmod *: server said: 'SITE CHMOD -R xx.pl': command not understood.
ncftp /work1/jleffler/tmp >
My suspicion is that few if any systems make it easy. It would be worth checking out whether the NCFTP server helps you.
Jonathan Leffler
2008-12-13 05:44:50