Re: Batch upload

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61639
interpreted = N
texte = I made one similar to the one in sitebuilder where you choose up to five files. No reason it couldn't be expanded. But you're still choosing them onesy-twosy. Thinking out loud, because I don't have the time to experiment, why not upload a .zip file to a specified directory, and have the shell or something unzip it on the server? Then you could bundle up a whole folder of files. Anyone try this, or see any reason why it couldn't be managed via WebDNA?You could use a listfiles to see what you end up with and deal with them accordingly (rename, move, make a database entries, etc). Is there a practical size limitation to an upload? If there's a size issue, compromise by FTPing the folder to the server, then proceed from a listfiles thing. Terry >Subject: Batch upload >Date: Fri, 1 Apr 2005 10:25:34 -0600 > >I've successfully used code that allows a user to upload a single >file, and appends a record to a database file with details about the >file (ID, filename, etc.) However I'm now dealing with a situation >where we have many, many files to upload, and doing them one at a >time will be time-consuming and monotonous. > >Has anyone developed/implemented code that can do a batch file >upload and database appends? I'd be interested to know. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Syntax error (was Batch upload) ( Kenneth Grome 2005)
  2. Re: Batch upload ( William DeVaul 2005)
  3. Re: Batch upload ( Terry Wilson 2005)
  4. Re: Batch upload ( Daryl Mitchell 2005)
  5. Re: Batch upload ( Donovan Brooke 2005)
  6. Batch upload ( Daryl Mitchell 2005)
I made one similar to the one in sitebuilder where you choose up to five files. No reason it couldn't be expanded. But you're still choosing them onesy-twosy. Thinking out loud, because I don't have the time to experiment, why not upload a .zip file to a specified directory, and have the shell or something unzip it on the server? Then you could bundle up a whole folder of files. Anyone try this, or see any reason why it couldn't be managed via WebDNA?You could use a listfiles to see what you end up with and deal with them accordingly (rename, move, make a database entries, etc). Is there a practical size limitation to an upload? If there's a size issue, compromise by FTPing the folder to the server, then proceed from a listfiles thing. Terry >Subject: Batch upload >Date: Fri, 1 Apr 2005 10:25:34 -0600 > >I've successfully used code that allows a user to upload a single >file, and appends a record to a database file with details about the >file (ID, filename, etc.) However I'm now dealing with a situation >where we have many, many files to upload, and doing them one at a >time will be time-consuming and monotonous. > >Has anyone developed/implemented code that can do a batch file >upload and database appends? I'd be interested to know. ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Terry Wilson

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:

Browser / Mime Type mapping problem. (2000) OT: NT mac sharing (1998) Major Security Hole (1998) Template Not Found (1998) problem with [Format Days_To_Date] (2000) .. more on sliding discounts... (1997) Reversed words (1997) Simple Database close connection (2001) Problems with [Applescript] (1997) BUG: Random sort is not random at all..... (2000) error: Too many nested [xxx] contexts (1997) Banners (1997) Search in 2 or more catalogs (1997) sort on categories (DBEdit) (2001) problems with 2 tags shakur (1997) HomePage Caution (1997) RE: Error: template (1997) Uploading a file (2000) unique ID (1997) Showif, Hideif reverse logic ? (1997)