Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cross-platform file transfer method between linux server and windows client

A transmission method and client technology, applied in the direction of transmission system, electrical components, etc., can solve the problems of missing windows client, unable to meet file upload and download, unable to communicate normally, etc., to achieve the effect of retrieval

Active Publication Date: 2020-10-02
厦门天锐科技股份有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) Although the existing vsftp service provides file upload and download instruction interfaces (STOR and RETR), it cannot satisfy the file upload and download between windows clients
[0006] (II) The lack of implementation of some instructions on the windows client, such as the MLST instruction, leads to failure of normal communication

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-platform file transfer method between linux server and windows client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions and beneficial effects of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0032] Such as figure 1 As shown, the present invention provides a cross-platform file transfer method between a Linux server and a windows client, mainly completing the MLST instruction processing before receiving the STOR (processing upload) or RETR (processing download) instruction, and listing the specified directory Content, return the result to the client through the sending command interface vsf_cmdio_write or vsf_cmdio_write_char between the client; the transmission method specifically includes the following steps:

[0033] Step 1. Compare the received command ftp_cmd_str with "MLST" to judge whether the vsftp service has received the MLST command. If the command is received, start to query the file directory and enter step 2. Otherwise, process the business of other commands received. Do not proceed to the n...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cross-platform file transmission method between a Linux server and a windows client. The method comprises the steps of 1, judging whether a vsftp service receives an MLST command, if the command is received, starting to query a file directory, and entering the step 2, and otherwise, processing business of the other received commands; 2, firstly acquiring a path and a filepermission of a file / folder, and splicing to acquire a file / folder information string; 3, sending a result to the client according to the return result acquired in the step 2; 4, after the result issuccessfully sent, sending a 250End message to the client for indicating that an MLST action ends; and 5, sending an STOR or RETR command to the linux server by the client, uploading or downloading the file according to the command by using the server. According to the method, a command function lacked by the vsftp service can be achieved, file communication between the vsftp service of the linuxside and some common windows clients is solved to support cross-platform file uploading and downloading between the windows clients and the servers built by using linux.

Description

technical field [0001] The invention belongs to the technical field of file transmission, in particular to a method for realizing cross-platform file transmission between a Linux server and a Windows client. Background technique [0002] Windows and Linux are currently the two most popular operating systems. Based on the advantages of stable operation, powerful functions, and convenient acquisition, Linux is still the first choice for servers in many projects. [0003] File transfer is a common behavior in the operating system. Linux also provides tools for file transfer, including the vsftp service to implement file upload and download on the linux side, and has related interface implementations. [0004] The current transmission technology has the following deficiencies: [0005] (1) Although the existing vsftp service provides the file upload and download instruction interface (STOR and RETR), it cannot satisfy the file upload and download between the windows client. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
Inventor 邱志斌涂高元杨其栓郭永兴陆云燕张艳蓉
Owner 厦门天锐科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products