So I am getting a list of everything in a directory on a ftp server using
data = []
ftp.dir(data.append)
then when I print this out I get back this list
drwxrwxrwx 2 0 0 16384 Oct 3 12:54 Andrew
drwxrwxrwx 2 0 0 16384 Oct 1 16:06 Other Files
drwxrwxrwx 2 0 0 16384 Oct 3 13:13 Python and FTP
-rwxr-xr-x 1 0 0 657 Oct 2 03:55 READ ME.txt
-rwxr-xr-x 1 0 0 235 Sep 30 05:16 START HERE.html
drwxrwxrwx 2 0 0 16384 Oct 3 13:18 Test Directory
drwxrwxrwx 2 0 0 16384 Oct 3 01:06 Test Website
drwxrwxrwx 7 0 0 16384 Oct 1 16:21 Website
-rwxr-xr-x 1 0 0 235 Sep 30 05:16 index.html
What I am wondering is what all the different things mean...
I figured out that d means directory and - means file, but what about the rest in the string drwxrwxrwx or -rwxr-xr-x, and then what do the other things mean? Like on the first line, I presume the 2 is the amount of files? but what about 0 and 0, then what are the other numbers?