[ckan-discuss] Uploading file in a custom CKAN extension

Sean Hammond sean.hammond at okfn.org
Mon Aug 26 12:54:47 BST 2013


> I am working on a custom extension where I would like to upload a file
> to the CKAN filestore and then add that resource to a specific
> dataset. I am not sure how to code the file upload part. I have looked
> at the ckanclient code. But I think that is more suitable for
> uploading to a remote CKAN instance by a client application. Any help
> on uploading a file from within an extension would be greatly
> appreciated.

Maybe your extension can use the site's CKAN API to upload the file?



More information about the ckan-discuss mailing list