Tropicalista / lucee-cfimap

cfimap tag for Lucee Server
13 stars 6 forks source link

GetAll fails to save attachments with : in the filename on windows only #21

Open HenryGelstor opened 6 years ago

HenryGelstor commented 6 years ago

On linux it seems to encode the spaces, colons and plus signs-(using lots of $ signs). On windows attachments like "export-2018-03-28 22:31:46 +0000.csv" do not save at all. No error is thrown, the file simply is not there. I used windows 2012 with the latest snapshot release of Lucee. Tiny issue but puzzling if someone emails you files with colons in the name especially if you developed on linux. Thanks again for this great tag

Tropicalista commented 6 years ago

I suppose this is encoding problem.

I will check.

Tropicalista commented 6 years ago

Can you please share the code you are using?

Thanks

HenryGelstor commented 6 years ago

Sure: <CFIMAP ACTION="GETALL" FOLDER="INBOX" CONNECTION="Conn" NAME="InboxQ" attachmentpath="C:\lucee\tomcat\webapps\ROOT\attachments" GenerateUniqueFilenames=TRUE />

It makes no difference if generateUniqueFilenames is included. Thanks On 3/29/2018 9:20 AM, Tropicalista wrote: > > Can you please share the code you are using? > > Thanks > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > , > or mute the thread > . >