![]() ![]() # Local filename relative to this python script to uploadįiles = open('products_upload_filename.csv', 'rb') # If you're uploading a CSV that you want to use as a product import, you will put it in the /dav/import_files/ directory. # Below, put the URL of your BigCommerce WebDAV, including the file name you want to create/upload You anycodings_python can achieve this using the basic Python anycodings_python Requests library combined with the anycodings_python HTTPDigestAuth library. ![]() The webdavclient library does not anycodings_python support HTTP Digest Authentication which anycodings_python is required to upload to the WebDAV. I know this is 6 months old, but I anycodings_python figured I'd still post the solution for anycodings_python visibility when others try to do this. I saw someone asking about a similar problem anycodings_bigcommerce in the following link, and I've tried the anycodings_bigcommerce suggestions from Karen. I guess it's saying my login and/or password anycodings_bigcommerce is incorrect or there is no authentication? anycodings_bigcommerce But how come I could log in through anycodings_bigcommerce CyberDuck with the same credentials? Either the client didn't send one, or the server is misconfigured Sabre\\DAV\\Exception\\NotAuthenticatedNo 'Authorization: Digest' header found. I get an error at client.list() that reads Request to failed with code 401 and message: Print("Exist:", client.check("/content/mytest")) # returns "Exist: False" ![]() Here is what I'm using to anycodings_bigcommerce connect with WebDAV. I can access my store and add files to the anycodings_bigcommerce content folder with CyberDuck, but I get a anycodings_bigcommerce HTTP 401 error when I try to access it from anycodings_bigcommerce my Python script. I'm using anycodings_bigcommerce the following Python client to access the anycodings_bigcommerce WebDAV. I've built a Python application that anycodings_bigcommerce generates a inventory CSV file, and I want anycodings_bigcommerce to upload that file to my store through anycodings_bigcommerce BigCommerce's WebDAV application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |