Part of my ftp interface
What i wanted was the capability to send freshly scaled images from the working storage via ftp to the ISP. Thus we could make article scans with high resolutions without the need for any special user guidance nor harddisk duplicates. That got possible by direct creation of messages fulfilling the RFC959. That a file must be involved is not in the RFC. The code snippet below is just evidence, not to be meant comprehensible.
Bachelor in math with programming experience since 1975 (octal machine code in school, later C, C++, tcl), i tasted blood only late in life - while programming a small Python-ERP for sales primarily via internet auctioneers during 2007-10 - 30.000 lines perhaps. I hate bad software and will always work hard not to write that sort of thing. Please do not request too high speed from me.