Good day, I need help.
I have an application that uses aspx pages together with vbscript window for developer coding.
Now the page has an
upload object.
The problem is that on the same page submit button i'm uploading the file AND executing vbscript command that renames & emails the file that is been loaded.
It keeps on crashing as when it looks for the file to rename the file has not uploaded yet.
Is there a way in vbscript where i wait untill the file exists & then continue with the other vbscript code. The uploaded file is given a unique name on the server eg: test.txt would be given a uniqueid+test.t xt
But importantly the code behind on sthe submit button should not just ignore & continue - it should wait untill the wiating/checking script to execute first.
I'm not sure if what i'm asking is possible.
Please Assist
I have an application that uses aspx pages together with vbscript window for developer coding.
Now the page has an
Code:
<input type='file'>
The problem is that on the same page submit button i'm uploading the file AND executing vbscript command that renames & emails the file that is been loaded.
It keeps on crashing as when it looks for the file to rename the file has not uploaded yet.
Is there a way in vbscript where i wait untill the file exists & then continue with the other vbscript code. The uploaded file is given a unique name on the server eg: test.txt would be given a uniqueid+test.t xt
But importantly the code behind on sthe submit button should not just ignore & continue - it should wait untill the wiating/checking script to execute first.
I'm not sure if what i'm asking is possible.
Please Assist