Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO does not support \\host\share\path
Message
From
14/01/2002 07:39:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00603515
Message ID:
00604219
Views:
23
>I don't understand. I can post a new thread, but can't post messages to your replies?
>
>Any way, Yes we are correctly logged in to the host server. We do have at least one drive mapped to the host server.
>
>However, my problem is since the "My Documents" path is not using the mapped drive, but, is instead using \\host-name\share\path is the "COPY TO" command failing because of the host name instead of a drive letter or is it because of the space in the "My Documents"?
>
>Thanks
>Lee Roy

Leeroy,
It's an OS problem not VFP. Use quotes around filename. Otherwise it's problem anywhere with long file names.

copy myTable to \\server\share\my long file name path\my file name
fails.
copy myTable to '\\server\share\my long file name path\my file name'
works.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform