dx42 / MockFtpServer

Apache License 2.0
14 stars 3 forks source link

Missing implementations for MDTM and MFMT commands #16

Open pbtura opened 2 years ago

pbtura commented 2 years ago

While looking through the supported commands, I noticed that MDTM (get modification date) and MFMT (set modification date) are missing. While I realize that not every FTP server supports those commands, for those that do, having them available would be useful for testing.

Are there any plans to include these commands in future versions? If not, what is the reason for excluding them? Is there something about the way those commands work that would make them difficult to implement or are they just not used often enough to be a priority?

chrismair commented 2 years ago

There were so far no specific plans to implement those commands, only because there had not been any need/interest. This issue is a start. Those commands look pretty straightforward, though.

In the meantime, one option is to implement them yourself, and a PR is always welcome.

pbtura commented 2 years ago

Good to know. I was thinking about taking a shot at implementing them, but I wanted to make sure there wasn't a techincal reason they weren't already included before investing the time.