Connecting to a server

i am trying to create an app that would review text file that is on the server, how would i go around in doing that?

i believe i need to login to the server for example root@123.123.123.123 and eneter the password, later i need to navigate the file path of where the file is for example /usr/local/folder/file.txt
how can this be done? do i have to worry about firewalls or anything else?

i am trying to create an app that would review text file that is on the server, how would i go around in doing that?

i believe i need to login to the server for example root@123.123.123.123 and eneter the password, later i need to navigate the file path of where the file is for example /usr/local/folder/file.txt
how can this be done? do i have to worry about firewalls or anything else?