Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
West Wind Internet Client Tools
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00856388
Message ID:
00880694
Vues:
41
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform