File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
retriving file from unix server
Joined: Oct 01, 2009
Oct 01, 2009 00:42:25
I need to develop an application which searches some contents say a particular in the file placed at a location in unix server and displays it on my local machine(in windows).
I need to know how we can connect to the unix server.
Right now I use filezila to connect to the server and download the file.
Inputs for file zila is host name is like
. , username, pwd and port: 22
Please guide me how to do the same through
code. I work on diff app. dont know java much.
It will be great if I can get any sample code which can guide me further.
Joined: Mar 22, 2005
Oct 01, 2009 02:20:56
If SFTP (which is FTP over an SSH connection) is the only option to access the server, then you'll need a library that implements it. Read this to get started:
Ping & DNS
- my free Android networking tools app
Joined: Oct 13, 2005
Oct 01, 2009 03:25:53
And welcome to JavaRanch
I agree. Here's the link:
subject: retriving file from unix server
Java Swing Application that connects to UNIX box and execute some UNIX commands
How I connect to remote Unix Box from standalone java application?
Remote deployment to a unix server using FTP task in ANT
problem in connecting to a server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014