Hi Jeff,

you must use "name expressions", the syntax is as follow:

lcinitialname = 
'd:\users\public\applications\ft_cafe\documents\export\75041.pdf'
lcservername = 
'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

copy file (lcinitialname) to (lcservername)

Gianni

On Mon, 11 May 2015 16:24:38 -0700, Jeff Johnson <j...@san-dc.com> wrote:

Why does this work:
COPY FILE 
'd:\users\public\applications\ft_cafe\documents\export\75041.pdf' TO 
'd:\users\public\applications\ft_cafe\documents\someotherfile.pdf'

Where lcinitialname and lcservername are the same as above does not work:
copy file '"' + alltrim(lcinitialname) + '"' to '"' + 
alltrim(lcservername) + '"'

I get a 202 path not found.  This does not make any sense!  Paths are 
valid and 75041.pdf exists.

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/40f2la19n9p2l75uddq104p30oltpeo...@4ax.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to