Re: PDF copy speed


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Grant Foraker on July 22, 2010 at 06:14:38:

In Reply to: Re: PDF copy speed posted by Jim Guerber on July 21, 2010 at 14:57:59:

Jim:

You misunderstood my request. The DOSMS "MOVE" uses "source file" and "destination file". So there just one DOS command.

The DOSMS copy uses file handles. So the steps are ...

1) DOSFC to open source file and save handle.
2) DOSFC to create destination file and save handle
3) DOSMS to do the copy
4) DOSMS to close destination file
5) DOSMS to close source file

A new, improved DOSMS for "COPY" in the form of the DOSMS for "MOVE" would be nice.

DOn't rush out to do it. I'm still waiting on the customer to do another batch of invoices using the 5-step copy process. Depending on the speed I may go back to the original DOSMS "MOVE" code.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]