This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FTP SERVER netFTPs_FileAccess not working

Hi all,

I'm triying to deny access for writing to the FTP like this

bool netFTPs_FileAccess (uint8_t user_id, const char *fname, uint32_t access) {
  if (access == NET_ACCESS_FILE_WRITE)
                return false;
  return (true);
}

But code is not executing, I can put a breakpoint on the code but when I put a file on the FTP the code is never executed... why??

Thanks