Re: [WebDNA] File Upload Issue

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 108135
interpreted = N
texte = --Apple-Mail-5-813171131 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > I=92ve got a web page that allows me to select a file from my computer = and upload it to the server. I am using an HTML form with the following = form elements to select the file to upload: >
> > =20 > If I select a small file (say a 102 kb zip file), it works fine. > If I select a large file (say an 11 Mb zip file), it fails. > =20 > I=92ve examined the name-value pairs in the [formvariables] and for = the small file, I get [name]-[value] pairs for all 7 of my form = variables (of which the file is #2). However, for the larger file, it = seems to be failing because of something in the [value] of the uploaded = file since the listing of my [formvariables] stops when it reaches the = [value] of the uploaded file. At that point, the rest of my form = variables fail to be listed and the web page stops loading. > =20 > What is crazy is that this code has worked for 6 years and only failed = yesterday when I migrated from OS X Snow Leopard Server 10.6 and WebDNA = 6 to OS X Lion Server 10.7 and WebDNA 7. I suspect that it has something = to do with the Apache server settings or perhaps not wrapping my [value] = in a WebDNA context???? > =20 > Any help would be appreciated. for starters: wrap the "[value]" (inside the [formvariables] which you use to see the = formvars in the HTML output) in "[url]..[/url]" .. so that you can at = least see the rest of the HTML after whatever char is truncating the = output. -Govinda --Apple-Mail-5-813171131 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
I=92ve got a web page that = allows me to select a file from my computer and upload it to the server. = I am using an HTML form with the following form elements to select the = file to upload:
<form = action=3D"uploadFile.dna" method=3D"post" name=3D"uploadFile" = enctype=3D"multipart/form-data">
<input type=3D"file" name=3D"__prodFile1" value=3D"" = size=3D"40">
 
If I select a small file (say a 102 kb zip file), it works = fine.
If I select a large file (say an 11 Mb zip file), = it fails.
 
I=92ve examined the name-value pairs in the = [formvariables] and for the small file, I get [name]-[value] pairs for = all 7 of my form variables (of which the file is #2). However, for the = larger file, it seems to be failing because of something in the [value] = of the uploaded file since the listing of my [formvariables] stops when = it reaches the [value] of the uploaded file. At that point, the rest of = my form variables fail to be listed and the web page stops = loading.
 
What is crazy is that this code has worked for 6 years and = only failed yesterday when I migrated from OS X Snow Leopard Server 10.6 = and WebDNA 6 to OS X Lion Server 10.7 and WebDNA 7. I suspect that it = has something to do with the Apache server settings or perhaps not = wrapping my [value] in a WebDNA context????
 
Any help would be = appreciated.


for starters:

wrap the = "[value]" (inside the [formvariables] which you use to see the formvars = in the HTML output) in "[url]..[/url]" .. so that you can at least see = the rest of the HTML after whatever char is truncating the = output.

-Govinda

= --Apple-Mail-5-813171131-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] File Upload Issue (aaronmichaelmusic@gmail.com 2012)
  2. RE: [WebDNA] File Upload Issue (Brian Wachter 2012)
  3. Re: [WebDNA] File Upload Issue (aaronmichaelmusic@gmail.com 2012)
  4. Re: [WebDNA] File Upload Issue (Govinda 2012)
  5. [WebDNA] File Upload Issue (Brian Wachter 2012)
--Apple-Mail-5-813171131 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > I=92ve got a web page that allows me to select a file from my computer = and upload it to the server. I am using an HTML form with the following = form elements to select the file to upload: > > > =20 > If I select a small file (say a 102 kb zip file), it works fine. > If I select a large file (say an 11 Mb zip file), it fails. > =20 > I=92ve examined the name-value pairs in the [formvariables] and for = the small file, I get [name]-[value] pairs for all 7 of my form = variables (of which the file is #2). However, for the larger file, it = seems to be failing because of something in the [value] of the uploaded = file since the listing of my [formvariables] stops when it reaches the = [value] of the uploaded file. At that point, the rest of my form = variables fail to be listed and the web page stops loading. > =20 > What is crazy is that this code has worked for 6 years and only failed = yesterday when I migrated from OS X Snow Leopard Server 10.6 and WebDNA = 6 to OS X Lion Server 10.7 and WebDNA 7. I suspect that it has something = to do with the Apache server settings or perhaps not wrapping my [value] = in a WebDNA context???? > =20 > Any help would be appreciated. for starters: wrap the "[value]" (inside the [formvariables] which you use to see the = formvars in the HTML output) in "[url]..[/url]" .. so that you can at = least see the rest of the HTML after whatever char is truncating the = output. -Govinda --Apple-Mail-5-813171131 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
I=92ve got a web page that = allows me to select a file from my computer and upload it to the server. = I am using an HTML form with the following form elements to select the = file to upload:
<form = action=3D"uploadFile.dna" method=3D"post" name=3D"uploadFile" = enctype=3D"multipart/form-data">
<input type=3D"file" name=3D"__prodFile1" value=3D"" = size=3D"40">
 
If I select a small file (say a 102 kb zip file), it works = fine.
If I select a large file (say an 11 Mb zip file), = it fails.
 
I=92ve examined the name-value pairs in the = [formvariables] and for the small file, I get [name]-[value] pairs for = all 7 of my form variables (of which the file is #2). However, for the = larger file, it seems to be failing because of something in the [value] = of the uploaded file since the listing of my [formvariables] stops when = it reaches the [value] of the uploaded file. At that point, the rest of = my form variables fail to be listed and the web page stops = loading.
 
What is crazy is that this code has worked for 6 years and = only failed yesterday when I migrated from OS X Snow Leopard Server 10.6 = and WebDNA 6 to OS X Lion Server 10.7 and WebDNA 7. I suspect that it = has something to do with the Apache server settings or perhaps not = wrapping my [value] in a WebDNA context????
 
Any help would be = appreciated.


for starters:

wrap the = "[value]" (inside the [formvariables] which you use to see the formvars = in the HTML output) in "[url]..[/url]" .. so that you can at least see = the rest of the HTML after whatever char is truncating the = output.

-Govinda

= --Apple-Mail-5-813171131-- Govinda

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

ShowIf Question (1998) WCS Newbie question (1997) Date Problems (2000) [WebDNA] MacWorld Discount extension (2009) Showif? (2000) Emailer (1997) RE: [WebDNA] Clean URLS job - will pay (2010) Append File help needed (2000) Shipping Based on Number of Items (1998) Plugin or CGI or both (1997) SiteGuard Admin Feature ? (1997) Re:no [search] with NT (1997) [if] and [showif] (2002) Limitations on fields? Server is crashing (1997) [WebDNA] Is anybody running a CAPTCHA? (2017) Migrating to NT (1997) How did *you* learn Web Catalog? (2000) [showif],[refferer],[include] in errormessages.db (2002) PCS Emailer's role ? (1997) Looking up two prices in database? (1997)