Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coping a file to server
Message
From
02/11/2009 07:36:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/11/2009 07:33:09
Hong Yew
People Quest
Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01432652
Message ID:
01432653
Views:
54
>Hi all
>
>May I know how can I copy a file to a server without using a mapped drive as different user may map a server drive differently.
>
>May I know how can a specify a absolute destination folder on server in my COPY FILE command?
>
>Your advice much appreciated
>
>Thanks & Best Regards

Just use the name of the shared folder; for example:
copy mytable. to \\MyServer\MyApp\Data\mytable.dbf
In older versions of Visual FoxPro, I had problems if either the server name or the shared folder name included spaces. I don't know whether the problems still persist, but if you have trouble, try to get rid of those.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform