Fog Creek Software
Discussion Board

Attaching Files using ScoutSubmit

Is it (or can it be) possible to submit attached files through the ScoutSubmit interface  (e.g. App gets an error indicating corrupt data file, upload data-file for diagnosis)?

Ken Klose
Thursday, November 7, 2002

It is not built-in currently.  There is no reason why it can't be done (other than it is much more complex code than just a regular post.. hence that big fileupload.asp file that parses the encoded post).

Obviously though, you can modify the source so it works  (at least on the server side, scoutSubmit.asp).  It's not a trivial task...

I'll add it to the feature list.

Michael H. Pryor
Thursday, November 7, 2002

I'm looking at ScoutSubmit.asp (evaluating how non-trivial the task is) and noticed something that might be a bug (or might be deliberate -- I can't tell).  Line 229:
    c.Edit ixBugzScout, UnicodeRequest("Extra") & vbCrLf &
          Request("Email"), "", False, True
Uses UnicodeRequest to read "Extra" but line 257 does not:
    ixBug = c.Create( ixBugzScout, _
          UnicodeRequest("Description") & vbCrLf & Request
          ("Extra") & vbCrLf & Request("Email"), _
          "", False, True )

I saw the admonishment in util.asp to always use UnicodeRequest when reading user data and thought this might be in contradiction.

Ken Klose
Friday, November 8, 2002

Bug... just fixed.

Michael H. Pryor
Friday, November 8, 2002

*  Recent Topics

*  Fog Creek Home