CopyFile Error 39 File located on Remote Computer


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

Posted by Robert G Laurin on June 20, 2008 at 06:55:04:

I have an old program that open PDFs from client files. I tried modifying it to also work on CometAnywhere and got an error 2 suberror 39 - File located on Remote Computer...

Original code basically said:

Let Command$ = '\\StorageServer\Customer.PDF\ABC12345.PDF'
Print (0) (Launch=Command$)
input (0) ''

where ABC12345 is the customer number and \\StorageServer... is NOT a Comet Server machine.... Oops.. I just answered my question - there's no CFAM on \\StorageServer... Oh Darn!

What I tried is this:

Let Command$ = '\\StorageServer\Customer.PDF\ABC12345.PDF'
If isRemote = 1
Target$ = '$(CATEMP)\ABC12345.PDF'
Print (0) (CopyFile=Command$,Target$,1728)
Input (0) Result$
Let Command$ = Target$
Endif
Print (0) (Launch=Command$)
input (0) ''

From the look of things, I don't think I could even copy from the server to the local host and then to the remote client... I tried installing CFAM on StorageServer. But since there are no Comet directories there, the CopyFile does not recognise it either...

I'm stuck !

Too Bad CopyFile is not as smart as the Launch command...



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 ]