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
-1
votes
1 answer

Folder Monitoring - Deleting Files After Process Has Completed

I am running a FileWatcher in a folder that is looking for a files with extension .stl and .txt watcher.Filter = "*.stl"; watcher.Filter = "*.txt"; These files are added to the FileWatcher folder at the same time, and once they are added, I have…
Faraday
  • 1
  • 1
-1
votes
1 answer

FileSystemWatcher raised only after first change

I am using FileSystemWatcher. All is working fine. When I save my file, the Changed event is raised properly. But if I save file a second time, the Changed event isn't raised anymore. Do I need to put additional code, so it would raise everytime I…
Siegfried.V
  • 1,508
  • 1
  • 16
  • 34
-1
votes
1 answer

How to detect new file download in Windows OS?

I am making a program that scans any new file downloaded into the system. Currently, I have used a file watcher that monitors a directory. Whenever a file is downloaded from chrome then the following happens : For example: Let's say a pdf file is…
jaykr
  • 81
  • 7
-1
votes
2 answers

File Watcher Script in Unix

I want to create a file watcher script that detects if the files in S3 folder have been refreshed or not. If yes, then it should execute a particular command in Unix. Please help me with this.
Mihir Garg
  • 29
  • 3
-1
votes
1 answer

Can't remove white space from string in C#

I am working on a file-watcher project using C# and I am trying to copy changes files into new created files, but I am getting the error: Illegal characters in the path as shown below I think the problem comes from the white space before .4, which…
Will Wost
  • 105
  • 2
  • 9
-1
votes
1 answer

Update external properties at run time in java 8

I already achieved how to update external properties at run time but I think it can be improved and I'm not sure about possible errors than I can be missing. First I'm setting to the vm the external location as -Dspring.config.location in that file…
AndreFontaine
  • 2,334
  • 3
  • 17
  • 30
-1
votes
1 answer

How to get file's name in File watcher job in Autosys?

I am new to Autosys and have a query. I want to detect an arrival of a file. Hence I am using a file watcher job with watch_file as *. Now, I want to get the file name as I have to pass the name as a parameter to the next job. How can I get the…
-1
votes
1 answer

C# FileWatch write event on Listbox

I have a WPF program that Watchs a folder and I want to write on a listbox every event that occurs. My problem is that i have a class FileWatcher and I can't pass the events (Created, Changed and deleted) to the listbox. Can someone help…
-1
votes
1 answer

Wrong bullet transpilling in SCSS in PhpStorm

I'm using PhpStorm's File Watcher to transpill SCSS into CSS. In my SCSS I have: li { &:before { content: "•"; font-size: 85%; padding-right: 5px; } } but it transpiles to: li:before { …
Jan Pi
  • 167
  • 2
  • 13
-1
votes
3 answers

Moving files from one folder to another folder in remote dektop using C# windows service

I need to perform a file moving operation from one folder to another folder on remote desktop based on the month that files has been created and modified. I need to move the files(from folder A) of previous month to folder b. This service has to…
-1
votes
1 answer

Gulp file watcher set on root directory

Is it a good idea if I set a gulp watcher for e.g. /**/*.less on the root folder of my project, rather than on the folder containing the .less files? The root folder may contain a large amount of files (node_modules, CMS Data, etc.). The benefit…
Philipp Gfeller
  • 1,167
  • 2
  • 15
  • 36
-1
votes
1 answer

Autosys, FileWatcher Job, passing if the file is not present, is it possible?

I am new to Autosys, and looking for a way to achieve reverse of file watching I am looking for a job similar to file watcher, which keeps on running till the file is present, and will only pass if the file is not present. The dependent job will…
-1
votes
1 answer

FileSystemWatcher - unable to read created file

I have recently started working with FileSystemWatcher. I have a requirement to monitor a certain directory and any new files added to that directory get MD5 checksum and display it in the console. So I've added the appropriate event handler…
Izzy
  • 6,740
  • 7
  • 40
  • 84
-1
votes
2 answers

FileSystemWatcher seems to ignore multiple dots in filenames

I have a C# windows service watching a folder. It seems like if files are created using the traditional windows file name structure, everything is fine, e.g. foo.zip. But then along comes one of those pesky unix people who name their files:…
Bruce Van Horn
  • 613
  • 2
  • 6
  • 14
-2
votes
1 answer

Brackets SCSS file to CSS file

When I was studying Multimedia I got a free copy of PhpStorm. Using PhpStorm I managed to some techincal magic using Ruby(I can't exactly remember how it worked) to write code in SCSS and phpstorm would automatically create a new file and compile…
1 2 3
22
23