question

libreria_strategica avatar image
0 Likes"
libreria_strategica asked ·

LMS: FileTransferService return error "Please specify a File with Valid Format"

Hi there, i'd like to move some of my application tasks to the bulk transfer api, anyway i'm facing a problem when trying to upload a file to the sandbox or production env. Here's some infos... job type: UploadFile (UploadSiteHostedPictures) job id: 50009211515 This is the file i'm trying to upload: 101 901 it_IT High 901 request_1881_20141230 http://www.mywebsite.it/image.jpg And this is the request i'm sending to the File Transfer endpoint: --MIME_boundary Content-Type: application/xop+xml; charset=UTF-8; type="text/xml; charset=UTF-8" Content-Transfer-Encoding: binary Content-ID: <0.urn:uuid:54a266e0cba08> 510 gzip 50009362415 50009211515 --MIME_boundary Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: 101 901 it_IT High 901 request_1881_20141230 http://www.mywebsite.it/image.jpg --MIME_boundary-- If could be usefull i've enabled debug in the curl request, below the result: * About to connect() to storage.sandbox.ebay.com port 443 (#0) * Trying 66.135.220.161... * connected * Connected to storage.sandbox.ebay.com (66.135.220.161) port 443 (#0) * skipping SSL peer certificate verification * SSL connection using TLS_RSA_WITH_RC4_128_MD5 * Server certificate: * subject: CN= storage.sandbox.ebay.com,OU=Site Operations,O="eBay, Inc.",L=San Jose,ST=California,C=US * start date: Sep 30 00:00:00 2014 GMT * expire date: Nov 12 23:59:59 2016 GMT * common name: storage.sandbox.ebay.com * issuer: CN=VeriSign Class 3 Secure Server CA - G3,OU=Terms of use at https://www.verisign.com/rpa (c)10,OU=VeriSign Trust Network,O="VeriSign, Inc.",C=US > POST /FileTransferService HTTP/1.1 Host: storage.sandbox.ebay.com Accept: */* Accept-Encoding: gzip X-EBAY-SOA-REQUEST-DATA-FORMAT: XML X-EBAY-SOA-RESPONSE-DATA-FORMAT: XML X-EBAY-SOA-SECURITY-TOKEN: XXXXXXXXXX X-EBAY-SOA-OPERATION-NAME: uploadFile Content-Type: multipart/related; boundary=MIME_boundary; type="application/xop+xml"; start="<0.urn:uuid:54a267d0f0cf3>"; start-info="text/xml" X-EBAY-SOA-SERVICE-NAME: FileTransferService Content-Length: 1267 Expect: 100-continue < HTTP/1.1 100 Continue < HTTP/1.1 200 OK < Server: Apache-Coyote/1.1 < X-EBAY-SOA-SERVICE-METRICS: 416395752 < X-EBAY-SOA-REQUEST-ID: 14a9a658-9500-a471-d2d4-d224fffdfdff!FileTransferService!10.71.29.45!v3apibulksandboxcore[] < X-EBAY-SOA-SERVICE-VERSION: 1.1.0 < X-EBAY-SOA-MESSAGE-PROTOCOL: NONE < X-EBAY-SOA-RESPONSE-DATA-FORMAT: XML < X-EBAY-SOA-OPERATION-NAME: uploadFile < X-EBAY-SOA-SERVICE-NAME: { http://www.ebay.com/marketplace/services}FileTransferService < Content-Encoding: gzip < Content-Type: text/xml;charset=UTF-8 < Transfer-Encoding: chunked < Date: Tue, 30 Dec 2014 08:52:33 GMT < * Connection #0 to host storage.sandbox.ebay.com left intact * Closing connection #0 Does anyone have a hint of what it's happening? Please help, i don't really know what else to do! Thanks for your support.
trading-apilarge merchant serviceslarge-merchant-services
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
shulmani_developer.support avatar image
0 Likes"
shulmani_developer.support answered ·
Hi, Can you try the Tool mentioned in the Knowledge Base article: https://ebaydts.com/eBayKBDetails?KBid=1838 first and see if your request is going fine ? Cheers!!!
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.