I've been working on a program designed to allow the end user to offer data corrections back to my company. (That is, they send us the originals, we process those and store it in a database, and this program is supposed to allow them to search the DB and send us back a file with any changes that need to be made.)
The sending back of a file is the part where I'm asking for assistance. At the moment, I can correctly write the file out to the necessary network location. However, I'd like to be able to add an error message if something happens to the file during transmission. At the moment, the only thing I can think of is try to have the program find the filename at the target location, and I'm trying to come up with a way to do that. I've found some stuff about a 'TFileFind' on google, and I'm continuing to follow that up, but I was wondering about what other, possibly simpler, methods exist to simply verify the existence of a file from within a delphi program.
Hopefully that largish paragraph made sense...anyone have any suggestions for alternative paths to my goal?