Web Hosting Talk







View Full Version : FTP Question


Shawn (GEcom)
02-17-2002, 12:57 PM
Does anyone know of a command to get the CHMOD value of a file/folder from an FTP Server?

I am writing an FTP Client, and can set permissions, but cannot figure out how to get them into the app.

Any help is appreciated,
Shawn

priyadi
02-17-2002, 08:50 PM
ls -al ???

The field with letters like rwx------ is actually what you are looking for.

Mike the newbie
02-17-2002, 10:43 PM
man stat is your friend