T
T
tyktovoobshe2022-04-12 13:08:21
Computer networks
tyktovoobshe, 2022-04-12 13:08:21

Program for network access to files (similar to Netlook), how to implement?

how to implement this idea and what should be used for this, what knowledge should one have?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
rPman, 2022-04-12
@rPman

is it netlook ? read description:

Support for three protocols: SMB, FTP and HTTP.

SMB is a Microsoft protocol for accessing files over a network in local networks with windows machines, in linux, support for this protocol is provided using samba and related libraries. In terms of this network, a share (share) is a published directory on a machine (share) or a server
on windows to work with files over the network, no additional libraries are required, and all functions for working with files accept \\server_name\share_name\path\file
on linux you will have to use libraries or mount the ball on some directory (smbmount or cifs file system)
There is a universal library and curl utility, it supports dozens of protocols, including those mentioned above, of course, you can use it.
There is one problem, a key one, getting a list of machines on the network and a list of shares on each. Depending on the programming language and OS, there will be some nuances.
in c ++ using win32 api - use this , well, an example with searching for all shares on the network

A
Adamos, 2022-04-12
@Adamos

What "access to files" something? Windows balls, or what? It's called SMB.

A
Alan Gibizov, 2022-04-12
@phaggi

what knowledge should you have?

The first is to learn how to search and find information.
The SMB network protocol will turn 40 next year. Information - the sea. But that's not what you were looking for.

1
12rbah, 2022-04-12
@12rbah

Program for network access to files
If in such a formulation of the question, then you should conditionally have a client and a server based on tcp, on top of tcp you can already use the desired protocol, for example, ftp.
If you need Netlook, then look for information about what protocols it uses, look for libraries to use them and write your own program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question