Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I send a file to a web server?
Message
De
09/09/2011 07:51:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01523041
Message ID:
01523079
Vues:
70
My FP9 application just builds a text file that sends it to a network directory where it's viewed by a supervisor.

We just started using SharePoint. I'm not a SharePoint expert, so I don't know a whole lot of what I'm doing.
I've just started using SharePoint, but I can get it's URL.

I want to send the text file to our company/department SharePoint directory.

We can copy most types of files to the SharePoint directory by the tools in SharePoint, and dragging
and dropping, but the URL address I'm using in FoxPro doesn't seem to work.

The network directory is set like this:
lcDirectory = "H:\CLINENG\Shared\DOCUMENTS\Troubleshooting Documents\Call Summaries\"

The SharePoint directory is like this:
lcDirectory = "https://my.mainehealth.org/mmc/Departments/CE/Troubleshooting%20Documents/Call%20Summaries/"

I add some file name stuff and do this:
lnRet = STRTOFILE(gcDocument,lcFileName)

It just doesn't get to the SharePoint directory, so I'm thinking that the URL is either not correct, or the method
I'm using is not correct, or there's a security issue. Since we can put files there already, I don't think it's
a security problem.

I'm working on other methods to sync the two directories, but that's for a little later today.

I was just wonder if FP9 can do this.

Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform