[pmmail-list] PMMAIL 2.20.2380 file corruption (forwards with attachments)

Frank Winkler - Sun Germany REOS - Munich pmmail-list@blueprintsoftwareworks.com
Fri, 21 Sep 2001 12:51:05 +0200 (MET DST)


 >> Interesting data structure. I would do it much more easy - what' so 
 >> difficult is preceding the path with a "getenv ('TMP')"?
 >
 >  And how does the program keep track which file in the temp
 >directory belongs to which message? 
 >
 >  How does the program avoid duplicate file names? 

The same as yours would. Just add the prefix in front of the directory 
name! Instead of

	INBOX.FLD\gaga.MSG\pic1.jpg

we'd get

	F:\tmp\[INBOX.FLD\]gaga.msg\pic1.jpg

and so forth ...

Regards

-- 
-----------------------------------------------------------------------
Frank Winkler                             frank.winkler@germany.sun.com
Sun Microsystems - Remote Admin Center
Sonnenallee 1                                   Voice +49 89 46008.2755
85551 Heimstetten - Germany                       Fax +49 89 46008.2740