This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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

basic FTP between a unix and linux machine

anirudh takkallapally

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....
Joe Ess

Joined: Oct 29, 2001
Posts: 9137

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:

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: basic FTP between a unix and linux machine
It's not a secret anymore!