Skip to main content
Participant
November 10, 2007
Question

Pls help...File field not working

  • November 10, 2007
  • 2 replies
  • 351 views
I use record insertion form wizard to insert record and it just work fine but when after I manually change one of the text field to file field, I can’t insert record to database and no error message came out from there. I use ASP and Access. Pls help.
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
November 10, 2007
You also need to have the enctype set on the <form> tag to
"multipart/form-data" to use a file field.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Joris van Lier" <whizzrd@hotmail.com> wrote in message
news:fh408u$o2f$1@forums.macromedia.com...
> "iegn" <webforumsuser@macromedia.com> wrote in message
> news:fh3uam$lsj$1@forums.macromedia.com...
>> I use record insertion form wizard to insert record and it just work fine
>> but
>> when after I manually change one of the text field to file field, I can?t
>> insert record to database and no error message came out from there. I use
>> ASP
>> and Access. Pls help.
>
> A file field needs special processing to accept the file, this has allways
> been cumbersome in ASP, requiring either Components to be installed on the
> server, or a lot of scripting.
>
> Components:
> I've used Persits asp upload because my host provided it and it's pretty
> easy to use
> http://www.aspupload.com
>
> Scripts / Extensions:
>
> DMXZone has offered the Pure ASP Upload Extension for years, it's main
> feature is that it's PURE ASP: no components required to be in stalled on
> the server
> http://www.dmxzone.com/ShowDetail.asp?NewsId=12064
>
> The Adobe Dreamweaver Developer Toolbox also contains file upload and
> management operations, but if you're only looking for upload it may be
> overkill.
>
> If you google for Pure ASP Upload you'll probably com across a script or
> two (I found http://www.freeaspupload.net is aparently used by ADDT),
> but without hardcore scripting experience I'd advise to buy the extension,
> it hase lots of other features too.
>
>
>
>
>

Inspiring
November 10, 2007
"iegn" <webforumsuser@macromedia.com> wrote in message
news:fh3uam$lsj$1@forums.macromedia.com...
> I use record insertion form wizard to insert record and it just work fine
> but
> when after I manually change one of the text field to file field, I can?t
> insert record to database and no error message came out from there. I use
> ASP
> and Access. Pls help.

A file field needs special processing to accept the file, this has allways
been cumbersome in ASP, requiring either Components to be installed on the
server, or a lot of scripting.

Components:
I've used Persits asp upload because my host provided it and it's pretty
easy to use
http://www.aspupload.com

Scripts / Extensions:

DMXZone has offered the Pure ASP Upload Extension for years, it's main
feature is that it's PURE ASP: no components required to be in stalled on
the server
http://www.dmxzone.com/ShowDetail.asp?NewsId=12064

The Adobe Dreamweaver Developer Toolbox also contains file upload and
management operations, but if you're only looking for upload it may be
overkill.

If you google for Pure ASP Upload you'll probably com across a script or two
(I found http://www.freeaspupload.net is aparently used by ADDT),
but without hardcore scripting experience I'd advise to buy the extension,
it hase lots of other features too.