Exception in component tPOP_1 java.io.FileNotFoundException:

One Star

Exception in component tPOP_1 java.io.FileNotFoundException:

I'm trying to read a pop3 mail server with the tpost component.
The connection is ok but I keep getting the error. I don't know what i'm doing wrong.
Connection is with a gmail account.
Exception in component tPOP_1
java.io.FileNotFoundException: 20120705-160617_1.mail/. (No such file or directory).

In the filepattern i filled in:
TalendDate.getDate("yyyyMMdd-hhmmss") + "_" + (counter_tPOP_1 + 1) + ".mail"
One Star

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi
Welcome to Talend Community!
I believe you made a mistake here. You filled 'Output directory' with the following expression.
TalendDate.getDate("yyyyMMdd-hhmmss") + "_" + (counter_tPOP_1 + 1) + ".mail"
Regards,
Pedro
One Star

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi Pedro,
Sorry my mistake but i keep getting the same error.
One Star

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi
Delete this component and add it again.
I believe you won't get the error above any more.
Regards,
Pedro
One Star

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi Pedro,
Still getting the same error: java.io.FileNotFoundException: C:/Temp/Mail/20120706-103402_1.mail (No such file or directory).
Thanks in advance for your help.
One Star

Re: Exception in component tPOP_1 java.io.FileNotFoundException:

Hi
You'd better create the directory "Mail" under C:/Temp.
You need to make sure the directory C:/Temp/Mail exists.
Regards,
Pedro