Copyfile problem with CometAnyWhere -- Update


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

Posted by Jim Guerber on September 27, 2008 at 13:13:47:

In Reply to: Re: Copyfile problem with CometAnyWhere posted by Jim Guerber on September 27, 2008 at 12:19:56:

I created a situation where the source and destination files exist but have different file times. The copyfile calls you describe should result in results of 21,0.

I see some sort of problem with using the 1 flag although I do not get the same behavior as you. I get results of 3 and 3.

Since we are only comparing the 2 files, I reversed the source and destination params in the copyfile call and instead of specifying 1 + 64 + 256, I specified flags of 64 + 256 + 512. That seemed to work. I get a 21 and 0.

Note: in our own code we never use the compare option, we mainly synchronize the files since if the files were out of date we want to actually do the copy.

I short, I see problems with that 1 flag and will further look at the Comet source code supporting the copyfile mnemonic.




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 ]