on 02-18-2016 12:51 PM
Hi SAP Experts,
We have a scenario File to proxy. I am facing the following error in communication channel monitoring.
"FTPEx: 421 Failed to access home and root directory.'. For details, contact your FTP server vendor."
So, whenever PI reads the file in source directory /out , as soon as getting loaded ino ECC but the thing is, source file failed to archive in /in/archive folder.
In ftp server , path would be like
C:\gem>out>
source_file.dat
C:\gem>in>
archive (folder)
---------------------------------
What I wanted is, once file processing is done at source directory,file should be placed in archive directory automatically
Please advise.
Thanks,
Gopi
Hi Gopi
The value configured for the archive directory might be incorrect. The directory path you mentioned has a drive letter (C:\) which is Windows-styled but the archive directory do not have the drive letter which makes in Unix-styled.
Make sure the directory name is consistent with the file system.
Best way to check what's the correct directory names is to log in using Filezilla.
Regards
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eng Swee,
Finally issue has been resolved now. I have got the root and home directory by navigating in ftp client -Filezilla.
C:\ root directory with mount point '/'
Thanks,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply.
But still I am facing error in the channel.
In windows, I have 3 directories for a user.
1)source file test.dat is located in the path C:\FIFA\out
2)The same file is to be archived in C:\FIFA\out\archive folder after processing.
3) there is another directory C:\FIFA\in where files arrive from ECC
So , First I am confused in setting of root directory '/' which is to be configured in source ftp adapter. Suppose if I set the path C:\FIFA\out as root directory '/' , ith throws an error.
Please advise on how to configure path at adapter leve.l
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
Thanks for you help.
Error appearing in the channel once if we set the path as per your snapshot. In our case, adapter accepts the Mount point directories. In WarFTP, I set the root directory as C:\FIFA\in So, files are successfully arriving from ECC to '/' directory via Receiver ftp adapter.
Meanwhile, in the source adapter would also be able to read the file and reaches into ECC but failed to archive in /archive directory
Hi Gopi
My guess is you are using WarFTP to setup an FTP server on a Windows computer.
Have you tried accessing the server via an FTP client like Filezilla. Try doing that and try navigating around to see how the directory structure looks like. This might give you an idea of how PI as a client would behave when logging into the server and traversing the directory structure.
If you have issues reading/writing file from PI. Try first to manually upload/download/rename/delete using Filezilla to see if it is related to permissions issue.
Regards
Eng Swee
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.