When requesting a file using an FTP client, for example CORE FTP, using the function below, I don't get a 'file_name' at all unless it matches the READ_FILENAME definition. The example tests for a match but that seems superfluous because if you remove the test and attempt put the file name on the local screen at the beginning of this function you get nothing if there is no match to READ_FILENAME. Where can I find the filename sent by the FTP client?
int FTPD_SendFileToClient(const char *full_directory, const char *file_name, void *pSession, int fd)
FTP server file request issue
Re: FTP server file request issue
Never mind - I figured it out...
MOD54415 at http://www.phaseanglemeter.com