Re: More on CopyFile


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

Posted by Jim Guerber on December 07, 2005 at 14:02:23:

In Reply to: More on CopyFile posted by Stephen Auerbach on December 07, 2005 at 12:35:44:

It probably WAS successful. You can rename files during the copy. You can also use directory aliases. I just tried a copyfile with no drive letter or UNC dir specified and got an error 22 and 5. That is destination file error and access denied.

With the params you specified, you should get either a 20 or 21. anything else is an error.

I usually specify 2 + 64 + 512 + 1024 + 2048 + 4096

That is:

! Flag Value
! 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

That will copy the file if needed, otherwise it will just exit.




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 ]