Re: Using Applescript to process WebCatalog functions
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17739
interpreted = N
texte = Now I get it. Thanks everyone for being so patient.>Bob Mosebar
changed the universe:>>> Ok. I'm interested. How do I get started on this? We are using the >> plug-in not the cgi. Is there documentation for setting this up.>>You may use these commands:>[CopyFile]>[CreateFolder]>[DeleteFile]>[DeleteFolder]>[FileInfo]>[ListFiles]>[MoveFile]>and you will find good descriptions in the online-documentation under >Files & Folders.>Renaming files works in conjunction with [CopyFile] and [MoveFile].>>>> From your description, you make it sound like a person has to do all this.>> >> Our customer can upload this at any time and I don't want my staff having >> to jump each time.>>That's the clue: there is no person of your staff involved!>Normally the customer uploads his new file into the upload-folder and the >next entry into the shop triggers the update-function.>The admin interface (design it as simple and clear as possible) is only >used when something goes wrong. What function you give him here is your >choice. Perhaps just one button? I would suggest to make a panic-button >which searches the backup folder for the most recent file using >[ListFiles] and [FileInfo] and replace the now active (corrupt) database >with the backup.>Of course, when he plays around and uploads two files, the system can run >into troubles - but then it is clearly the fault of the customer and you >can at least supply the last working database from the backup-folder...>>>Peter>__________________________________________>Peter Ostry - po@ostry.com - www.ostry.com>Ostry & Partner - Ostry Internet Solutions>Auhofstrasse 29 A-1130 Vienna Austria>fon ++43-1-8777454 fax ++43-1-8777454-21>>>
Associated Messages, from the most recent to the oldest:
Now I get it. Thanks everyone for being so patient.>Bob Mosebar changed the universe:>>> Ok. I'm interested. How do I get started on this? We are using the >> plug-in not the cgi. Is there documentation for setting this up.>>You may use these commands:>[copyfile]>[createfolder]>[deletefile]>[deletefolder]>[fileinfo]>[listfiles]>[movefile]>and you will find good descriptions in the online-documentation under >Files & Folders.>Renaming files works in conjunction with [copyfile] and [movefile].>>>> From your description, you make it sound like a person has to do all this.>> >> Our customer can upload this at any time and I don't want my staff having >> to jump each time.>>That's the clue: there is no person of your staff involved!>Normally the customer uploads his new file into the upload-folder and the >next entry into the shop triggers the update-function.>The admin interface (design it as simple and clear as possible) is only >used when something goes wrong. What function you give him here is your >choice. Perhaps just one button? I would suggest to make a panic-button >which searches the backup folder for the most recent file using >[listfiles] and [fileinfo] and replace the now active (corrupt) database >with the backup.>Of course, when he plays around and uploads two files, the system can run >into troubles - but then it is clearly the fault of the customer and you >can at least supply the last working database from the backup-folder...>>>Peter>__________________________________________>Peter Ostry - po@ostry.com - www.ostry.com>Ostry & Partner - Ostry Internet Solutions>Auhofstrasse 29 A-1130 Vienna Austria>fon ++43-1-8777454 fax ++43-1-8777454-21>>>
Bob Mosebar
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:
Trigger Woes (1999)
WebMerchant 1.6 and SHTML (1997)
Comments in db? (1997)
Handy Browser Counter Tip (1997)
Trouble with formula.db (1997)
Multiple prices (1997)
Re:listfiles-looking for slick solution (1997)
[WebDNA] An alternative to hosting... (2009)
aaron kant add (2.x) (2000)
[defined]ish (1997)
[ShowIf] if the varieable exists (1998)
[BULK] Fwd: [WebDNA] [BULK] WebDNA discovery in the Console - [having many crashes] (2011)
inetinfo.exe (1999)
Search returns all, not 20 (1997)
[/application] error? (1997)
[Q] Novice's question (1997)
Lookup Notfound (1998)
[foundItems] context problem (2000)
Searchable list archive (1997)
New Command prefs ... (1997)