Questions tagged [file-watcher]

A utility or library to perform actions when files are updated, added or deleted.

Common issues for file watcher utilities include

  • How to determine when files being added are fully available (IE: If a file is being FTPed to a directory, has the FTP process finished?)
  • How to notify interested consumers that a file has been updated/added/deleted
  • Scheduling issues such as whether the file watcher runs continuously or every xx seconds or minutes.
  • Whether a file is moved/archived after processing
  • Whether multiple input files that match a wildcard can be processed concurrently.

If your question is about the .NET component FileSystemWatcher also include the tag . For the Qt toolkit QFileSystemWatcher class also include the tag .

332 questions
0
votes
2 answers

Listening To Process Erlang

I am trying to perform an action based on changes in the folder which are detected by synrc/fs library. I want to receive this notification every time the changes captured by fs & perform an action e.g. printing the changed filename. I tried below…
nikdange_me
  • 2,949
  • 2
  • 16
  • 24
0
votes
1 answer

File Watcher, and File.copy program confusion

Hello Stack Overflow community, I'm still learning the basics of c# and am need of some guidance. I've read a lot of material on the Microsoft site, and Stack Overflow too, but not finding a solution. My issue is that I'm trying to setup my File…
user3171128
0
votes
1 answer

FileInputstream - FileNotFound (the process cannot access file) . Works on applying breakpoint

I drop an xml file in the scanFolder of a windows machine and java watches that file creation event and triggers my processFileMethod. if(event.kindOf("create") { processFile (filePath); // call process file from watcher…
Rk R Bairi
  • 1,289
  • 7
  • 15
  • 39
0
votes
0 answers

Compass watcher in WebStorm fails to compile my .scss files

I've been trying for some hours to make WebStorm's Compass watcher compile my .scss files, but it fails and I can't understand why. I'm creating an empty test project with WebStorm and after that run compass create and get an error from…
0
votes
1 answer

Autosys Watch_File Declaration

I have a file watcher job on a Unix box and I'm not sure where to put the wildcard because I'm expecting a datetime stamp appended to the file as such: filename.txt.{date}.{time}. With that being said, at what point do I put the asterisk? 1)…
Jared
  • 394
  • 4
  • 15
0
votes
1 answer

Is it possible in PhpStorm File Watcher to compile SCSS to CSS AND create minified css?

There is a --style compressed argument for compile minified css (f.e. compiling minified css described here). But is it possible to compile .css AND .min.css at the same time? Or I should create separate minify file watcher? (I tried to create 2…
Red
  • 3
  • 2
0
votes
0 answers

powershell watch over folder and log changes to windows application log

As the description, I need to write a powershell script that watches over a folder. And when changes have been made(creation of file, delete, modification) I need to get these changes to get to the windows application log. This is my code:…
0
votes
1 answer

File trigger to watch multiple files in a folder

When wildcards is used with file trigger in autosys to watch multiple files, is there any way or attribute to get the file name which triggered it.
user7169406
  • 1
  • 1
  • 1
0
votes
0 answers

windows application terminated when install in c drive, But it work for D drive

I have developed a windows form application which is run in system tray. In application, I used Filewatcher to detect newly downloaded file and send each file to the local printer using acrobat reader.exe. When this application installed in C drive,…
RiksonTool
  • 147
  • 1
  • 2
  • 13
0
votes
2 answers

Polling SFTP server, is there any new file? if yes, copy file to local

I'm go through the SO to find the solution, but i am not able to get proper solution. Actually I got the following program from copy file from SFTP server to local: public class SFTP_logic { public static void main(String args[]) { String…
yash
  • 2,101
  • 2
  • 23
  • 32
0
votes
1 answer

Tell fileSystemWatcher to wait

I have some files that are written to a folder.First there are 2 files written and after 10-20 minutes the next 2 files. My question is: Is there any possible way to tell the file system watcher to wait until all 4 files are in the folder before…
John Pietrar
  • 513
  • 7
  • 19
0
votes
1 answer

JetBrains WebStorm ignoring watcher settings

I'm using pug/jade watcher with the following "Output paths to refresh": $ProjectFileDir$\html\$FileNameWithoutExtension$.html. This should save the output in /html but for some reason it saves it next to the jade file.
JordyvD
  • 1,565
  • 1
  • 18
  • 45
0
votes
1 answer

Filter to not include multiple extensions

Recently I have connected my FTP to Sharefile. Sharfile creates a .syncdb file in my ftp folders. I have code that checks my FTP folder for new files created, copies them to a new folder and sends notification emails that files have arrived.…
SikRikDaRula
  • 133
  • 1
  • 14
0
votes
1 answer

File Watcher able to send data to a web server

I've created a File Watcher Service to monitor, and log all changes on the computer, and write them to a file on C:/, but I want to be able to send that file on close (Shutdown of the computer) to a Website Database I have. I've used TcpListeners,…
0
votes
0 answers

Overflow Event in FileWatcher

I am using Java FileWatcher nio package to watch for the file copying. My OS is Solaris 5. I am getting overflow event if file copy exceeds 500 numbers to the folder. created /etc/sysctl.conf file and added below…
devv
  • 311
  • 5
  • 17