Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding SMB protocal  RSS feed

 
Prem Bhazee
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am planning to use SMB for accessing remote files on a server. Is it possible to access the files without sharing. Does SMB require the remote files to be shared for access from another loction.

Thanks in advance
Bhazee
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you're trying to do - file sharing is about accessing files that are being shared. Are you trying to access files that are deliberately not being shared?
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We may be able to answer questions on Common Internet File System (CIFS).

That is Java's implementation of the protocol.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, the Java implementation is jCIFS, brought to us by the good folks of Samba.
 
Prem Bhazee
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,
We have some production data in remote servers that cannot be shared. So thats why I am asking is it possible to access those files in a remote server without the folder being shared.

Thanks in advance.
Bhazee
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either the data is shared or it is not shared. You can't have it both ways.
 
Tim LeMaster
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The reason the data can not be shared is probably a mix of security plus protecting the production server from unexpected usage spikes. An attempt to share the file some other way sounds like just a end run around procedures. You might need to code a predictable task that copies the files to a share that users can then access the data from.
 
Prem Bhazee
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am concerend whether will it be able to access the files in remote servers without the files being shared.

For example if the files are in folder Test. Will it be able to copy the files from the Test folder through SMP protocal without the Test folder being shared.

Hope this is not confusing.

Thanks in advance
Bhazeee
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For example if the files are in folder Test. Will it be able to copy the files from the Test folder through SMP protocal without the Test folder being shared.

No.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!