Moin!
Gerhard_S hat folgendes geschrieben : |
Ich möchte nur verstehen, nach welchen Regeln/Informationen es möglich ist, adfrw zu 0644 zuzuordnen (wie das in FileZilla geschieht; dort steht wörtlich: "afrw (0644)"). |
Aus adfrw 0644 zu machen ist nicht (mehr) möglich (jedenfalls nicht zweifelsfrei). Andersrum wird ein Schuh draus: wenn du weißt, dass das Filesystem für das Objekt 0644 hat (was für Rechte im Dateisystem des Linux-Servers steht), dann kannst du daraus (und weiteren Informationen) adfrw machen (was ja für folgende FTP-Aktionen am Client steht).
Gerhard_S hat folgendes geschrieben : |
Indys IdFTP liefert nämlich keine oktalen Angaben, die also von mir nachgeliefert werden müssen. |
Wozu?
Die Angabe 0644 im FTP-Client ist relativ nutzlos, hingegen liefert "adfrw" durchaus nützliche Informationen, nämlich welche folgenden FTP-Aktionen möglich sind bzw. nicht.
Wenn du, warum auch immer, die Rechte im Dateisystem des Servers brauchst (wobei du dann auch noch das Betriebssystem des Servers berücksichtigen musst, das ist ja nicht überall vergleichbar!), dann musst du diese mit den entsprechenden Kommandos halt noch zusätzlich abfragen. Wobei ich mich dunkel daran erinnere, dass das Indy-FTP-List durchaus die Linux-Ausgabe spiegelt, mit den Rechten...
cu
Narses
There are 10 types of people - those who understand binary and those who don´t.