C# NT SERVICE (FOR HANDLING FILES)
TWINXBASE NT FILE SERVICE (written in C#) ----------------------------------------- UPDATED : 8 sept 2002 Added new Class for Sending Mails by the service This service scans in a directory (C:\FILESERVICE\INBOX) by using FileWatcher component (.NET) (not realy scans.. check for created files) when a file arrives , then the service will check the extension of the file , if the file has the extension .DBX then it will read the contents of the file and communicate with the database (C:\FILESERVICE\DB\MyDB.mdb) and insert / update / delete the records in the database -table. Then the file will be moved to the subdirectory \BACKUP. NEW : When file has extension .MAIL then the file will readed en sended By SMTP server (IIS must be installed and running) When an error occured the error will be logged in the EventLog. If an other FILE arrives in the inbox , not an DBX or MAIL file it will move it to the subdir \UNKNOWN. So if you look at the code, you can easy make the service to use with other kind of files. You can make an application (class) that handle those files. So when you share the C:\FILESERVICE\Inbox for FTP , the service will handle the incoming files... Read README.TXT included in the Zip file for more information!
AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
Upload Upload