troubleshooting Question

Can I use MS Access to send an HTTP Post and Get

Avatar of pcalabria
pcalabriaFlag for United States of America asked on
Microsoft AccessVisual Basic ClassicFile Sharing Software
10 Comments2 Solutions3141 ViewsLast Modified:
Hello Experts,

I am trying to use the programmatic upload feature of eBay's File Exchange system to send a CSV file to eBay's file exchange server.

I am hoping for VBA code that I can put into a command button's OnClick event.

Ebay has provided the following instructions:

1.  To upload your file programmatically, send an HTTP Post request to the File Exchange
server to accept.

2. Initiate an HTTPS connection then post your data file with your token to the File Exchange URL:

See Sample HTTP Post Request:

POST /path/to/upload/script HTTP/1.0
Connection: Keep-Alive
User-Agent: My Client App v1.0
Content-type: multipart/form-data;
Content-Length: 256
Content-Disposition: form-data; name="token"
Content-Disposition: form-data; name="file";
Content-Type: text/csv
contents of listing.csv ...
Join our community to see this answer!
Unlock 2 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros