Re: Is there a way to upload files?

2010-06-10 Thread Geoff Canyon Rev
Hey Dave, I finally got around to trying this and had no luck. I'm trying to attach a file to a jira ticket and jira isn't cooperating at all. I'm looking at the headers for a successful file upload using a tool in firefox and noticed that it was using Content-Type: image/png instead of Content-

Re: Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
thanks, I'll give it a shot! On Sat, May 15, 2010 at 3:10 PM, Dave Cragg wrote: > > On 15 May 2010, at 21:07, Dave Cragg wrote: > >> The use is a little complicated. You set the httpHeaders to the first line >> of the returned data, and lines 2 to the end is the data to post. > > More complicate

Re: Is there a way to upload files?

2010-05-15 Thread Dave Cragg
On 15 May 2010, at 21:07, Dave Cragg wrote: > The use is a little complicated. You set the httpHeaders to the first line of > the returned data, and lines 2 to the end is the data to post. More complicated than I remember. It doesn't return the data. Instead, you pass in a variable that gets f

Re: Is there a way to upload files?

2010-05-15 Thread Dave Cragg
On 15 May 2010, at 18:56, Geoff Canyon Rev wrote: > I wasn't implying that this would happen behind the user's back. I'm > trying to interface to Jira. I can create a bug tracking ticket for > the user based on input they've provided, but I don't know how > attachments work. > > I can send info

Re: Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
On Sat, May 15, 2010 at 1:53 PM, Mark Wieder wrote: > Geoff- > > !I just started looking into doing an interface to Jira yesterday! > > ...and btw, Atlassian has *great* licensing if you're interested in > professional-quality cross-platform (anywhere java runs) tools. They > have a special $10 10

Re: Is there a way to upload files?

2010-05-15 Thread Mark Wieder
Geoff- Saturday, May 15, 2010, 10:56:47 AM, you wrote: > I wasn't implying that this would happen behind the user's back. I'm > trying to interface to Jira. I can create a bug tracking ticket for > the user based on input they've provided, but I don't know how > attachments work. !I just started

Re: Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
I wasn't implying that this would happen behind the user's back. I'm trying to interface to Jira. I can create a bug tracking ticket for the user based on input they've provided, but I don't know how attachments work. I can send info using post, but are you saying I would sent the file contents th

Re: Is there a way to upload files?

2010-05-15 Thread Jim Ault
On May 15, 2010, at 8:08 AM, Geoff Canyon Rev wrote: It's easy enough to look at a web form and convert it to a set of arguments to use in rev, like so: http://www.someserver.com/someAction.jspa?type=12&summary=this+is+a+test&user=geoff.canyon&password=test But what if the form includes file u

Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
It's easy enough to look at a web form and convert it to a set of arguments to use in rev, like so: http://www.someserver.com/someAction.jspa?type=12&summary=this+is+a+test&user=geoff.canyon&password=test But what if the form includes file upload? Is there a way to take a local file and include i