End to some of the Copyfile woes?...>


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

Posted by Tom Fulton on May 16, 2012 at 10:56:45:

I just got finished wrestling with a Copyfile issue and may have a resolution to at least some of my issues. I was trying to copy a file from the remote CA Host to my machine, wanted it to go into $(CATEMP). Flags indicate successful transfer, yet no QRHRTAB.XLS file in my ....\TEMP\CATEMP folder. Finally I decided to try adding a '\' between my directory alias and the filename. Voila, there's my file. Just to make sure I knew for a fact what was going on I double checked and did indeed find file catempqrhrtab.xls in my ....\TEMP folder. So, here's the question - with a regular network path I can strip the field & see if the last character is a '\'. I don't believe I can do this with a directory alias as they are resolved at runtime, no? So the million dollar question is this - When Comet does the default creation of directory aliases are the paths terminated with a '\'? I think the answer is No. So Copyfile to a destination of a Comet default directory alias should always add the '\' before the filename. Manual creation of Directory Aliases should follow suit, should be entered with no ending '\'. Follow up question is this - the 128 flag in Copyfile, when it creates the directory alias does it terminate the path with a '\'?


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 ]