Re: [WebDNA] Retrieving a PDF from an email
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101435
interpreted = N
texte = Maybe try saving the file first, then include it in a template so you can decrypt it, then write the decrypted file:[writefile encoded.txt][thisattachment][/writefile][waitforfile encoded.txt][writefile decoded.pdf][decrypt method=Base64][!][/!][include encoded.txt][/decrypt][/writefile][/waitforfile]Sincerely,Ken Grome> OK>> I have managed to save the attachment as a file, the only> problem is it is now Base64 encrypted, I have the> following code:>> [Writefile> file=files/[thisFileName]][ThisAttachment][/WriteFile] -> This saves the file OK>> This leaves me with an empty file> [Writefile file=files/[thisFileName]][Decrypt> method=Base64] [ThisAttachment][/Decrypt][/WriteFile]>> Any ideas ?
Associated Messages, from the most recent to the oldest:
Maybe try saving the file first, then include it in a template so you can decrypt it, then write the decrypted file:[writefile encoded.txt][thisattachment][/writefile][waitforfile encoded.txt][writefile decoded.pdf][decrypt method=Base64]
[!][/!][include encoded.txt][/decrypt][/writefile][/waitforfile]Sincerely,Ken Grome> OK>> I have managed to save the attachment as a file, the only> problem is it is now Base64 encrypted, I have the> following code:>> [Writefile> file=files/[thisFileName]][ThisAttachment][/WriteFile] -> This saves the file OK>> This leaves me with an empty file> [Writefile file=files/[thisFileName]][Decrypt> method=Base64] [ThisAttachment][/Decrypt][/WriteFile]>> Any ideas ?
Kenneth Grome
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:
Server slowing down. (1997)
itools (2000)
Caching [include] files ... (1997)
breaking & sorting (2000)
PCS Frames (1997)
STRANGE (2001)
Virtual hosting and webcatNT (1997)
Re[2]: WebCatalog on Linux (2000)
[WebDNA] Test - no messages since 9th of June 2009. (2009)
refreshing IE with posted .tmpl (1997)
Encrypt Users.db problem (1998)
[OT] Test (2003)
Information on Vieworders.tpl (1998)
Grant, please help me ... (1997)
Denying access by IP address (2000)
using showpage and showcart commands (1996)
all records returned. (1997)
Date problems-more (1997)
WebCat2: Items xx to xx shown, etc. (1997)
PIXO (1997)