madabtasp
asked on
help on ASP upload
Hi to all,
I am using ASP upload component to upload my files to a server. Here r 2 problems I encountered
1)whever i try to called a few checkboxes with the same name e.g. upload.form("checkbox"), I encountered this problem "out of memory". but when i rename each checkbox differently, everything works fine. could someone explain to me y?
2)how can i specify my upload path so that it points to a directory hosted on a server?
Thx a lot
I am using ASP upload component to upload my files to a server. Here r 2 problems I encountered
1)whever i try to called a few checkboxes with the same name e.g. upload.form("checkbox"), I encountered this problem "out of memory". but when i rename each checkbox differently, everything works fine. could someone explain to me y?
2)how can i specify my upload path so that it points to a directory hosted on a server?
Thx a lot
1.
Looks like your upload-component can not handle multiple formfields. Try another component....
http://www.taka.nl/programming/asp/pseudorequest/default.asp offers a pure-script solution for file-upload handling multiple formfields.
2.
The documentation of the component should make that clear...
Looks like your upload-component can not handle multiple formfields. Try another component....
http://www.taka.nl/programming/asp/pseudorequest/default.asp offers a pure-script solution for file-upload handling multiple formfields.
2.
The documentation of the component should make that clear...
ASKER
hmm....what i mean is that my checkbox does not pass the value like 1,2,3,4...but instead an error msg saying "out of memory" pop out.
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
ASKER
hmm....what i mean is that my checkbox does not pass the value like 1,2,3,4...but instead an error msg saying "out of memory" pop out.
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
ASKER
hmm....what i mean is that my checkbox does not pass the value like 1,2,3,4...but instead an error msg saying "out of memory" pop out.
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
ASKER
hmm....what i mean is that my checkbox does not pass the value like 1,2,3,4...but instead an error msg saying "out of memory" pop out.
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
ASKER
hmm....what i mean is that my checkbox does not pass the value like 1,2,3,4...but instead an error msg saying "out of memory" pop out.
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
for my upload path, can I specify it not from the root directory, e.g. not from C:/.... ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
madabtasp:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept Answer by sybe
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
GaryC123
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Accept Answer by sybe
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
GaryC123
EE Cleanup Volunteer
the path will be set in your form (as a save to disk path?). do you mean by "upload path" the path to save to on disk? ie
finalFileName = Request.ServerVariables("A
to see your server variables use:
for each fld in request.servervariables
response.write fld & " = " & request.servervariables(fl
next
or,
arPathInfo = split(Request.ServerVariab
arFileNameWithQueryString = split(arPathInfo(Ubound(ar
CurrentDirName = arFileNameWithQueryString(