• Post Reply Bookmark Topic Watch Topic
  • New Topic

Create Directory on Server after making a socket connection ?

 
Vishwas Gagrani
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have been able to create a socket connection. But now i wanna create a directory. Firstly, Is it at all possible to create directory ? How ?

Thanks.
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at java.io.File.
 
Rob Spoor
Sheriff
Posts: 20820
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this server the local machine or a remote server? If it's the local machine it's as easy as using java.io.File, as Wouter suggested. If it's a remote server it depends on which protocols are available. You can use SMB (Windows sharing), FTP, NFS, or possibly even something completely custom.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!