Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make network connection from scheduled task
Message
From
06/11/2004 08:30:55
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00958713
Message ID:
00958816
Views:
22
Hi Hugo,

No, I can't do anything with a UNC reference until I've authenticated against the server. And the other reference about using impersonation has turned up a dead-end for me because, at run time, I don't know what the user credentials will be. This is not for an internal application where I could just compile a user name and password into the VFP application. This app is going to a customer.

Again, this will be fired from a scheduled task where there is no logged in user. User credentials can be defined when the scheduled task is created. But all these other API tricks and even the Windows Scripting Host as suggested in another message don't seem to honor the user credentials defined with the scheduled task.

I'm scrambling for ideas. Any other thoughts?

Guy



>
>Can't you just copy using the UNC? (and use UNC where elsewhere needed)
>
>copy file \\Server\path\file to C:\path\file
>
>
>Additionally, you probably should create a log-on session, take a look at Message #948574 to use impersonation
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform