RE: File Uploads

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21073
interpreted = N
texte = Olin,How does doing it this way differ from sending the text in a field and just writing this out to a file?- ck >Charles, the size limit comes from your browser. Some NT Server IE/Netscape >versions push over 200K. Some less than 15k. I have pushed over 1MB of text >through forms this way. > >Aloha, Olin > >> -----Original Message----- >> From: charles kline [mailto:ckline@macsultants.com] >> Sent: Monday, November 16, 1998 3:31 PM >> To: WebDNA-Talk >> Subject: RE: File Uploads >> >> >> This is cool, and also sort of what I remember seeing before. I think you >> actually posted the original thread too. Thanks. >> >> Do you know if there is a limit to the size being posted in this manner? >> >> - ck >> >> >> >> >Charles, true HTTP upload is not yet supported. What you have in mind is >> >possible through an HTML form. Create a file like this: >> > >> >===upload.tpl=== >> >Untitled >> > >> > >> > >> >[hideif [upload]=t] >> >
>> > >> >
>> > >> >
>> >[/hideif] >> > >> >[showif [upload]=t] >> >User typed in: [htmlFile] >> >[/showif] >> > >> > >> >===upload.tpl=== >> > >> >Now you can do a writefile instead of User typed in like this: >> > >> >[writefile yourpath&file][htmlFile][/writefile] >> > >> >Whatever the user pasted in will get written to your disk. You >> can then come >> >up with your own naming convention (date?) and append a database >> if needed. >> > >> >Hope this helps. >> > >> >Aloha, Olin >> > >> > >> >> -----Original Message----- >> >> From: charles kline [mailto:ckline@macsultants.com] >> >> Sent: Monday, November 16, 1998 10:16 AM >> >> To: WebDNA-Talk >> >> Subject: File Uploads >> >> >> >> >> >> Hi everyone, >> >> >> >> I know that I have seen this discussed before, but I can't seem to find >> >> the reference to it that I thought I saw. >> >> >> >> I would like to be able to provide a way for a client to create a .html >> >> file and send them to the server. >> >> >> >> Then I want WebCat to know about it and since this is going to be a >> >> weekly letter to the public I want it to be indexed into the database >> >> so it can be referenced by newest to oldest. >> >> >> >> Is there a way to do this using WebCat 3.0 and WebStar 2.5? >> >> >> >> - Charles >> >> >> >> _______________________________________________________________ >> >> Charles Kline ckline@macsultants.com >> >> >> >> >> >> MacSultants >> >> Professional Solutions for Computer Systems >> >> >> >> Phone# 609-273-3255 >> >> Fax# 609-273-3721 >> >> >> >> >> >> >> >> >> > >> > >> > >> >> >> _______________________________________________________________ >> Charles Kline ckline@macsultants.com >> >> >> MacSultants >> Professional Solutions for Computer Systems >> >> Phone# 609-273-3255 >> Fax# 609-273-3721 >> >> >> >> > > > _______________________________________________________________ Charles Kline ckline@macsultants.com MacSultants Professional Solutions for Computer SystemsPhone# 609-273-3255 Fax# 609-273-3721 Associated Messages, from the most recent to the oldest:

    
  1. RE: File Uploads (Whoops) (charles kline 1998)
  2. RE: File Uploads (charles kline 1998)
  3. RE: File Uploads (Olin Lagon 1998)
  4. RE: File Uploads (Olin Lagon 1998)
  5. RE: File Uploads (charles kline 1998)
  6. RE: File Uploads (Olin Lagon 1998)
  7. Re: file uploads with webcat...binary? (PCS Technical Support 1998)
  8. Re: File Uploads: WebCat/SiteEdit (PCS Technical Support 1998)
  9. RE: File Uploads: WebCat/SiteEdit (Eddie Schrieffer 1998)
  10. Re: File Uploads: WebCat/SiteEdit (Kenneth Grome 1998)
Olin,How does doing it this way differ from sending the text in a field and just writing this out to a file?- ck >Charles, the size limit comes from your browser. Some NT Server IE/Netscape >versions push over 200K. Some less than 15k. I have pushed over 1MB of text >through forms this way. > >Aloha, Olin > >> -----Original Message----- >> From: charles kline [mailto:ckline@macsultants.com] >> Sent: Monday, November 16, 1998 3:31 PM >> To: WebDNA-Talk >> Subject: RE: File Uploads >> >> >> This is cool, and also sort of what I remember seeing before. I think you >> actually posted the original thread too. Thanks. >> >> Do you know if there is a limit to the size being posted in this manner? >> >> - ck >> >> >> >> >Charles, true HTTP upload is not yet supported. What you have in mind is >> >possible through an HTML form. Create a file like this: >> > >> >===upload.tpl=== >> >Untitled >> > >> > >> > >> >[hideif [upload]=t] >> >
[thisurl] mehtod=post> >> > >> >
>> > >> >
>> >[/hideif] >> > >> >[showif [upload]=t] >> >User typed in: [htmlFile] >> >[/showif] >> > >> > >> >===upload.tpl=== >> > >> >Now you can do a writefile instead of User typed in like this: >> > >> >[writefile yourpath&file][htmlFile][/writefile] >> > >> >Whatever the user pasted in will get written to your disk. You >> can then come >> >up with your own naming convention (date?) and append a database >> if needed. >> > >> >Hope this helps. >> > >> >Aloha, Olin >> > >> > >> >> -----Original Message----- >> >> From: charles kline [mailto:ckline@macsultants.com] >> >> Sent: Monday, November 16, 1998 10:16 AM >> >> To: WebDNA-Talk >> >> Subject: File Uploads >> >> >> >> >> >> Hi everyone, >> >> >> >> I know that I have seen this discussed before, but I can't seem to find >> >> the reference to it that I thought I saw. >> >> >> >> I would like to be able to provide a way for a client to create a .html >> >> file and send them to the server. >> >> >> >> Then I want WebCat to know about it and since this is going to be a >> >> weekly letter to the public I want it to be indexed into the database >> >> so it can be referenced by newest to oldest. >> >> >> >> Is there a way to do this using WebCat 3.0 and WebStar 2.5? >> >> >> >> - Charles >> >> >> >> _______________________________________________________________ >> >> Charles Kline ckline@macsultants.com >> >> >> >> >> >> MacSultants >> >> Professional Solutions for Computer Systems >> >> >> >> Phone# 609-273-3255 >> >> Fax# 609-273-3721 >> >> >> >> >> >> >> >> >> > >> > >> > >> >> >> _______________________________________________________________ >> Charles Kline ckline@macsultants.com >> >> >> MacSultants >> Professional Solutions for Computer Systems >> >> Phone# 609-273-3255 >> Fax# 609-273-3721 >> >> >> >> > > > _______________________________________________________________ Charles Kline ckline@macsultants.com MacSultants Professional Solutions for Computer SystemsPhone# 609-273-3255 Fax# 609-273-3721 charles kline

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:

Webmerchant confirmation hooks? (1997) Moving Files (2000) URL'ed value not written to DB URL'ed (2003) WebDNA Trouble... (1999) emailer (1997) available times? (2003) Thanks Grant (was: disappearing SKU (etc.) fields) (1998) Cookies and webcat (1997) Bug or syntax error on my part? (1997) Semi OT: vbulletin and # viewing - how do that do that? (2003) Upcoming 2.1 Release and PCS Committment (1997) Trouble with formula.db + more explanation (1997) Shipping [grandtotal] solution (1997) [OT] Mac Browser Performance Tips (1999) StoreBuilder v4.0.2 Question (2001) Help! WebCat2 bug (1997) OFF-TOPIC: Check www.godaddy.com for me ... (2003) Cleaning strings for SQL with WebCat (2005) Image maps/Webcat (1997) Exclamation point (1997)