• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tranfer files between java and unix

 
jagan raja
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I successfully established connection with unix server from my java program and I am able to retrieve and store files.

But I dont know how to store a folder to the server.

Can any one help me out?

Thanks in advance.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think your post belongs to "Sockets and Internet Protocols" forum.
What do you mean by storing a folder to the server?
 
jagan raja
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means storing the folder into unix box.

If this query doesn't belong to this forum then please move to the respective one.

Thanks
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 11866
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have an FTP connection, or a Telnet connection (or SFTP or SSH or .....)? Or even a connection to a server application that you wrote yourself and is therefore totally proprietary?

If you don't provide us with any details at all, we cannot even start to give help. Please take a look at TellTheDetails and NotACodeMill for some things that might help you get good answers here.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't "store a file to a server", you use a server to store files in itself (or wherever). That means you need some sort of server program (don't confuse a server hardware for the actual server softwares!). This can be a file server such as Samba, or it could be a custom web application that has a file upload function. Or any one of a number of server programs such as ftp.

Unix and Windows are alike in this regard. If you want to transfer a file into another computer using a network connection, there has to be a server program running on the target machine that's willing to receive and store the data.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic