Four Stars

## My mapping cannot access the shared drive.

Hi All,

I have created one mapping which has to read all files from a particular folder. I am using tFileList_1 for the purpose.

When i am accesing the local filesystem on my desktop it works. But when i use the below direcory

\\ant.xyz.com\\Dept-as\\BLR\\GroupData\\INFC-DPM\\  it gives no error and mapping completes but does not load anything.

Starting job LOAD_LM_DPM1 at 10:28 27/11/2017.

[statistics] connecting to socket on port 3645
[statistics] connected
[trace] connecting to socket on port 5045
[trace] connected
[statistics] disconnected
[trace] disconnected
Job LOAD_LM_DPM1 ended at 10:28 27/11/2017. [exit code=0]

Please help.

Thanks,

Tosif Khan

Tags (1)

Accepted Solutions
Six Stars

## Re: My mapping cannot access the shared drive.

Yes It's correct because while parsing escaping characters \\\\ is replaced by \\ and \\ is replaced by \ .

All Replies
Six Stars

## Re: My mapping cannot access the shared drive.

Hi

Try this..

1) Just check that option(Generate Error if no file found) in tFileList_ Component.

2) Check the Permission details on the directory for your account.

3) if you are able to reach the shared drive path through Run option in windows then only tfilelist will fetch files.

Four Stars

## Re: My mapping cannot access the shared drive.

Thank you for inputs.

1. This is the drive i can access from run

\\ant.xyz.com\Dept-as\BLR3\GroupData\INFC-DPM

but when i use the same path in tFileList i get following error:

invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )

Thanks & Regards,

Tosif Khan

@khantosi wrote:

Hi All,

I have created one mapping which has to read all files from a particular folder. I am using tFileList_1 for the purpose.

When i am accesing the local filesystem on my desktop it works. But when i use the below direcory

\\ant.xyz.com\\Dept-as\\BLR\\GroupData\\INFC-DPM\\  it gives no error and mapping completes but does not load anything.

Starting job LOAD_LM_DPM1 at 10:28 27/11/2017.

[statistics] connecting to socket on port 3645
[statistics] connected
[trace] connecting to socket on port 5045
[trace] connected
[statistics] disconnected
[trace] disconnected
Job LOAD_LM_DPM1 ended at 10:28 27/11/2017. [exit code=0]

Please help.

Thanks,

Tosif Khan

@khantosi wrote:

Hi All,

I have created one mapping which has to read all files from a particular folder. I am using tFileList_1 for the purpose.

When i am accesing the local filesystem on my desktop it works. But when i use the below direcory

\\ant.xyz.com\\Dept-as\\BLR\\GroupData\\INFC-DPM\\  it gives no error and mapping completes but does not load anything.

Starting job LOAD_LM_DPM1 at 10:28 27/11/2017.

[statistics] connecting to socket on port 3645
[statistics] connected
[trace] connecting to socket on port 5045
[trace] connected
[statistics] disconnected
[trace] disconnected
Job LOAD_LM_DPM1 ended at 10:28 27/11/2017. [exit code=0]

Please help.

Thanks,

Tosif Khan

Six Stars

## Re: My mapping cannot access the shared drive.

Hello,

For me it's working like that "//ant.xyz.com/Dept-as/BLR3/GroupData/INFC-DPM"

Best regards,

Márcio

Four Stars

## Re: My mapping cannot access the shared drive.

Below is working

"\\\\ant.xyz.com\\Dept-as\\BLR3\\GroupData\\INFC-DPM"

Six Stars

## Re: My mapping cannot access the shared drive.

Yes It's correct because while parsing escaping characters \\\\ is replaced by \\ and \\ is replaced by \ .

## 2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

## OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

## What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

## Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

## How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

## Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download