Re: DOSMS: Copy a file


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

Posted by Jim Guerber on April 08, 2008 at 14:14:10:

In Reply to: DOSMS: Copy a file posted by Mike Saunders on April 08, 2008 at 13:04:36:

If you copy to the current location, you will replace any data there. Used in conjunction with LSEEK and Write of zero bytes, these functions can all be done.

replace:

lseek beginning
copy file
write 0 bytes

append:

lseek end
copy file


replace

lseek (or read destination file to any desired position)
copy file

I know that to replace contents, you must be careful, but it could be done ;-)





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 ]