aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes basic FTP between a unix and linux machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "basic FTP between a unix and linux machine" Watch "basic FTP between a unix and linux machine" New topic
Author

basic FTP between a unix and linux machine

anirudh takkallapally
Greenhorn

Joined: Sep 04, 2003
Posts: 14
hi ,
i have a unix machine , form this machine i have to send some data to a linux machine and invoke a process in the linux machine, this process will generate a GIF image , i have to capture that GIF image and get the image back to the unix machine.....
can any body please tell me how to connect to the linux machine , invoke a process and get the image back... , the unix and linux machine are in the netwok..
please help....
thanks...
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

Not quite "basic" FTP. You want the Linux machine to offer a service on some port that the Unix machine can send data to and receive the GIF from. Assuming both machines have a Java VM, you could accomplish this by fleshing out the following server code and running it on the Linux box:

Then running a client on the Unix box that looks something like this:


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
jQuery in Action, 2nd edition
 
subject: basic FTP between a unix and linux machine