hey guys,

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?

any suggestions will be appreciated.

Thanks,
gedas

hey guys,

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?

any suggestions will be appreciated.

Thanks,
gedas

maybe look at making a java FTP client/server:http://www.codemiles.com/finished-projects/ftp-server-and-ftp-client-t1179.html and here is a cool tutorial on a TCP clent/server:http://systembash.com/content/a-simple-java-tcp-server-and-tcp-client/ and here is a short difference between FTP and TCP :


FTP = File Transfer Protocol. FTP is the TCP/IP standard way of transferring files across the Internet and between computers.

TCP = Transmission Control Protocol) works in conjunction with IP to ensure that packets reach their intended destinations.

File transfer protocol. Use transfer files faster(binary content) http: hyper text transfer protocol. transfer html content on internet.

Transmission Control Protocol(in common) use to transfer data in package on Internet. It is used along with IP where data will be sent.

lastly there is also UDP:http://systembash.com/content/a-simple-java-udp-server-and-udp-client/

but i wouldnt suggest that check here for the difference between TCP and UDP:http://www.cyberciti.biz/faq/key-differences-between-tcp-and-udp-protocols/

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.