What is the server code needed in the StoreFile procedure to PUT a file from a client to an FTP Server?
Example code for GETTING a file is as follows (from previous postings):
procedure Form1.IdFTPServer1RetrieveFile(ASender: TidFTPServerThread; const AFileName: string; var VStream: TStream);
VStream := TFileStrea.Create(AFileName, fmOpenRead);
But how do you implement a PUT on the server side?
I'm sure the solution is obvious.