Try just: ? FILE(m.lcinitialname) ? FILE(m.lcservername)
to see which one fails. Fred On Mon, May 11, 2015 at 4:50 PM, Jeff Johnson <j...@san-dc.com> wrote: > Tried that also. I tried everything I know and still won't copy. > > Thanks, > > On 5/11/2015 4:34 PM, Gianni Turri wrote: > >> 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. >> [excessive quoting removed by server] _______________________________________________ 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/CAJCBkspyFsLSPnkndLr=mjlkw-ggynef6rx_qazjroasejt...@mail.gmail.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.