drftpd-ng / drftpd

Distributed Daemon FTP Server (aka DrFTPD)
GNU General Public License v2.0
57 stars 20 forks source link

STOU FTP command not implemented #228

Open ghost opened 3 years ago

ghost commented 3 years ago

Describe the bug STOU FTP command not implemented.

To Reproduce Steps to reproduce the behavior: Log on FTP Execute :

STOU
[R] 502 Command not implemented.

DrFTPD

Additional context

From servu-u :

STOU FTP command Similar to the STOR command, the STOU command is issued after successfully establishing a data connection to transfer a local file to the server. A file name is provided for the server to use. If the file does not exist on the server, it is created. If the file already exists, it is not overwritten. Instead, the server creates a unique file name and creates it for the transferred file. The response from the server will contain the created file name.

Common responses:

110, 125, 150 226, 250 421, 425, 426, 450, 451, 452 500, 501, 530, 532, 534, 535, 551, 552, 553

https://www.serv-u.com/resource/tutorial/appe-stor-stou-retr-list-mlsd-mlst-ftp-command

hrxcodes commented 3 years ago

I don't see a usecase for this in drftpd. My suggestion is removing the TODO comments and obsolete commented code