how to create warning pop up when access sftp like this?
http://postimg.org/image/eeeyvkb7l/e97bf0ab/

That's not accessing sftp... If you were using the ftp protocols, the URL would have been something like "ftp://posting...." and not "http://posting....".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.