wget vs curl: How to Download Files Using wget and curl
4 stars based on
I'm successful in almost every way except the files are not actually there. The API returns the token and all the right data. I can access the json data about the attachment, I can see the attachment in Zendesk attached to the ticket. Except the thumbnail in the ticket is empty a broken image link icon in my browser and the url for the attachment via the json info also just returns a broken image link icon.
We don't have a way to do that via the agent interface, however if you create your own submission form for end-users using our API you can mandate they attach a file.
You can check download binary file with curl php this blog post to see how a custom submission form is created: This is done using our Ruby client, but you'd just add a file input field download binary file with curl php make it mandatory on the server side, your web server where this form is hosted, before sending the ticket into Zendesk.
I am stuck on this. Does anybody have an full php example where a ticket can created with a file attached? I can create a ticket that drops into my account ok but the file upload fails. From what I can make out the file needs to be uploaded first then the ticket follows and then they get joined. I am very familiar with php been using it for download binary file with curl php but Zendesk is download binary file with curl php new for me.
Attaching the file data was different and solved the problem. Please sign in to leave a comment. Derik Badman April 04, I think it has something to do with my php curl options, but I'm not sure what I'm missing.
Can anyone offer any suggestions? Sort by Date Votes. Adam April 05, Derik Badman April 05, Alberto Calero April 15, Renato Lyke October 15, DeVaris Brown October 16, Renato Lyke October 16, Keiron Roberts October 26, Jack Lee March 12, Prepare for the worst with the best.
Zendesk Support makes agents happier and more productive.