Re: [shell]
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 49184
interpreted = N
texte = I believe you need to specify a full path to temp/[attachmentName].tmp...The [shell] does not have the same current directory as the executing page. You should be able to use:[fileinfo temp/[attachmentName].tmp][fullpath][/fileinfo]to get the full path to the file.- brianOn Thursday, April 3, 2003, at 07:39 PM, dale wrote:> Hello,>> Having a problem with [shell]>> Using the following line in a template and it seems to never execute. > Using fileinfo does show the file exists, and this line is pulled > (with the image path changed correctly) from a working template.>> Executing from the command line works fine. Any ideas?>> Redhat 7.x webcat 4.5.1>>> [text show=t]filestuff=[shell]/usr/local/bin/identify > temp/[attachmentName].tmp[/shell][/text]
>>> Thanks>> Dale>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------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:
I believe you need to specify a full path to temp/[attachmentName].tmp...The [shell] does not have the same current directory as the executing page. You should be able to use:[fileinfo temp/[attachmentName].tmp][fullpath][/fileinfo]to get the full path to the file.- brianOn Thursday, April 3, 2003, at 07:39 PM, dale wrote:> Hello,>> Having a problem with [shell]>> Using the following line in a template and it seems to never execute. > Using fileinfo does show the file exists, and this line is pulled > (with the image path changed correctly) from a working template.>> Executing from the command line works fine. Any ideas?>> Redhat 7.x webcat 4.5.1>>> [text show=t]filestuff=[shell]/usr/local/bin/identify > temp/[attachmentName].tmp[/shell][/text]
>>> Thanks>> Dale>-- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com ---------------------------------------------------------------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/
Brian Fries
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:
PSC recommends what date format yr 2000??? (1997)
PCS Frames (1997)
emailer (1997)
CustomerType - WebDNA Variable (2004)
Linux ODBC and the ODBC Bridge (2000)
[FileInfo] (1998)
Help w/Multi User Admins (1997)
[table] strange behaviour (2003)
Grep email addresses in bbedit or webdna ... (2003)
Missing Cart Information (2003)
How true is this? (1999)
Problems adding stuff to the shopping cart. (1997)
[WebDNA] Credit card processing (2012)
Plugin or CGI or both (1997)
Problems with date math (1997)
stray LF character in the email (2003)
date formatting question (2001)
WebCatalog can't find database (1997)
PSC recommends what date format yr 2000??? (1997)
WebDNA update from Smith Micro (2002)