Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I send a file to a web server?
Message
From
09/09/2011 07:51:16
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01523041
Message ID:
01523079
Views:
69
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform