Re: [WebDNA] File Upload Problem

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103725
interpreted = N
texte = Hi I had this a while ago when users were uploading from PC's, let me have a look at how I fixed it and I'll get back to you. I used the standard upload script that was on the SmithMicro snippets pages years ago. From memory it was to do with the actual filename variable being not quite as well defined as it could be but I'll have to check. It's 9:45 at night here and I'm stopping now but I'll have a look. Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== On 1 Oct 2009, at 21:29, Brian Wachter wrote: > Sorry for the small amount of information. I'm troubleshooting a > company-critical web service and wanted to get something out to the > talk list fast in case it was a known/easy issue. I'm checking into > it now and will post more info as I get it. > > What the web service does is allow someone to upload a file to a > specified directory on the server. A database is maintained that > tracks the filename, directory, person who uploaded, description, > etc. It looks like the file is actually uploaded, but the database > entry is not getting made. It seems that the name of the file that > is uploaded contains the full path of the file on the computer from > which the file is being uploaded. In other words, it appears that > the pathname is not being parsed such that only the filename > remains. I think that perhaps this full pathname, which includes > back and forward slashes, is probably making the subsequent WebDNA > code problems. > > No need to respond further at this time. Let me get a bit more > information first. > > Thanks, > Brian > > > ----- Original Message ----- From: "Govinda" > > To: > Sent: Thursday, October 01, 2009 4:09 PM > Subject: Re: [WebDNA] File Upload Problem > > >> On Oct 1, 2009, at 1:50 PM, Brian Wachter wrote: >> >>> I have a WebDNA-powered page that allows a user to select a file >>> from their computer and upload it to the server. The WebDNA code >>> was written for v4.5.1 and worked for years without a problem >>> across several browsers. I recently moved to WebDNA v6.2 for >>> Intel Mac (xserve) and this problem has started to occur for >>> specific browsers (IE6, IE7). It works fine for Firefox 3.5.3 and >>> IE8. >>> >>> Any suggestions? >>> >>> Thanks, >>> Brian >> >> Brian >> >> maybe someone who is experiencing the same thing will jump in and >> say the answer... but for others (at least me), the initial >> response is, "what problem?". You never say what is the issue.. >> something about file upload is now failing on those browsers.. >> but what specifically happens? >> >> -Govinda >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] File Upload Problem - FIXED! ("Brian Wachter" 2009)
  2. Re: [WebDNA] File Upload Problem (Terry Wilson 2009)
  3. Re: [WebDNA] File Upload Problem (Steve Craig 2009)
  4. Re: [WebDNA] File Upload Problem ("Brian Wachter" 2009)
  5. Re: [WebDNA] File Upload Problem (Govinda 2009)
  6. [WebDNA] File Upload Problem ("Brian Wachter" 2009)
Hi I had this a while ago when users were uploading from PC's, let me have a look at how I fixed it and I'll get back to you. I used the standard upload script that was on the SmithMicro snippets pages years ago. From memory it was to do with the actual filename variable being not quite as well defined as it could be but I'll have to check. It's 9:45 at night here and I'm stopping now but I'll have a look. Cheers ======================================== Steve Craig - Asylum Interactive Ltd Tel +44 1330 860550 Fax +44 1330 860880 ======================================== http://www.asylumweb.com Email: steve@asylumweb.com Skype: s.craig - iChat: steve.craig ======================================== On 1 Oct 2009, at 21:29, Brian Wachter wrote: > Sorry for the small amount of information. I'm troubleshooting a > company-critical web service and wanted to get something out to the > Talk List fast in case it was a known/easy issue. I'm checking into > it now and will post more info as I get it. > > What the web service does is allow someone to upload a file to a > specified directory on the server. A database is maintained that > tracks the filename, directory, person who uploaded, description, > etc. It looks like the file is actually uploaded, but the database > entry is not getting made. It seems that the name of the file that > is uploaded contains the full path of the file on the computer from > which the file is being uploaded. In other words, it appears that > the pathname is not being parsed such that only the filename > remains. I think that perhaps this full pathname, which includes > back and forward slashes, is probably making the subsequent WebDNA > code problems. > > No need to respond further at this time. Let me get a bit more > information first. > > Thanks, > Brian > > > ----- Original Message ----- From: "Govinda" > > To: > Sent: Thursday, October 01, 2009 4:09 PM > Subject: Re: [WebDNA] File Upload Problem > > >> On Oct 1, 2009, at 1:50 PM, Brian Wachter wrote: >> >>> I have a WebDNA-powered page that allows a user to select a file >>> from their computer and upload it to the server. The WebDNA code >>> was written for v4.5.1 and worked for years without a problem >>> across several browsers. I recently moved to WebDNA v6.2 for >>> Intel Mac (xserve) and this problem has started to occur for >>> specific browsers (IE6, IE7). It works fine for Firefox 3.5.3 and >>> IE8. >>> >>> Any suggestions? >>> >>> Thanks, >>> Brian >> >> Brian >> >> maybe someone who is experiencing the same thing will jump in and >> say the answer... but for others (at least me), the initial >> response is, "what problem?". You never say what is the issue.. >> something about file upload is now failing on those browsers.. >> but what specifically happens? >> >> -Govinda >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 Steve Craig

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:

Country & Ship-to address & other fields ? (1997) Feature req. (2002) Remove from list server (1997) How nuch ram??? (1997) WebCat2: Items xx to xx shown, etc. (1997) whole word search bringing irrelevant results.. (2000) Conditional searching & displaying (1997) [date format] w/in sendmail (1997) Purchased cart being overwritten - still !?? (1997) For those of you not on the WebCatalog Beta... (1997) Repeating Fields (1997) WC1.6 to WC2 date formatting (1997) Authenticate (1997) emailer truncates last letter! (1997) Opposite of Summ=T? (2000) Email Newsletters (2003) Client-side Image Maps and WebCat (what's a database-drivensite)? (1998) RE: Multithreading of [replace] (1999) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) ErrorMessages.db (2004)