@Bob-Smith
Yes I am positive. I compiled the file on my server then ran the file.
That really doesn’t answer the question from my perspective, because I thought it was the file on your local machine that was having problems with and doubting the integrity of, since that’s the one that’s not properly syntax highlighting. You gave a cryptic “On the local files it shows text file which I do not understand”, which implied to me that what you were seeing on the local computer (not on the server) was not PRO*C code like you were expecting. But now you are saying you compiled it on the server. So I am not understanding the circumstances you are trying to describe. How is it “text file which I do not understand” but at the same time valis PRO*C code???
Its treating them different based on whether it is a local file or remote file
As I said, Notepad++ cannot see the difference, because NppFTP puts the file locally on your computer, and Notepad++ opens both files from your computer – the one we are calling remote, from NppFTP, and the one that I am calling “local”, from your computer. If they have the same extension, Notepad++ should be treating them the same (unless one of them happens to have the first line start with <? or #/usr/bin/bash or similarly recognized first-line phrases, which can cause Notepad++ to ignore the extension)
I am using my home computer to respond.
Then you will need to gather all the requested information, then come back when you are able to post that. Without showing us the difference between what Notepad++ interprets and shows on remote files and what Notepad++ interprets and shows on local files, you are asking the impossible of us (we cannot see through your eyes or read your memory; we have no idea what you’ve seen; your description of the problem symptoms doesn’t match our experience with how Notepad++ behaves).
Other things to look at: show a screenshot Style Configurator > C dialog, so we can see what the Default and User extensions are for your setup. And, if on the version with syntax highlighting, or the version without, Notepad++ shows a language other than C Source File in the status bar, then you will need to show the Style Configurator screenshot for whatever language that says as well.
BTW: .sc by default is not a known extension in Notepad++, so someone (you or an IT person) must have added it into the User or possibly Default extension list for whatever language it is getting lexed as, to get even the remote version to syntax highlight. (The pre-defined extensions for C and C++ are .c .lex for C and .cpp .cxx .cc .h .hh .hpp .hxx .ino for C++.)