File upload woes

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19145
interpreted = N
texte = Hi Everyone,After lurking on the digest for a few months I'm back with a tough question. Is anyone using a Web based file upload solution with WebCatalog successfully? When I started working on this site I expected to be able to use SiteEdit Pro to handle the file uploading portion of this project. However, after trying out different things and searching the archives it became apparent that SiteEdit Pro would not allow me to customize the page that it returns after uploading a file. Thus I resorted to the Web* file upload plugin, since it returns the default.html page after an upload, which I can generate dynamically from my upload template itself. That worked fine, however I've stumbled on another problem now. We are trying to generate little simple on-line stores through a web based interface. I've reused some code from the Database Helper included with WebCatalog, and I'm trying to enable the user who is adding database records through the New Database interface to browse his hard drive and upload the images and have that image name included in the record he is creating automatically. I know this is probably a stretch, but our customer was really unhappy with how kludgy the current solution is(add your image names when generating the records and then later on upload the images separately). The work we have so far, is located at: http://www.iwcc.com/cybermiami/cartgenerator/ Only the Type 1 Shopping cart is working so far(so select that), and the problem I'm talking about refers to the Option #2 Create New Database. Everyone on the list is welcome to stop by and check it out. Any ideas, or thoughts would be greatly welcomed, and If all else fails I can always resort to PHP3 on our Alpha/Linux server to handle this portion of the work, and upload it to the WebCat server via netatalk, but I really hope to avoid this and be able to do everything from within WebCatalog. Again any help, ideas and criticism will be greatly appreciated.Thanks, Jose -- ----------------------------------------------------- The International Website Construction Co. http://www.iwcc.com/Miami --- Sao Paulo --- Buenos Aires --- Lima Web Advertising and Design for the Latin American Market voice: (305) 666-1012 3714 Matheson Ave. Coconut Grove, FL 33133, USA ----------------------------------------------------- Content-Type: text/x-vcard; charset=us-ascii; name=fito.vcf Content-Transfer-Encoding: 7bit Content-Description: Card for Jose A. Gordo Content-Disposition: attachment; filename=fito.vcfAttachment converted: Hard Disk:fito.vcf (TEXT/ttxt) (00011246) Associated Messages, from the most recent to the oldest:

    
  1. Re: File upload woes (Wendell B. Kozak 1998)
  2. Re: File upload woes (Kenneth Grome 1998)
  3. Re: File upload woes (Jose A. Gordo 1998)
  4. Re: File upload woes (Wendell B. Kozak 1998)
  5. File upload woes (Jose A. Gordo 1998)
Hi Everyone,After lurking on the digest for a few months I'm back with a tough question. Is anyone using a Web based file upload solution with WebCatalog successfully? When I started working on this site I expected to be able to use SiteEdit Pro to handle the file uploading portion of this project. However, after trying out different things and searching the archives it became apparent that SiteEdit Pro would not allow me to customize the page that it returns after uploading a file. Thus I resorted to the Web* file upload plugin, since it returns the default.html page after an upload, which I can generate dynamically from my upload template itself. That worked fine, however I've stumbled on another problem now. We are trying to generate little simple on-line stores through a web based interface. I've reused some code from the Database Helper included with WebCatalog, and I'm trying to enable the user who is adding database records through the New Database interface to browse his hard drive and upload the images and have that image name included in the record he is creating automatically. I know this is probably a stretch, but our customer was really unhappy with how kludgy the current solution is(add your image names when generating the records and then later on upload the images separately). The work we have so far, is located at: http://www.iwcc.com/cybermiami/cartgenerator/ Only the Type 1 Shopping cart is working so far(so select that), and the problem I'm talking about refers to the Option #2 Create New Database. Everyone on the list is welcome to stop by and check it out. Any ideas, or thoughts would be greatly welcomed, and If all else fails I can always resort to PHP3 on our Alpha/Linux server to handle this portion of the work, and upload it to the WebCat server via netatalk, but I really hope to avoid this and be able to do everything from within WebCatalog. Again any help, ideas and criticism will be greatly appreciated.Thanks, Jose -- ----------------------------------------------------- The International Website Construction Co. http://www.iwcc.com/Miami --- Sao Paulo --- Buenos Aires --- Lima Web Advertising and Design for the Latin American Market voice: (305) 666-1012 3714 Matheson Ave. Coconut Grove, FL 33133, USA ----------------------------------------------------- Content-Type: text/x-vcard; charset=us-ascii; name=fito.vcf Content-Transfer-Encoding: 7bit Content-Description: Card for Jose A. Gordo Content-Disposition: attachment; filename=fito.vcfAttachment converted: Hard Disk:fito.vcf (TEXT/ttxt) (00011246) Jose A. Gordo

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:

Pithy questions on webcommerce & siteedit (1997) Dr. Watson Error (1998) Buying sans cart (1997) Re1000001: Setting up shop (1997) imagemagick / iis / plesk - - - path solved (2006) WebCatalog/WebMerchant 2.1 (1998) Not really WebCat (1997) Summary search -- speed (1997) emailer (1997) Text Area - Line Breaks (1998) [WebDNA] ImageMagick troubleshooting (2009) Updating Prices in Online Database (1999) Performance Issue (2000) Formulas.db + Users.db (1997) Wrapping text (1998) WCS Newbie question (1997) [WebDNA] JSON Parser (2014) Initiating NewCart (1997) Credit Card Number checking (1997) [ShowNext] (1997)