Forums

ASP

This topic is locked

Stopped Dead

Posted 12 Feb 2003 16:31:27
1
has voted
12 Feb 2003 16:31:27 Brad Eck posted:
I have now tried for three days to integrate a file upload into my code unsuccessfully. I have a couple of scenarios that are making it very difficult.

First, my core language is JavaScript. Since the order of evaluation in ASP is non-core language code first and then the core language code, the VB code for Pure ASP upload is evaluated and then my code. This causes me not to be able to obtain my database info correctly as it is obtained dynamically. To work-around this, I converted the block of VB code for ASP over to JS and it seemed to work.

Second, under this scenario I get an ASP 0208 when deleting two files in a row. It comes from the fact that GP_upload is set to true if it is undefined. The first delete it is undefined so this works, but then defines it so it doesn't the next time through.

Now, I am back to starting again due to something I am unable to track down. Am I missing something really obvious or am I simply approaching the implementation of this completely wrong?

Reply to this topic