Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
West Wind Internet Client Tools
Message
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00856388
Message ID:
00880694
Views:
37
Hi Rick,

We are using the below code to send a file up to a web server from a client and it works well for a number of client. However, we run into an issue with a few clients that have proxies. We actually upload 3 files to the same IP address but different web pages we find it sends the first file and then skips the rest of the files. Our web guy thinks it has something to do with the cache so now we send the ?nocache= TTOC(DATETIME()) in hopes it would no cache the links but, it still does.

Is there something I can send to clear the cache before sending the file?

Is there something I am missing anywhere :)
*** Set mode to multi-part form
oHttp.nHttpPostMode = 2

*** Post a file and a regular form variable
*!* Who is sending the message
oHttp.AddPostKey("snetid", lcSnetID)
oHttp.AddPostKey("attach", "1")
oHttp.AddPostKey("fileupload", lcUploadFile, .T.)

lcHTML = oHttp.HTTPGet(SS_HSS_DIVISIONS_SITE + "?nocache=" + TTOC(DATETIME()))
Thanks for the help,
Ronald L. Thorp
http://www.Fox-Pros.com
Fox-Pros, Inc.
Office 407-498-0100
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform