Your device MUST run 4.2. It already has some version of 4.2 on it (one of the errors says so).
You need to make sure you install the correct firmware that your SDK comes with.
Then you need to start a new project. You must start a 4.2 project. Do NOT add references to old 4.1 framework components.
The FTP server project you had was originally written for 4.1. You must take that and translate it for 4.2. That might be simple or it might be more work. But you need to do that, it’s not going to be a case of dropping in the old code and it’ll just work, sorry.