ftpserverlib icon indicating copy to clipboard operation
ftpserverlib copied to clipboard

[FR] Upload file size limit

Open MrDini123 opened this issue 1 year ago • 1 comments

Hi,

I am using this project with afero's MemMapFS and I haven't figured out whether its possible to overwrite the writer somehow. I think it would be a nice addition to add a max upload size ftp setting. If the reader that reads the incoming stream from the client exceeds the given amount of bytes, it should thow an error.

Thanks for considering this

MrDini123 avatar Mar 09 '24 00:03 MrDini123

Hi,

this can be handled in your afero implementation

drakkan avatar Mar 13 '24 15:03 drakkan