Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

Virginie77
2012-02-06 16:33:41

Hi janhess,

Ok, thanks for you answer !

Virginie

janhess
2012-02-06 15:53:25

ftp the file to your system first.

Virginie77
2012-02-06 14:29:42

Any ideas ?

Virginie77
2012-02-06 10:29:20

Virginie77 wrote:

The error I have is :

\prod\interfaces\dwh\in\ods\jlr\adherents\JDC_PORNIC20120106_2011_11.txt

The error message is not complete, it is :


FileNotFoundException: \prod\interfaces\dwh\in\ods\jlr\adherents\JDC_PORNIC20120106_2011_11.txt (The specified path was not found)

Virginie77
2012-02-06 10:27:15

More information  :

The error I have is :

\prod\interfaces\dwh\in\ods\jlr\adherents\JDC_PORNIC20120106_2011_11.txt


So I tried to replace "\" by "/", with the following expression :

StringHandling.CHANGE(((String)globalMap.get("tFTPFileList_1_CURRENT_FILEPATH")),"\","/")

...but for each execution Talend add a "\", my expression became : StringHandling.CHANGE(((String)globalMap.get("tFTPFileList_1_CURRENT_FILEPATH")),"\\","/")

The error there is then :
regex.PatternSyntaxException: Unexpected internal error near index 1
\


The encodage I defined is : ISO-8859-15


Thanks for your help

Virginie

Virginie77
2012-02-06 09:59:31

Hi,

I want tu use tFileInputMSDelimited on a file accessed by FTP, but apparently it does not work.

Il works fine with a local file.

In the field "file name", I filled : ((String)globalMap.get("tFTPFileList_1_CURRENT_FILEPATH"))


Could you confirm that it is not possible de to that ? Or if it is, could you explain me how to do ?

Thanks for your help

Virginie

Board footer

Powered by FluxBB