Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make network connection from scheduled task
Message
De
06/11/2004 08:30:55
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00958713
Message ID:
00958816
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform