Jason Yousef
asked on
File Watcher Task Question
Hello All,
I've a question regarding the Konesans file watcher, how can the task return information about the found file, such as name, size ....
I've a basic simple package that watch a folder for a file that get created everyday, but sometimes the data get blocked from the vendor and the file created with ZERO bytes, that's why I need to watch for it.
Any help is appreciated
Thanks
I've a question regarding the Konesans file watcher, how can the task return information about the found file, such as name, size ....
I've a basic simple package that watch a folder for a file that get created everyday, but sometimes the data get blocked from the vendor and the file created with ZERO bytes, that's why I need to watch for it.
Any help is appreciated
Thanks
ASKER
emoreau:
Thank you for your quick reply, but i'm not a programmer, couldn't really understand how could I use the FileInfo class to get the file info into the E-mail.
The code for the simple program is listed here and it's written in VB.Net which is your specialty, perhaps if you give it a look you can help adding the e-mail feature with the file info into the application.
https://www.experts-exchange.com/questions/25476569/SIMPLE-Add-E-mail-After-completion-to-to-VB-net-Code.html
Thanks
Thank you for your quick reply, but i'm not a programmer, couldn't really understand how could I use the FileInfo class to get the file info into the E-mail.
The code for the simple program is listed here and it's written in VB.Net which is your specialty, perhaps if you give it a look you can help adding the e-mail feature with the file info into the application.
https://www.experts-exchange.com/questions/25476569/SIMPLE-Add-E-mail-After-completion-to-to-VB-net-Code.html
Thanks
>>perhaps if you give it a look you can help adding the e-mail feature with the file info into the application
I have read the various comments and you seem to be looking for a complete application and not only hints on how to get it done. EE is not a "RentACoder" type of forum.
I have read the various comments and you seem to be looking for a complete application and not only hints on how to get it done. EE is not a "RentACoder" type of forum.
ASKER
No the application is already working and done, all what I need to do is to add an e-mail notification with the file info, that's all
so I got around that by doing the file watcher task because that the only way I know how to do.
so I got around that by doing the file watcher task because that the only way I know how to do.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks so Much......That was a helpful custom task...easy to follow and user variables
That actually answered my other question at https://www.experts-exchange.com/questions/25476569/SIMPLE-Add-E-mail-After-completion-to-to-VB-net-Code.html
so please post a comment over there so I can award you the points.
Thanks again
That actually answered my other question at https://www.experts-exchange.com/questions/25476569/SIMPLE-Add-E-mail-After-completion-to-to-VB-net-Code.html
so please post a comment over there so I can award you the points.
Thanks again
To know more details about the file, use the FileInfo class as shown in http://www.emoreau.com/Entries/Articles/2006/03/Folders-synchronization-using-the-SystemIO-namespace.aspx
You may also want to check my article on the FileWatcher at http://www.emoreau.com/Entries/Articles/2005/04/The-FileSystemWatcher-component.aspx