Method and system for detecting file updating and downloading of SFTP server in real time

The invention relates to the technical field of computers, in particular to a method and system for detecting file updating and downloading of an SFTP server in real time, and the method comprises the following steps: S1, regularly detecting whether an updated file exists in a folder or not; s2, sen...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: LI CHUANMAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the technical field of computers, in particular to a method and system for detecting file updating and downloading of an SFTP server in real time, and the method comprises the following steps: S1, regularly detecting whether an updated file exists in a folder or not; s2, sending the file names of the updated files in the folder to a file downloading queue for downloading preparation, and adjusting the timing detection time according to the number of the updated files; s3, the file downloading queue downloads the updating file according to the file name of the updating file and stores file information of the downloaded updating file to a message queue, a program achieved through the method can automatically and efficiently obtain the updating file and the downloading file in real time, and due to the fact that a distributed delay lock is used, the updating file and the downloading file can be obtained automatically and efficiently in real time. The realized program does not depend on a