Re: CopyFile FLAG 64


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

Posted by Grant Foraker on June 11, 2007 at 11:37:30:

In Reply to: Re: CopyFile FLAG 64 posted by Mike Saunders on June 11, 2007 at 11:15:27:

CopyFile documentaion shows this ...

Example 3: Suppose you want to copy a file from a local Comet system to a CometAnywhere client system, and you want to synchronize the files (i.e., copy only if the source file is newer than the destination file).
Here are the flags that are used in the following example:

2 = CometAnywhere is required (otherwise an error occurs)
64 = Synchronize the files
512 = Destination file is on CometAnywhere client system
1024 = Show progress bar
2048 = Overwrite existing file
4096 = Create directory


Source$ = "C:\FILE1"
Dest$ = "C:\DATA\FILE2"
Flags = 2 + 64 + 512 + 1024 + 2048 + 4096
Print (CopyFile=Source$,Dest$,Flags)





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):






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