Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Drag and Drop problem
Message
From
10/10/2002 15:34:56
 
 
To
10/10/2002 15:26:46
Terrence Spencer
Municipal Advisory Council of Texas
Austin, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00709989
Message ID:
00710030
Views:
19
>Hey Michael,
>
>Thanks for the reply. That helped.
>
>I am trying to get a handle on the files that are "dropped for the ftp site". so...
>
>lcFileName = oDataObject.GetData("UniformResourceLocator")
>
>This gets me a string like this:
>
>
>?lcFileName
>ftp://server/folder/filename
>

>But I can't seem to do this:
>
>
>Copy File &lcFileName TO c:\myfile.txt
>

>

Several things suggest themselves here; the first is not to use macro expansion:
COPY FILE (lcFileName) TO c:\myfile.txt
The second is that the ftp: notation may fail if DNS is not used to resolve UNCs; you may need to convert the URL to a UNC that is transport-layer independent, or resolve the server address as a NetBIOS address and share name.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform