I saw the source for upload:
public void upload(String filename) {
EntityCollection uploads = service.getUploads();
Args args = new Args("index", getName());
uploads.create(filename, args); }
I think that the change should be:
public void upload(String filename, String hostname) {
EntityCollection uploads = service.getUploads();
Args args = new Args("index", getName());
Args.put("host", hostname);
uploads.create(filename, args); }
Would this work?
... View more