Posted by Grant Foraker on July 20, 2009 at 14:14:47:
I'm working up some demos for a proposal. While testing Document=, I created some problems for myself that locked up Cosp and Comet. Killing Cosp in Task Manager released the print job stuck in pdfFactory's spool. However, my next print to pdfFactory locked up Comet. A restart of Comet didn't fix the problem. A restart of the PC did.
Here's the two things I did. 1) used the same file name, NR.PDF, multiple times. 2) Used a Windows path that didn't exist, (C:\COMETARC\2009\AP\NR.PDF).
I like to see any or all of the following ...
1) Warning message with a graceful exit.
2) File already exists, Overwrite? I probably wouldn't do in a production situation but I wouldn't hurt to not lock up Comet.
3) Creation of the folders in the path. CopyFile has this option. Nice to have it here too.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.