I am connecting to a SSH server
using PHP
and there is file called difference in the server.
I want to check whether it is empty or not and echo something depending on the result.
I am aware of the function :
file_get_contents("./difference")
But this will work in in the localhost
directory. I want to check in the SSH server.
How Should i proceed...?
PS : I use ssh2 to connect to ssh server