• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transferring files frm one machine to another  RSS feed

 
Sachin Dere
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I need to transfer files form one machine to another machine using Sockets or any other API. I have done this before but the problem is that i cannot run the server program at the server.The program should run only one one machine which is requesting the files from the server. this is due to security reasons etc etc
how can i achieve this?
pls help
sachin
 
Henry Wong
author
Sheriff
Posts: 22856
119
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are not allowed to run a service on the server, then you'll have to depend on a service already on the server. Can you run FTP? RCP? SFTP? SCP? Can you mount the server's disk? Can you access files via http? etc.

Furthermore, there may not be a java api either? Once you figure out how to do it, you may have write a script that does it, and call the script from your program.

Henry
 
Alex Rickabaugh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have access to the machine the files are on, just run an FTP server on your computer and upload the files from the other machine ;-)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!