Re: [WebDNA] Retrieving a PDF from an email
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101443
interpreted = N
texte = The problem I'm imagining with decrypt in your case is that=20a .pdf file might contain a string of characters that looks=20like it needs to be decrypted when in reality that string=20of characters should not be decrypted ... kind of like when=20my original text has a string such as %20 in it but unurl=20changes this string into a space character instead of=20leaving it as %20. =20If this is what's going on the .pdf's may never be recovered=20successfully because every time they have that particular=20string of characters in them decrypt will 'decrypt' those=20characters when it really should leave them alone, and then=20you're stuck with a broken file. Short of zipping the .pdf=20before it is sent or letting a mail client retrieve it=20instead of webdna, I don't see any way around this problem.If this task is particularly important and not just a=20proof-of-concept exercise, you'll probably save time by=20putting a mail client on the server and making it check the=20mail account you're currently checking with webdna. Then=20let webdna find the downloaded file in the mail client's=20folders and do something with it from there.Sincerely,Ken Grome> I think I am getting closer to the answer, it is just> that the problem is getting bigger.>>> It looks like the DECRYPT is probably working OK until it> get to a couple of characters in the PDF file as it> always ends at the same spot in any of the 70 files I> have processed.>>> x=E2=81=84=C3=A3=C3=A9U0PH=C2=B7=C3=82=02
Associated Messages, from the most recent to the oldest:
The problem I'm imagining with decrypt in your case is that=20a .pdf file might contain a string of characters that looks=20like it needs to be decrypted when in reality that string=20of characters should not be decrypted ... kind of like when=20my original text has a string such as %20 in it but unurl=20changes this string into a space character instead of=20leaving it as %20. =20If this is what's going on the .pdf's may never be recovered=20successfully because every time they have that particular=20string of characters in them decrypt will 'decrypt' those=20characters when it really should leave them alone, and then=20you're stuck with a broken file. Short of zipping the .pdf=20before it is sent or letting a mail client retrieve it=20instead of webdna, I don't see any way around this problem.If this task is particularly important and not just a=20proof-of-concept exercise, you'll probably save time by=20putting a mail client on the server and making it check the=20mail account you're currently checking with webdna. Then=20let webdna find the downloaded file in the mail client's=20folders and do something with it from there.Sincerely,Ken Grome> I think I am getting closer to the answer, it is just> that the problem is getting bigger.>>> It looks like the DECRYPT is probably working OK until it> get to a couple of characters in the PDF file as it> always ends at the same spot in any of the 70 files I> have processed.>>> x=E2=81=84=C3=A3=C3=A9U0PH=C2=B7=C3=82=02
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:
[WebDNA] HTTP crashes (2010)
Searching multiple Databases (1997)
Help name our technology! (1997)
How do you TEAM Code? (2004)
[WebDNA] OT: How is this being done? Curious. (2009)
WC on Mac OS X or Mac OS X Server 2.x (2001)
Candle Light Vigil (2001)
Forms Search Questions (1997)
More on the email templates (1997)
emailer w/F2 (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
shipcost (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
[SubTotal] ??? (1998)
Checking Out! (1999)
[WebDNA] can webdna's [grep] find and replace ONLY the literal "+" char? (2012)
WebCat chatroom/hyperboard (1997)
WebDNA Writer Needed (1997)
[WebDNA] How to tidy up data extract ? (2013)
Looking up two prices in Formulas.db (1997)