Question by meinporzellan-de · Sep 22, 2016 at 03:56 AM · large merchant servicesdownloadfiledownload fileebatnsPHPphp sdkbase64binaryzipcurl
Usage of eBay Large Merchant Services downloadFile Responses
Hello!
I'm trying to parse and use the downloadFile data response. The call has the 'Success' flag and returns a few content types ... like Content-Type: application/x-gzip and Content-Transfer-Encoding: binary.
The plain response data looks a bit .. odd:
I tried everything, but the response data looks weird in everycase is not usable. I tried everything like base64 encode, save (plain/zip/gzip) and open (plain/zip/gzip), utf8 encode
The complete API response looks like this ...
Any help would be much appreciated! I'm using a custom build of the EbatNs PHP library and everything works in general (uploading files, using ebay jobs, ...)
Greetings! Niklas
Answer by meinporzellan-de · Sep 22, 2016 at 07:44 AM
Update: I also tested everything with the devbay ebay php library (which also works in general!) but the response looks similar (identical!) ...
I used one example to download a job (https://github.com/davidtsadler/ebay-sdk-examples/blob/master/large-merchant-services/05-revise-inventory-status.php)
This is the process (like the example)
Which tells me: The Sandbox LMS downloadFile data response is broken ...
People who like this
Your answer

Follow this Question
Related Questions
PHP - GetOrders not working 1 Answer
PHP SDKs, live API test tool & code generator for the ResolutionCaseManagement API released 1 Answer
GetOrderTransactions - 21843 Error 1 Answer
GetOrders - SortingOrder doesn't work as expected? Trying to ensure most recent orders come first 0 Answers
Retrieve item's custom label 1 Answer