What is a file sharing server?

Using the base COBOL file handling system, a typical COBOL I/O request to a shared data file causes the file handler to make several accesses to that data file across the network. See Figure 1.

Figure 1. Conventional Network

What is a file sharing server?

With Fileshare, a program that needs to access a data file has its request processed by the File Handling Redirector (FHRedir) module. The FHRedir module sends the request over the network to a Fileshare Server that performs the low-level I/O operations and then passes the result of the I/O operation, including the file status, back to FHRedir. FHRedir returns the result to the program. See Figure 2.

Figure 2. Fileshare Network

What is a file sharing server?

A Fileshare System is made up of:

Fileshare Clients A Fileshare Client comprises a user program, making data file I/O requests, via the FHRedir module. FHRedir redirects the I/O requests to a Fileshare Server.
Fileshare Servers A Fileshare Server runs on the same machine as the data files that you want to access. The Fileshare Server accepts requests across the network from the Fileshare Client, processes them by calling a local copy of the Micro Focus File Handler and then returns the result to the Fileshare Client.

Note:

  • The Fileshare Server and the Fileshare Client can be running on the same physical machine. For example, with a multi-tasking operating system such as Windows, the Fileshare Client can run in one session and the Fileshare Server can run in another session. Using this method, you can develop Fileshare applications on a single PC without actually sending data across a network. You should be aware, however, that performance improvements will not be observed, as no network is being used.
  • You can also run the Fileshare Server in the same session as the Fileshare Client using the single user mode of operation. This enables you to take advantage of advanced Fileshare features, such as transaction processing, without the need for a network or multiple sessions. For more information on the single user mode of operation, see the section Single User Mode in the chapter Advanced Operations.

Since a single Fileshare Server processes all the requests from several Fileshare Clients, it can use a single copy of the Micro Focus File Handler, regardless of how many users are accessing the Fileshare Server. This has several advantages:

  • The Fileshare Server can open the data files exclusively making full use of both its own cache and the operating system's cache
  • The Fileshare Server does not need to obtain semaphores on the data file. Normally semaphores are needed to control concurrent access to shared data files.
  • The Fileshare Server can process record locks internally without the need to make calls to the operating system

A file server is a central server instance in a computer network that enables connected clients to access the server’s storage capacities. The term encompasses both the hardware and software needed to implement such a server. As long as they have received the corresponding authorizations, accessing users can open, read, change, and delete files and folders on a file server as well as even upload their own files to the server.

Contents

  1. What is a file server?
  2. How do file servers work?
  3. The functions and options of a file server
  4. What are the advantages of using a file server?
  5. File server: Practical but a challenge

What is a file server?

A file server is a central server in a computer network that provides file systems or at least parts of a file system to connected clients. File servers therefore offer users a central storage place for files on internal data media, which is accessible to all authorized clients. Here, the server administrator defines strict rules regarding which users have which access rights: For instance, the configuration or file authorizations of the respective file system enable the admin to set which files can be seen and opened by a certain user or user group, and whether data can only be viewed or also added, edited, or deleted.

With file servers connected to the internet and configured accordingly, users cannot only access the files via the local network but also benefit from remote access. This enables files to be accessed and saved on the file server even when users are on the go. All modern operating systems such as Windows, Linux, or macOS can be used on a file server, although the devices available in the network need to be compatible with the operating system. But file servers are not only used for file storage and management. They are also often used as a repository for programs that have to be accessible to multiple network participants, and as a backup server.

What is a file sharing server?
The file server is located between clients and a local mass storage device.

How do file servers work?

The right hardware is the foundation for a reliable file server. Most importantly, of course, this includes the hard drive which needs to offer sufficient space for the files and necessary programs, as well as the respective operating system, and the software for using the clients. The server also needs enough working memory and processing power to process file and program accesses for various users as quickly and faultlessly as possible. Whether the hardware requirements can be fulfilled by a standard PC or whether a special server setup is required primarily depends on the number of users.

In order to protect your privacy, the video will not load until you click on it.

Special network protocols are responsible for communication between file servers and clients: While the SMB protocol (Server Message Block) developed by IBM is used in local networks with Windows and macOS devices, computers with Unix-like systems – such as Linux distributions – largely work with the NFS protocol (Network File System). To combine both protocol types in a single network, clients and file servers based on Unix/Linux must be accordingly equipped with software that implements the SMB protocol in these systems – for example the free software suite Samba.

In order to protect your privacy, the video will not load until you click on it.

Accessing the file server over the internet typically works with FTP (File Transfer Protocol) or it’s encrypted variant SFTP (Secure FTP). Alternatively, the encrypted SCP (Secure Copy) and HTTP-based WebDAV protocols are also used.

Note

WebDAV uses the same port (80) as HTTP. Compared to alternatives like FTP or SCP, it therefore has the advantage that the port does not usually need to be opened in the client, as it is open as standard – enabling use of the world wide web.

The functions and options of a file server

As already mentioned, the main functions of a file server are to enable multiple users to access the stored files and free storage space for the file repository. For this reason, these servers are especially popular as a central storage place for internal company files that are not only relevant for individual users. In many cases, companies (particularly in the open-source sector) also use a file server as a download server connected to their own web offering. This way, they allow their customers or website visitors to download select content such as programs, drivers, updates, images, or videos with ease.

Note

Central file access via a file server is often also linked to access to the network printers.

The second major application of file servers is data backups. Unlike when saving and jointly managing relevant files, this specifically refers to the creation and maintenance of conventional backups – of system or user files (or both) depending on the need. Storing these backup copies on a file server is both an easy and inexpensive alternative to having to plan and cover the necessary additional storage requirements on each individual client.

In order to protect your privacy, the video will not load until you click on it.

This works much like when file servers are used to host software and provide access for all authorized users: As the host terminal systems used in the past, computing power and storage capacity are conveniently outsourced, meaning the client devices only have to take on data entry and display.

What are the advantages of using a file server?

For many companies, using a file server is worth considering for a range of reasons. First, there is of course the advantage of centrality which ensures each authorized network participant can access the stored files. This makes shared working possible on these files. Conflicts between different versions of a document can be practically ruled out, as certain actions – such as editing or deleting – are blocked for other users as soon as you open a file. If users have to share the desired files on their own system instead, or transmit them using removable media, this would be considerably more time-consuming and cumbersome – and it would most likely result in different file versions.

Another key advantage of using file servers is that it relieves the strain on client resources. With the exception of personal documents, essentially all business files and backups can be stored on the file server, depending on how the company wishes to use the file repository. And with the right organization (comprising directories, folders, etc.) users automatically have a much better overview of the entire file inventory.

If the file server is configured for remote access over the internet, the files are also accessible on the go – much like an online storage service. But unlike a cloud solution, the company retains control of the files and their security at all times. This represents a clear advantage over third-party solutions.

Summary of file server advantages:

  • Easy organization of the entire file inventory
  • High degree of clarity
  • Convenient file sharing
  • Collaboration without version conflicts
  • Relief of client computers (almost unlimited storage possible)
  • Remote access via WebDAV, (S)FTP, or SCP possible
  • Data protection and security in your own hands

File server: Practical but a challenge

The advantages listed clearly show how valuable a file server can be. However, many companies make the mistake of underestimating the work involved in setting up and managing such a server. Companies often do without advance planning. As a result, not only is the hardware stretched to its limits after a short amount of time, but also many of the benefits of a file server don’t take effect. For example, if there is no clear principle for the assignment of rights, situations will likely arise in which users are unable to perform necessary actions. Problems may also occur when the directory and folder structure is unclear – or if no folder structure exists at all.

If you’d like to use a file server, you should therefore consider these aspects from the very beginning, as well as a comprehensive security concept. In the case of the latter, this is important if the file server is also accessible over the internet. The installation and configuration of security software are just as critical as training the employees who access the file server. Only when they have been made aware of topics like cyber security and data protection can the configured protection mechanisms work as intended. This is also true when it comes to storing the files: Clearly communicate where and how files should be saved on the file server to prevent a chaotic data situation from occurring in the first place.

Related articles

What is a file sharing server?

What is Exchange Server?

Microsoft Exchange Server is considered the standard solution for business e-mail traffic and computer-supported collaborative work. The software has many different usage models of available and these require purchasing special licenses. We’ll show you the licensing model here and give you an overview of the different functions of the collaborative software.

What is Exchange Server?

What is a file sharing server?

Installing and configuring an Apache web server

The Apache http server is the standard web server for providing HTTP documents on the internet. But did you know it’s also possible to install an apache web server locally on your Windows PC? This is a great method of testing out web pages and checking scripts. To get started, all you need is the free software package and a few minutes.

Installing and configuring an Apache web server

What is a file sharing server?

Hyper-converged systems: The compact data center

The traditional data center could be significantly streamlined by migrating to a hyper-converged system. By eliminating the need for highly complex infrastructures and multiple work areas, the company’s IT department could function more efficiently, dynamically, and cost-effectively. This is made possible using preconfigured standard hardware and a complete virtualization of the IT infrastructure....

Hyper-converged systems: The compact data center

What is a file sharing server?

Bare metal server – dedicated hardware for high-level web projects

Bare metal – the latest product on the web hosting market evokes power from its name alone, and not for nothing: servers with this nickname focus on high-performance hardware. With a bare metal server, the user's access extends practically down to the bare metal. Software components based on this product are subject to user control and can be installed and configured according to individual...

Bare metal server – dedicated hardware for high-level web projects

What is a file sharing server?

SMB (Server Message Block): definitions, tasks, and applications

Sending data between computer systems usually takes users a matter of seconds. But for the devices involved to “talk” to each other, it requires clear communication standards to be in place. These standards are defined by protocols like Server Message Block (SMB). Find out in the following article what the Microsoft protocol does and how it has changed over the years.

SMB (Server Message Block): definitions, tasks, and applications

What is file sharing and examples?

File sharing is performed on computer networks as an easy and quick way to transmit data. For example, a user may share an instruction document on his computer connected to a corporate network allowing all other employees to access and read that document.

What is the difference between a server and a file server?

The difference between a file server and an application server is that the file server stores the programs and data, while the application server runs the programs and processes the data.

What does file sharing mean?

File sharing is the practice of sharing or offering access to digital information or resources, including documents, multimedia (audio/video), graphics, computer programs, images and e-books. It is the private or public distribution of data or resources in a network with different levels of sharing privileges.

Why do you need a file server?

File servers provide a central location to store all of your business files so that multiple users can easily work with the same documents, spreadsheets and other data. This centralized storage also allows a business to backup just one computer to be sure their data is safe.