Page 1 of 1

FTP server file request issue

Posted: Sun Mar 20, 2022 10:41 pm
by Vernon
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)

Re: FTP server file request issue

Posted: Tue Mar 22, 2022 3:40 pm
by Vernon
Never mind - I figured it out...