Back to a well-worn topic: I'm doing file upload in Tango 3.6 with unpredicatable
results
Files are uploaded and named according to the advert they're attached to, but the
upload fails repeatedly with files of zero K uploaded
I looked through my Tango Talk archives, reset the ItemBufferSize up to 300,000, and
the problem seemed to go away.. But now, instead of a file being uploaded of zero K,
and a bad filename, I now get a good filename and a zero K file...
The debug screen shows the raw JPEG code, but the file isn't uploaded and the filename
created is OK
The error message is:
[Warning] Missing argument: image
Any ideas what's going on? The only clue I can give is that images less than around
30K seem to work OK, despite resetting ItemBufferSize and restarting Webstar
Tango 3.6, Webstar 4.x on Mac OS 9.1
The file name is a combination of a User variable and a file number suffix from a
popup menu on the upload page:
File Action:
<@VAR WebRoot SCOPE=Domain>:<@VAR uploadpathname SCOPE=Domain>:<@VAR advertnumber
SCOPE=User>.<@ARG imagenumber>.jpg
The Upload page code is:
<FORM NAME="upload" ENCTYPE="multipart/form-data" METHOD=POST
ACTION="<@CGI><@APPFILE>?page=upload&<@USERREFERENCEARGUMENT>">
<select name=ImageNumber size=1>
<OPTION VALUE="001" selected>First image
<OPTION VALUE="002">Second image
<OPTION VALUE="003">Third image
<OPTION VALUE="004">Fourth image
</SELECT>
<BR>
File to upload: <INPUT TYPE=FILE SIZE=25 NAME="image">
<BR>
<INPUT TYPE=SUBMIT NAME="Submit" VALUE="Upload File">
<BR>
</FORM>
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body