-3

When one uses FTP/SFTP on Linux, is the method the server uses to create directories and files mkdir and open or something else entirely?

1 Answers1

6

Yes it probably does use mkdir(2) and open(2) (or something very similar).

You could check by running strace(1) on your ftp daemon and exercising it e.g.

strace -p <pid of ftp daemon>
user9517
  • 117,122