This is the most recent thread on uploading files via the API; this approach uses a URL for uploading a dataset to the history:

http://dev.list.galaxyproject.org/Uploading-to-history-via-JavaScript-td4657068.html

In general, using the Galaxy Web search and/or mailing list search to see if your question has been discussed before is recommended because the mailing lists can act as a good documentation source.

Finally, please direct all coding questions to the galaxy-dev list, not the galaxy-user list.

Best,
J.


On Jan 13, 2013, at 8:25 PM, <Neil.Burdett@csiro.au> wrote:

Hi,
    It seems the API documentation is a bit scarce. I’d like to upload a file from the command line using the API rather than the GUI, but would like to see the file in the history. Does anyone have any information how to do this/ any tools that are available.
 
Thanks
Neil
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

 http://lists.bx.psu.edu/