CN101465873B - Document transmission system based on FTP protocol - Google Patents

Document transmission system based on FTP protocol Download PDF

Info

Publication number
CN101465873B
CN101465873B CN 200710179626 CN200710179626A CN101465873B CN 101465873 B CN101465873 B CN 101465873B CN 200710179626 CN200710179626 CN 200710179626 CN 200710179626 A CN200710179626 A CN 200710179626A CN 101465873 B CN101465873 B CN 101465873B
Authority
CN
China
Prior art keywords
server
file
filename
name
ftp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN 200710179626
Other languages
Chinese (zh)
Other versions
CN101465873A (en
Inventor
刘永生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN 200710179626 priority Critical patent/CN101465873B/en
Publication of CN101465873A publication Critical patent/CN101465873A/en
Application granted granted Critical
Publication of CN101465873B publication Critical patent/CN101465873B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to computer data file processing field and in particular relates to a file transfer system based on FTP protocol. Currently, when people transfers files between a client and a server end through FTP protocol, the people only needs to know the user name and the password, so file management safety is poor. The system is added with a special file name server on the basis of the FTP client and the server, and the special file name server generates temporary file names uniformly, thus avoiding overlap caused by naming conflicts. Meanwhile, the system can prevent directory confusion caused by disk mapping errors and can prevent uploading, acquisition and deletion of the files through devious ways, so the system has good security and confidentiality. The system can make full use of the FTP protocol to ensure reliability and break-point resume of the transfer of the files, thus reducing work load and improving work efficiency.

Description

A kind of system that carries out file transfer based on File Transfer Protocol
Technical field
The invention belongs to computer data file processing field, relate in particular to a kind of system that carries out file transfer based on File Transfer Protocol.
Background technology
Computer technology rapid development makes storage and the management of the various data of computer seem and becomes more and more important.File that has or data can directly be stored and manage through database, use easily; But some file or data client do not hope or need not use data base administration; But with file or storage in the exterior storage body, for example disk array obviously will relate to transmission and problem of management to such files stored or data.For example, certain user's first does not have reporting system through the direct deleted file of visit shared disk, causes file to be lost; And for example, certain user's second has obtained the user name and password of other people FTP through the method for listens for network communication; Thereby can visit the file that should not visit; File or data to other people are destroyed, and cause other people to lose, if this document is vital as far as the user; In case revised by the people, loss sometimes is difficult to expect.
Adopt File Transfer Protocol to carry out the transmission of file at ftp client and ftp server end; Because it is easy to operate and simple; Application at present is very extensive, but simultaneously, when adopting the File Transfer Protocol transfer files; Usually after obtaining the username and password of File Transfer Protocol, can edit the file of transmission, operation such as modification, fail safe is lower.
Summary of the invention
In order to overcome the defective of prior art; The purpose of this invention is to provide a kind of system that carries out file transfer based on File Transfer Protocol; Through this system needs are uploaded/downloaded/file deleted; By the unified temporary file name that produces of filename server of special use, can avoid naming conflict to cause problems such as covering; Also can avoid simultaneously because the disk mapping error causes the chaotic problem of catalogue; Can prevent that also back door from uploading, obtain, deleted file, even hold the legal users name and editor and modification that password can not advance any style of writing part; Can make full use of reliability, breakpoint transmission that File Transfer Protocol guarantees file transfer.
In order to realize the foregoing invention purpose, the technical scheme that the present invention adopts is:
A kind ofly carry out the system of file transfer based on File Transfer Protocol, this system comprises: ftp server, ftp client, filename server wherein are provided with the filename translation module, ftp client is provided with the filename translation module in the ftp server; The filename server is connected with the filename translation module of ftp client and ftp server end respectively;
Described ftp client can carry out the uploading/download of file/delete through File Transfer Protocol and ftp server end;
The filename translation module of described FTP client's device end is used for obtaining the temporary file name to the filename server requests, and can the physics name of file be revised as the temporary file name;
Described ftp server can carry out the uploading/download of file/delete through File Transfer Protocol and ftp client, and can upload/is downloading/sending temporary file name disable command behind the deleted file to give the filename server;
The filename translation module of described ftp server is used for obtaining to the filename server requests physics name of file, and can the temporary file name be revised as the physics name;
Described filename server can generate the temporary file name at random according to the request of the filename translation module of FTP client's device end and feed back to the filename translation module of ftp client; And with the temporary file name of generation and the foundation of physics name and the storage corresponding relation of file, can be according to this corresponding relation filename server according to the request feedback temporary file name corresponding physical name of ftp server end filename translation module.
Further, also being provided with service server in this system, described service server is used to store all need be uploaded/download/the physics name of the file deleted, this service server is connected with the filename server with FTP client's device respectively; Upload/download at FTP client's device end/deleted file before; The physics name of file need obtain the mandate of service server; After being the physics name of service server authenticating documents; Agree to continue to upload/after downloading/deleting, the filename translation module of FTP client's device end could be to filename server requests temporary file name;
Further; The effective time that it is the temporary file name that described filename server can be provided with the overtime actual effect time of temporary file name; The filename server picks up counting obtain the request of temporary file name from the filename translation module of receiving ftp client after, surpass the effective time of the temporary file name that the filename server is provided with when the time after, the temporary file name is promptly declared to lose efficacy; Ftp server can't be accomplished the work that the temporary file name is revised as physical file name in request; Thereby cause uploading/download/the deletion action failure, refused unauthorized request, thereby guaranteed security of File Transfer; The effective time of temporary file name, the user can freely be provided with as required;
Effect of the present invention is: adopt system of the present invention, needs are uploaded/downloaded/file deleted, by the unified temporary file name that produces of filename server of special use, avoid naming conflict to cause problems such as covering; Also can avoid simultaneously because the disk mapping error causes the chaotic problem of catalogue; Can prevent that also back door from uploading, obtain, deleted file, even hold the legal users name and editor and modification that password can not advance any style of writing part; Can make full use of reliability, breakpoint transmission that File Transfer Protocol guarantees file transfer, reduce workload, improve operating efficiency.
Description of drawings
Fig. 1 is the structural representation of system according to the invention.
Embodiment
Further describe the present invention below in conjunction with Figure of description and specific embodiment.
Embodiment 1
In the present embodiment; With user's upload file contact.asp file is example; As shown in Figure 1; A kind ofly carry out the system of file transfer based on File Transfer Protocol, this system comprises: ftp server, ftp client, filename server wherein are provided with the filename translation module, ftp client is provided with the filename translation module in the ftp server; The filename server is connected with the ftp server end with ftp client respectively;
Described ftp client can carry out the uploading/download of file/delete through File Transfer Protocol and ftp server end;
The filename translation module of described FTP client's device end is used for obtaining the temporary file name to the filename server requests, and can be that the original name of file is revised as the temporary file name with the physics name of file;
Described ftp server can carry out the uploading/download of file/delete through File Transfer Protocol and ftp client, and can upload/is downloading/sending temporary file name disable command behind the deleted file to give the filename server;
The filename translation module of described ftp server is used for obtaining to the filename server requests physics name of file, and can the temporary file name be revised as the physics name;
Described filename server can generate the temporary file name at random and feed back to the filename translation module according to the request of the filename translation module of FTP client's device end; And with the temporary file name of generation and the foundation of physics name and the storage corresponding relation of file, can be according to this corresponding relation filename server according to the request feedback temporary file name corresponding physical name of ftp server end filename translation module.
When the user need be with file contact.asp by client upload to server end; Adopt said system of the present invention; Its course of work is: at first registered to the filename server by the filename translation module of ftp client; Acquisition request temporary file name; Registration back filename server returns to a temporary file name of the filename translation module CCC188 of ftp client; The filename server will need the physics name contact.asp of upload file and the temporary file name CCC188 of acquisition to set up and the storage corresponding relation simultaneously, after the filename translation module obtains temporary file name CCC188, the physics name contact.asp that needs upload file will be revised as temporary file name CCC188; The technology that the filename server generates the temporary file name at random is very ripe, has several different methods all can realize, like MD5 method commonly used etc.;
Ftp client is uploaded to ftp server end with file with temporary file name CCC188 request through File Transfer Protocol then; After ftp server is accepted request that file uploads; Filename translation module by ftp server obtains the pairing physics name of temporary file name CCC188 to the filename server requests; Because the filename server has been stored the corresponding relation of temporary file name and physics name; Therefore after the filename server is received the request of filename translation module of ftp server, temporary file name CCC188 corresponding physical name contact.asp is fed back to the filename translation module of ftp server, the filename translation module of ftp server renames temporary file name CCC188 and is physics name contact.asp; Ftp server is promptly stored this document with the physics name contact.asp of file; After file was uploaded successfully, ftp server sent the order that the temporary file name lost efficacy to the filename server, after the filename server is received the order of temporary file name inefficacy; The temporary file name lost efficacy, and the filename server can reuse this temporary file name.
Embodiment 2
Present embodiment 2 is with embodiment 1 difference; Carrying out in the system of file transfer in the present embodiment based on File Transfer Protocol; On the basis of embodiment 1, increased service server, registered to the filename server, before the acquisition request temporary file name at the filename translation module of ftp client; Ftp client will need the physics name of upload file to service server request mandate; If store this physics name in the service server, then ftp client can uploaded and feed back to service server agreement this document, and the filename translation module of ftp client is registered to the filename server then; Acquisition request temporary file name, other step are all identical with embodiment 1; In the actual mechanical process, service server can be set different authorities to different users, and the physics name that different rights managements is different can further improve the fail safe in the File Transfer Protocol transmission like this.
When download of advancing file or deletion action, the operation principle of said system is identical, no longer describes.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (3)

1. one kind is carried out the system of file transfer based on File Transfer Protocol, and this system comprises: ftp server, ftp client, filename server wherein are provided with the filename translation module, ftp client is provided with the filename translation module in the ftp server; The filename server is connected with the ftp server end with ftp client respectively;
Described ftp client can carry out the uploading/download of file/delete through File Transfer Protocol and ftp server end;
The filename translation module of described FTP client's device end is used for obtaining the temporary file name to the filename server requests, and can the physics name of file be revised as the temporary file name;
Described ftp server can carry out the uploading/download of file/delete through File Transfer Protocol and ftp client, and can upload/is downloading/sending temporary file name disable command behind the deleted file to give the filename server;
The filename translation module of described ftp server is used for obtaining to the filename server requests physics name of file, and can the temporary file name be revised as the physics name;
Described filename server can generate the temporary file name at random according to the request of the filename translation module of FTP client's device end and feed back to the filename translation module of ftp client; And can the physics name of temporary file name that generates and file be set up and the storage corresponding relation, can be according to this corresponding relation filename server according to the request feedback temporary file name corresponding physical name of ftp server end filename translation module.
2. as claimed in claim 1ly a kind ofly carry out the system of file transfer, it is characterized in that based on File Transfer Protocol: also be provided with service server in this system, described service server is used to store all need be uploaded/download/the physics name of the file deleted; Upload/download at FTP client's device end/deleted file before; The physics name of file need obtain the mandate of service server; After being the physics name of service server authenticating documents; Agree to continue to upload/after downloading/deleting, the filename translation module of FTP client's device end could be to filename server requests temporary file name.
3. a kind of system that carries out file transfer based on File Transfer Protocol as claimed in claim 1; It is characterized in that: described filename server can be provided with the overtime actual effect time of temporary file name; The filename server picks up counting obtain the request of temporary file name from the filename translation module of receiving ftp client after; After the time surpassed the effective time of temporary file name, the temporary file name was promptly declared to lose efficacy.
CN 200710179626 2007-12-17 2007-12-17 Document transmission system based on FTP protocol Expired - Fee Related CN101465873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710179626 CN101465873B (en) 2007-12-17 2007-12-17 Document transmission system based on FTP protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710179626 CN101465873B (en) 2007-12-17 2007-12-17 Document transmission system based on FTP protocol

Publications (2)

Publication Number Publication Date
CN101465873A CN101465873A (en) 2009-06-24
CN101465873B true CN101465873B (en) 2012-12-19

Family

ID=40806235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710179626 Expired - Fee Related CN101465873B (en) 2007-12-17 2007-12-17 Document transmission system based on FTP protocol

Country Status (1)

Country Link
CN (1) CN101465873B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110022368B (en) * 2019-04-11 2020-05-12 北京字节跳动网络技术有限公司 Method, device and equipment for controlling overtime time of uploaded pictures and storage medium
CN115567506A (en) * 2022-08-08 2023-01-03 山东日照发电有限公司 Data transmission method and system based on FTP (File transfer protocol)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492335A (en) * 2002-10-25 2004-04-28 �Ҵ���˾ Safety system and method for medium content data file network distribution
CN1848759A (en) * 2005-04-28 2006-10-18 华为技术有限公司 Multi-network element journal file loading method
CN1893422A (en) * 2005-07-01 2007-01-10 俞盛 Distribution type data transmission method based on internetwork standard
CN1964252A (en) * 2006-11-20 2007-05-16 深圳市杰普林数码科技有限公司 An access method for network server file

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492335A (en) * 2002-10-25 2004-04-28 �Ҵ���˾ Safety system and method for medium content data file network distribution
CN1848759A (en) * 2005-04-28 2006-10-18 华为技术有限公司 Multi-network element journal file loading method
CN1893422A (en) * 2005-07-01 2007-01-10 俞盛 Distribution type data transmission method based on internetwork standard
CN1964252A (en) * 2006-11-20 2007-05-16 深圳市杰普林数码科技有限公司 An access method for network server file

Also Published As

Publication number Publication date
CN101465873A (en) 2009-06-24

Similar Documents

Publication Publication Date Title
CN101465872B (en) Method for transmitting and managing document
US11178225B2 (en) Data files synchronization with cloud storage service
US11372897B1 (en) Writing of data to a storage system that implements a virtual file structure on an unstructured storage layer
KR101434128B1 (en) Distributed replica storage system with web services interface
US8255409B2 (en) Systems and methods for generating a change log for files in a managed network
CN104023085A (en) Security cloud storage system based on increment synchronization
US11399014B2 (en) System and method of obtaining data from private cloud behind enterprise firewall
US20160182494A1 (en) Distributed device management and directory resolution
US20100250751A1 (en) Slice server method and apparatus of dispersed digital storage vaults
CN104603740A (en) Archival data identification
CN101969407B (en) Home gateway based storage service method and storage service device
CN103226612B (en) A kind of Content Management System based on memory database
US20040162900A1 (en) Distributed content management system
US20150127942A1 (en) Security key device for secure cloud service, and system and method for providing secure cloud service
CN104580395A (en) Multi-cloud cooperative storage middleware system based on existing cloud storage platform
CN102332016A (en) Catalogue chance lock
CN101465873B (en) Document transmission system based on FTP protocol
CN104182418A (en) Method and device for obtaining node metadata
KR101663526B1 (en) Storage integrating method and system using file system
WO2014191180A1 (en) Method of changing password in an industrial automation and control system
CN101841425B (en) Network backup method, device and system without proxy
CN104125235A (en) Integrated multi-protocol storage method
CN109413200B (en) Resource import method, client, MES and electronic equipment
CN111581666A (en) Ultrasonic data management system and method based on block chain
CN112818401A (en) Block chain health file management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121219

Termination date: 20161217

CF01 Termination of patent right due to non-payment of annual fee