Re: Write to the desktop?
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41687
interpreted = N
texte = Sounds like a good use for that fancy new preference in 4.5 if I'm notmistaken it may help.Though I can't remember what it is at the momment, but I believe it willallow you use / as the root of the drive rather than the web site directoryor webcatalog directory.Just looked it up on betadoc:'Absolute Path'Prefixing a file or database path with an * will force WebCatatog to treatthe path as absolute, and not relative to the template or virtual root.This is useful on platforms where using an alias in not an option. Thisfeature is disabled by default, but can be enabled via the WebDNAadministration page. This is similar to the use of '^' to specify a pathrelative to the WebDNA 'globals' folder.>> I want webcat to write a file to the desktop folder -- no matter>> where the current template resides in the hierarchy. Does anyone>> have an idea for how to do this in a way that does not have to be>> re-written every time I move the current template to a different>> location?>> >> I'm looking for a MacOS9 solution right now, but it would be nice if>> the final solution were cross-platform ...> > [writefile file=^../../../../../../../Desktop Folder/file.html]> > Put enough ../ to get to the Desktop Folder from the Globals folder.-Jason Tyler-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Sounds like a good use for that fancy new preference in 4.5 if I'm notmistaken it may help.Though I can't remember what it is at the momment, but I believe it willallow you use / as the root of the drive rather than the web site directoryor webcatalog directory.Just looked it up on betadoc:'Absolute Path'Prefixing a file or database path with an * will force WebCatatog to treatthe path as absolute, and not relative to the template or virtual root.This is useful on platforms where using an alias in not an option. Thisfeature is disabled by default, but can be enabled via the WebDNAadministration page. This is similar to the use of '^' to specify a pathrelative to the WebDNA 'globals' folder.>> I want webcat to write a file to the desktop folder -- no matter>> where the current template resides in the hierarchy. Does anyone>> have an idea for how to do this in a way that does not have to be>> re-written every time I move the current template to a different>> location?>> >> I'm looking for a MacOS9 solution right now, but it would be nice if>> the final solution were cross-platform ...> > [writefile file=^../../../../../../../Desktop Folder/file.html]> > Put enough ../ to get to the Desktop Folder from the Globals folder.-Jason Tyler-------------------------------------------------------------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://search.smithmicro.com/
Jason Tyler
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:
webcat2b12 CGI -- Date comparisons (1997)
PROTECT tag suggestion (2004)
[Sum] function? (1997)
can WC render sites out? (1997)
Interfacing WebMerchant to www.fedex.com (1997)
FEW QUESTIONS (1997)
RequiredFields template (1997)
FYI-WebCat Mac or NT (1997)
time and welcome (1999)
NetSplat and WebCat2 (1997)
RequiredFields template (1997)
shipCost (1998)
Large sites (2003)
[shownext] support - MacOS (1997)
Quickie question on the email templates (1997)
Too Much Rootbeer Free Offer (1997)
Just a thought (1998)
Showif, Search and text ? (2003)
ODBC to WebCat (2000)
plugin vs. acgi results (1998)