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:

    
  1. Re: [WebDNA] Retrieving a PDF from an email - SOLUTION (Stuart Tremain 2008)
  2. Re: [WebDNA] Retrieving a PDF from an email (Govinda 2008)
  3. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  4. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  5. Re: [WebDNA] Retrieving a PDF from an email (Govinda 2008)
  6. Re: [WebDNA] Retrieving a PDF from an email (Kenneth Grome 2008)
  7. Re: [WebDNA] Retrieving a PDF from an email (Steve Craig 2008)
  8. Re: [WebDNA] Retrieving a PDF from an email (Govinda 2008)
  9. Re: [WebDNA] Retrieving a PDF from an email (Kenneth Grome 2008)
  10. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  11. Re: [WebDNA] Retrieving a PDF from an email (Kenneth Grome 2008)
  12. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  13. Re: [WebDNA] Retrieving a PDF from an email (Kenneth Grome 2008)
  14. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  15. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  16. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  17. Re: [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
  18. [WebDNA] Retrieving a PDF from an email (Stuart Tremain 2008)
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)