Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: prevent downloading if file is being upload

$
0
0
Hello,
I have to create an automated service which looks in a SFTP folder for a specific file and if file exist, then download that file.
if file already there (before looking on SFTP) then it's working perfectly and download that file.
but Problem arises when trying to download the file from SFTP, and file is in uploading process by some other at that time.
So, My Question is , How can I know that file is fully uploaded before downloading or How can I prevent downloading if file is being upload

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>