SG3 upload mechanism, why use HTTPS instead of SFTP

Source: Internet
Author: User
Tags file transfer protocol

Is that the user uses the HTTPS protocol to upload files to the primary Linux server, and then the primary server uses the NFS protocol to transfer files to another storage server. The reason for this is that it is more secure and users cannot access the storage server directly.

But why not use the SFTP protocol to upload users ' files? There are 2 reasons:
1. FTP is a file transfer protocol and is highly efficient, even though SFTP has a few burdens, and its efficiency is still much higher than HTTPS, especially when uploading and managing thousands of files. For example, the FTP directory has a list of commands (SFTP should also have), HTTPS can not have this function
2. When https uploads a file, the same user can upload only one file at a time (pending verification), and many different users may upload different files separately.
3. HTTPS does not need to install software to upload

---------------------------------------------------------------
NFS is a shorthand for the network file system, which is the web filesystem.
The network file system is one of the file systems supported by FreeBSD, also known as NFS.NFS, which allows a system to share directories and files with other people on the network. By using NFS, users and programs can access files on the remote system as if they were accessing local files.
The following are the most obvious benefits of NFS:
1. The local workstation uses less disk space because the usual data can be stored on a single machine and can be accessed over the network.
2. The user does not have to have a home directory in the machine on each network. The home directory can be placed on an NFS server and is available everywhere on the network.

The network file System is a project developed and developed by Sun to share files with each other on different machines and operating systems through the Web. NFS server can also be thought of as a file SERVER, which allows your PC to mount the files shared by remote NFS servers over the network into its own system, and in the client's view the remote file using NFS is like using a local file.

According to this theory, the primary file server is the one that generates the download link, but the file exists on the storage server, but who provides the HTTPS download service? I think it should still be the primary server.

---------------------------------------------------------------
The main differences between NFS V3 relative V2:

1. File size
V2 supports only 32BIT file size (4G), while NFS V3 new technology to support 64BIT file size.
2. File Transfer size
V3 does not limit the transmission size, the V2 can only be set at a maximum of 8k, you may use the-rsize and-wsize to set.
3, the complete information return
V3 adds and improves the return of many error and success messages, which can bring great benefits to server Setup and management.
4. Increased support for TCP transport protocol
V2 only provides support for the UDP protocol, which is very limited in some high-demand network environments, and V3 adds support for the TCP protocol
5. Asynchronous write feature
6. Improved mount performance of server
7, have better I/O writes performance.
9, stronger network operation efficiency, make network operation more effective.
10, more powerful disaster recovery function.

NFS V4 Relative V3 improvements:

1. Improved access and execution performance on the Internet
2. Enhanced security features in the Protocol
3. Enhanced cross-platform features

Reference: Http://www.turbolinux.com.cn/turbo/wiki/doku.php?id=network:nfs

---------------------------------------------------------------

NFS can also share Windows folders
Https://support.microsoft.com/en-us/kb/324089/zh-cn

---------------------------------------------------------------

Unknown problem:
1. Transfer files directly to the master server, but when it is stored, the primary server is stored through NFS to another file server (as if it were transparent)
2. What are the protocols used for NFS servers? But I've uploaded large files over 4G, so it must be V3 or v4.

---------------------------------------------------------------
Delphi's implementation:
Realthinclient's trtchttpclient and Trtcdatarequest
or XE8 tnethttpclient (no DLL required):
http://bbs.2ccc.com/topic.asp?topicid=480006

SG3 upload mechanism, why use HTTPS instead of SFTP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.