Can't perform *ls* and *put* command on the remote server


I can access the remote directory and do cd into it, but when it comes to do ls or put command, it throws the error in the above image.


With same configuration, when I try to connect using FileZilla, it fails to retrieve directory listing, which I believe is same issue.

Please help I am stuck at this since last 2 days.

You can use this as a reference. Try finding any more questions like this. You may find your answer.

how can i resolve this error am i connected to ftp

you are actually connected, but issue is that there does not exist /usr/share/empty, so just create this directory and you are good to go.
Sorry for so late response.