cancel
Showing results for 
Search instead for 
Did you mean: 

username and pwd for FileAdapter with NFS as transport protocol

former_member188019
Active Participant
0 Kudos

Hi,

we installed PI 7.1 in windows env.

to access a particular target location manually from the PI windows server, the procedure is:

in the Start->Run or in the explorer bar we type the ip as "
121.1.2.3\SourceFolder", then the windows asks for the username and pwd, once we enter valid username/pwd, we get the access to the "
121.1.2.3\SourceFolder".

to poll the files under this folder, we setup a FileAdapter Communication Channel with TransportProtocol=NFS. (so its not FTP).

In the "File access Parameters" section, in the "source directory" value we entered as "
121.1.2.3\SourceFolder"

but where can we provide the username and password that would be required to access this folder.

when we activated the CC, in the RWB, we see log as:

Configured source directory '
121.1.2.3\SourceFolder' does not exist

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

to access a particular target location manually from the PI windows server, the procedure is:
in the Start->Run or in the explorer bar we type the ip as "\\121.1.2.3\SourceFolder", then the windows asks for the username and pwd, once we enter valid username/pwd, we get the access to the "\\121.1.2.3\SourceFolder".

So the folder does not exits in your XI installed server. It will be there in some other Server location.If am correct then NFS protocol not work for this. you should required FTP for accessing the external server path. NFS protocol used to access the local XI machine path only.

Regards,

Prakasu.M

former_member188019
Active Participant
0 Kudos

we tried different options,

but finally we had to use FTP, although the shared location is in the same network, we could not use direct ip address or mapped drive.

thanks for your replies.

Former Member
0 Kudos

Hi Madhu,

It wont be possible to provide username and password using NFS. You have to keep your file in same server location on which PI is installed or the external location needs to be mounted in such a way that PI can access the location. The user with which the PI instance is running should have read/write authorization to the file/folder you are trying to access.

Regards,

Prasad

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

You use NFS protocol in File adapter to access files on your XI/PI server BUT if you want access on NFS protocol file NOT from your XI/PI server you should do NFS mount for this directory.

Solution with FTP more simple for realization in this case.

BR,

Dzmitry

Former Member
0 Kudos

Can you just try typing in some other folder name(on XI server) in Source Directory and check if it works..

where can we provide the username and password that would be required to access this folder

Username and password is not required for NFS.

former_member200962
Active Contributor
0 Kudos

Did you check this help section:

http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/682bcd7f2a6d12e10000000a1553f6/content.htm

From the above link:
5.      Specify the Source Directory containing the files to be processed.
You can either specify the entire name or a name relative to the working directory of the Adapter Engine. On all platforms 
(including Windows), use a forward slash (/) to separate directory names in accordance with the Java specification.

So your File path seems to be incorrect....check and confirm

Regards,

Abhishek.

former_member188019
Active Participant
0 Kudos

thanks abhishek,

but we already tried that.. infact we tried below values for the source directory:


121.1.2.3\SourceFolder


121.1.2.3\SourceFolder\

//121.1.2.3/SourceFolder

//121.1.2.3/SourceFolder/

we got below errors in rwb:

Configured source directory '//121.1.2.3/SourceFolder' does not exist

Configured source directory '//121.1.2.3/SourceFolder/' does not exist

thanks.

Former Member
0 Kudos

Hi,

I think this path is from ur local machine,

Check the directory in AL11 and check the authorizations, use the same path as displayed in AL11 and check.

and keep the forward Slash only.

Regards,

Rahul.

Edited by: ROOKIE on Jul 27, 2009 3:57 PM