cancel
Showing results for 
Search instead for 
Did you mean: 

Specifying current directory in Receiver File Adapter

Former Member
0 Kudos

Hi Experts,

I have been configuring a receiver file adapter to place a file onto an FTP server. As per the information provided, as soon as I login to the FTP server, I have to place the file in current logged in directory. In this case, how can I mention this in file adapter as to use the current directory path to place the file? What should I enter in 'Target Directory' in File Access Parameters?

Thanks,

Dhawal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dhawal,

Try specifying '.' for the directory.

Regards,

Koen

Former Member
0 Kudos

Hi Koen,

Specifying "." for the current directory worked. Thanks. Awarded points to you.

Regards,

Dhawal

Answers (1)

Answers (1)

former_member181985
Active Contributor
0 Kudos

when you always login by default it will be the root directory.

But in file receiver file channel the directory is mandatory, and the file adapter channel uses this information for file copies.

Former Member
0 Kudos

Hi Praveen,

Since file directory parameter is mandatory, my question is what should I enter in this parameter so that the file adapter will know that the file should be placed in the root directory itself?

Regards,

Dhawal

former_member181985
Active Contributor
0 Kudos

use /

former_member200962
Active Contributor
0 Kudos
file should be placed in the root directory itself

The root directory will have some name/ IP address....use this in the fiel channel.