I have written an FTP application that is working with no issues.
It uploads one of 4 files to various printers on my network. I maintain a list of IP addresses.
The 4 files are printer configuration files, that contain either 1 or 3 lines of code. Very simple files.
What I want to do is hard code the contents of the files I am uploading into my application so that it doesnt have to open, read, and close the files each and every time.
Is this possible?
I understand that FTP means File Transfer Protocol, therefore the theory is that it uploads a "file".
I guess I was hoping to hook into the "buffer" part. Istead of reading something into the buffer - I pass it directly into the buffer from within my application from static strings.