I searched the Internet about the problem with file being uploaded on the FTP, no locking mechanism what results in not knowing if file that FTP client want to get is being uploaded.
Main articles that I found concerned about changing configuration of FTP server or getting files only when some time passed after last modification date: How to detect that a file is being uploaded over FTP (only guettli suggested using STAT command) https://community.boomi.com/s/article/ftpfilelockinghowtoavoidpickinguppartialorincompletefilesfromftpsftpsite
I want to use poller mechanism on FTP server that I do not have permission to administrate so I want to know if file which is being uploaded or appended. In FTP there is STAT [file] command that returns the status of the file, which exactly executes LIST [file] to get status code from FTP server. Can I rely on this command? And why using this command was not suggested in any article?