Error in picking files from FTP Site
Dear All,
I m using one communication channel of type FILE to pick the files from a FTP Site. Yesterday, the communication channel stopped picking the files from the FTP site. I checked the adapter in the Adapter Monitoring and it was green and was showing success messages in SXMB_MONI. I then just reactivated the complete scenario and the communication channel started picking the files again.
Is there a way to find out the trace or log in the server for the adapter or communication channel? Or how can I find out what went wrong.
Warm Regards,
N.Jain
Hello Nishant,
That is a problem which happens frequently( atleast i faced the same ) .
The issue is realted to timeout in your FTP Adapter (Connection Issue). Just check out the mode of connection in your file adapter is it permanant or reconnect after a certain time.
What you can possibly do is contact the team which maintains the FTP server...
Regards,
Sumit
Similar Messages
-
Peculiar behaviour in picking file from FTP in File-IDoc scenario
Dear XI Expert,
I have successfully completed configuration of FTP --> XI --> IDoc scenario. I have noticed a peculiar behaviour in picking the file from FTP. I placed a file on FTP and activated File Adapter with poll interval '60' secs and processing mode as 'Archive'. For the first time it has picked the file with expected behaviour and IDoc got posted to SAP successfully. But when I placed file for the second time and when refreshed the FTP directory, immediately file got archived without waiting for 60 secs. But in sxi_monitor I could not see any activity of processing this scenario. Surprise is that, file got archived in target directory. This goes on and on... without registering any activity of processing the message in Message monitoring.
In adapter monitoring it shows the message as described below:
<i>History:
2006-05-09 22:57:25 : Processing started
2006-05-09 22:57:25 : Error: Processing interrupted due to error: FTPEx: No such file
2006-05-09 22:57:24 : Processing started
2006-05-09 22:57:24 : Error: Processing interrupted due to error: FTPEx: No such file</i>
For your information my SAP XI system is on SP16.
Please find below the parameters of sender adapter:
<i>Quality of service: Exactly once
Poll interval: 60 secs
Processing mode: Archive
Connect Mode: Per File Transfer
Transfer Mode: Binary</i>
Can anybody help me out in resolving such a problem in this scenario?Hi Jayakrishnan,
Thanks for your reply.
Once again the same problem is noticed. i.e., for the first time when file adapter is activated the file got picked, activities were logged in monitoring and IDoc got posted to destination system. For the second time when file is placed, before 60 secs got completed the file is picked and archived in the target directory. No activities in monitoring are logged.
I have tried it checking the message at adapter level, but it is showing 'No results' (even in the case of successful pick of the file for the first time, not even it is showing other file adapters).
I was not able to understand where the problem could lie?
Regards,
Suraj Kumar -
Picking files from FTP server with dynamic Filename.
Hello Experts,
I want to pick some files from a FTP server in a File to Idoc scenario. The files in the Ftp Server are created with the filenames as timestamp of the file when it was created. How do I pick up these files?
Thanks,
MerrillyHi,
The above masking concept (*.txt, . etc) will be applicable for the files with NFS only,
See the below link to apply it
/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
The below link will help you to build up the adapter module to read the dynamic file name
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805
This could be applicable for FTP ...
Thanks
Swarup -
Errors when downloading files from web sites
I cannot download files from Firefox anymore on my home computer. I click on the download link and it takes me to another page that is blank. I can download just fine w/o any problems from my work computer, download box/window appears just fine. I'm using the same Windows 7, Firefox 8.0 program and same website that gives me the error message from my home computer. Is there a pop-up blocker, cookie or plug-in that I need to turn off/on? How do I enable downloads so I can save to my home computer?
Clear cache and cookies and try again. Also, check your firewall permissions for Firefox 8
-
Hi,
I was wondering if it is possible to load XML file from FTP address directly to XMLType Table?
Can someone help me?
For example I have ftp site "ftp://test" and on this site I have file "file.xml"
and I would like to load "file.xml" to table "xml_tab" ?
I tried to use "load_xml" procedure and set DIRECTORY "xml_dir" to 'ftp://test' but I get this error
exec load_xml(p_dir=>'XML_DIR', p_filename=>'file.xml');
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The network path was not found.
ORA-06512: at "SYS.DBMS_LOB", line 504
ORA-06512: at "P.LOAD_XML", line 8
ORA-06512: at line 1
Procedure looks like this:
(p_dir IN VARCHAR2,
p_filename IN VARCHAR2) AS
l_bfile BFILE := BFILENAME(p_dir, p_filename);
l_clob CLOB;
BEGIN
DBMS_LOB.createtemporary (l_clob, TRUE);
DBMS_LOB.fileopen(l_bfile, DBMS_LOB.file_readonly);
DBMS_LOB.loadfromfile(l_clob, l_bfile, DBMS_LOB.getlength(l_bfile));
DBMS_LOB.fileclose(l_bfile);
INSERT INTO xml_tab (
id,
filename,
xml
VALUES (
xml_tab_seq.NEXTVAL,
p_filename,
XMLTYPE.createXML(l_clob)
COMMIT;
DBMS_LOB.freetemporary (l_clob);
END;
I have tried also with this
select xdburitype('ftp://test/file.xml').getCLob() from dual;
but i get error
ERROR:
ORA-31001: Invalid resource handle or path name "ftp://test/file.xml"
Can you pleeeeeeas show me a way to do this, thanks ???This will not work.. Ypu cannot use FTP to 'PULL' a document into the database. (Yes I know there's a placeholder for an FTPURITYPE() but it was never implemented).
However you can use an FTP client to PUSH content into the XML DB repository. If the content is schema based XML associated with a known (registered) XML schema the content of the file will automatically be stored in the default table associated with the root element of the file. If the content is not associated with an known XML schema you can then use xdburitype to read the resource that was created when the document was uploaded into the repository -
Error while downloading PDF file from FTP Server
Hi Friends,
I have sent a PDF file with data to FTP , Then i want to check that uploaded pdf file , whether that is correct or not?
for that , i have downloaded that file from FTP and i am trying to open the file . but it is giving this problem .
"There was an error opening the document . The file is damaged and could not be repaired."
will you suggest me regarding this.
thanks in advance.
balaji.T.CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = spoolno
src_spoolid = wa_file-rqident
no_dialog = ' '
DST_DEVICE =
PDF_DESTINATION =
IMPORTING
pdf_bytecount = numbytes
pdf_spoolid = pdfspoolid
OTF_PAGECOUNT =
btc_jobname = jobname
btc_jobcount = jobcount
TABLES
pdf = pdf
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11.
because of this one PDF internal table is obtained.
OPEN DATASET L_FILENAME FOR OUTPUT in text mode MESSAGE MSG.
LOOP AT pdf.
CONCATENATE pdf-tdformat "Material group
pdf-TDLINE "Basic Material
INTO ITEXT-TLINE ..
APPEND ITEXT.
TRANSFER ITEXT TO L_FILENAME.
ENDLOOP. -
what causes this error:
File upload error: Error uploading file. Error moving uploaded file from temporary folder. (FILE_UPLOAD_ERROR)On 5/17/07 4:26 PM, in article [email protected],
"Gü[email protected]" <> wrote:
>
> To my experience servers behave differently -- on some I really had to use
> 777, others are happy with 755.
>
> in regards to "any user" :: On most ADDT respectively MX Kollection - based
> backends I made the image & file upload feature available to user having e.g.
> the "levels" 1 & 2, but not 3 -- I wouldn´t expose something like this to all
> users
>
> Günter Schenk
> Adobe Community Expert, Dreamweaver
My backend is only for admin, so they are the only ones who can access the
upload pages. My concern is an images folder on the site being 777. Can't
anyone from the outside plant a file in that folder if they just know where
to find it using an ftp program? ? -
Problem while reading the file from FTP server
Hi Friends,
I have a problem while fetching files from FTP server.
I used FTP_Connect, FTP_COMMAND function modules. I can able to put the files into FTP server.
but I cant able to pick the files from FTP server.
anyone have faced similar issues kindly let me know.
Thanks
GowrishankarHi,
try this way..
for reading the file using FTP you need to use different unix command ..
Prabhuda -
Download file from FTP Server to Application Server
Hi Friends,
Using the standard SAP Program RSFTP002, I was able to download the file to my local PC. But my requirement is to download the file from FTP to application server.
For RSFTP002, I am passing the username, password, host and in command 1 I am passing lcd :\temp, command 2 get filename. The file gets downloaded into c:\temp. If I do the same passing the app server path in command 1 as /usr/sap/tmp I get an error that pass cannot be found.
Anyone please help me how to donload the file from ftp to app server.
Thanks,
DeepthiIf I remember correctly the activation type on the technical settings tab must be set to "start on application server" in transaction SM59 for the RFC destination for the FTP server. This should allow the files to be transferred to/from the application server.
Regards,
Steve. -
Files from FTP server to Application server
Hi All,
I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface. Actually the process is already established at clientsite for placing master data files like product, plant etc from FTP server to App server through FTP adapter. Now my requirement is to move transaction data file with completely different structure as master data to App server. If we place these trasaction data file in same folder/directory as master data files does SAP XI pick this file also. If not what are the steps I need to follow to achieve this. I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
Right now our process for master data files is SAP XI picks the files and deletes the file from FTP server folder. The master data file names are plant_attr.csv, product_attr.csv etc and transcation data file name is salestrasactiondata.csv. I need to move these files to application server on daily bases.
I appreciate your help .
Regards
Bob.> I am new to SDN and SAP XI, can anyone tell me whether its possible to move the files (different strcuture files i.e. some are master data files and some are transaction data file) from FTP server to Application server with one interface.
Hello Bob,
Yes it is possible.
There can be two ways of doing it.
1. N:1 mapping, BPM will require for this.
N:1 Mapping refer this blog
IDOCs (Multiple Types) Collection in BPM
BpmPatterns CollectMerge
part1 BPM with Patterns explained Part-1
part2 BPM with Patterns explained Part-2
Second option
Create 3 scanarios in integration directory and correspondingly in integration repositoy create different data types, message types, mappings & interface mappings and then in each of scenario us different message interface and interface mapping.
> I know that if we create new configuration it will work but I question is does master data interface picks this transaction data file also.
>
If you are using N:1 scenario then use *.csv in your sender adapter under file name parameter and then all the files will be picked up from same directory.
If you are using second option (3 different scenarios) then also you can pick the different files from same directory. You will be having 3 sender adapters in this case, So, one for picking master data, and another for product data and the last one for transaction data.
So, in case of master data use "plant_*.csv" as a file name and directory name.
In case of product data, use "product_*.csv " as a file name and source directory will remain same.
similarly do it for transaction data.
So by this way all 3 sender adapters will perform their job to pick the different files from same source directory.
Regards,
Sarvesh -
How to copy/send text file from FTPS to SAP ECC File Port
Hi Frdns,
I am working on one design, actually my requirement as follows
I am receiving financial information document from Banks, which is in the form of BIA2 message format, it looks like text file. This information needs to be sending to SAP ECC system.
I identified some approaches to full fill the requirement
1)Using Conversion agent/or third party tools to convert BIA2 message in to XML, then using PI I will pick up the XML message, convert it in to IDoc.
2)Without any conversion I will copy the same file (original BIA2 message) in to SAP ECC file port, in this case no conversion required, calling some program I will schedule it.
I am looking forward t implement the second approach because it saves lot of money to my client.
Now I am wondering using File adapter can i copy to SAP ECC File Port or I required ABAP proxy?
What is the best approach to copy the BIA message text file from FTPS to SAP ECC File Port.??
Regards,
RajHi Raja,
>>Now I am wondering using File adapter can i copy to SAP ECC File Port or I required ABAP proxy?
Yes you can do this copy, the only restriction that can happen is the file size.. If you are sure that the fiel will be of few MB at the max then you can use the Configuration part alone and copy it to ECC folder. For doing this you need the following:
1. Sender agreement (mention the sender interface as anything XYZ)
2. Sender communication channel. Pick the file in binary mode
3. Receiver determination (keep both the sender and receiver service as same)
4. Interface Detemiantion (dont specify any mapping and keep the receiver interface name as XYZ)
5. Create receiver agreement (with same service and interface)
6. Use file adapter here
Regards
Suraj -
Connection refused Error while writing file to FTP server.
Hi All,
We got below error while writing file to FTP server. Any one have any idea on this?
sABCS_1.0_8e88588d4fb54ebd2ac7ef66c8421d52.tmp/writeEncryptedFile.wsdl [ Put_ptt::Put(opaque) ] - Could not invoke operation 'Put' against the 'FTP Adapter' due to:
ORABPEL-11429
Error sending file to FTP Server.
Unable to send file to server. [Caused by: Connection refused]
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.Hmmm ...
Same issue as your post from three months' earlier?
Re: Error while putting file in sftp location. -
How to pick files from ECC directory
Hi All,
I have to pick files from the directory of ECC. can anyone tell me how to configure the sender File apapter? Can i use NFS for the same?
Regards,
Lavanya RHi Lavanya,
With my knowledge two ways to pick the file from ECC using File adapter.
1. If you use NFS, mount point should be created in ECC for the Directory to access from PI.
2. If you use FTP, FTP ports must be opened between PI and ECC. -
Error while reading files through FTP Adapter
Hi,
I am using FTP Adpater to read files and archive in local folders.
But i got the following errors when i deployed the process:
<2008-12-18 13:48:31,140> <INFO> <default.collaxa.cube.activation> <File Adapter
::Inbound> Connection Created
<2008-12-18 13:48:31,390> <ERROR> <default.collaxa.cube.activation> <File Adapte
r::Inbound> Unable to get Binary file '/MySharedFolders/abc/AAAA_TT_
Trrrrplan Bireeee Baaaa? ??ketmmllri Ltd.?ti._4673651.pdf'; FTP command RETR returned unexpe
cted reply code : 550
<2008-12-18 13:48:44,156> <INFO> <default.collaxa.cube.activation> <File Adapter
::Inbound> Managed Connection Created
<2008-12-18 13:48:44,156> <INFO> <default.collaxa.cube.activation> <File Adapter
::Inbound> Processer thread calling onFatalError with exception Error getting bi
nary file from FTP Server.
Unable to get binary file from server.
Check the error stack and fix the cause of the error. Contact oracle support if
error is not fixable.
<2008-12-18 13:48:44,156> <FATAL> <default.collaxa.cube.activation> <AdapterFram
ework::Inbound> [Get_ptt::Get(opaque)]Resource Adapter requested Process shutdow
n!
Please help me out on this issue.
Thanks,
SynthiaHi James,
We have upgraded to 10.1.3.4. but still we could not read the file. the problem is, it could not read the file names contains with UTF-8 characters.
error is below:
<2009-12-01 15:43:33,109> <INFO> <default.collaxa.cube.activation> <FTP Adapter:
:Inbound> Managed Connection Created
<2009-12-01 15:43:33,109> <INFO> <default.collaxa.cube.activation> <FTP Adapter:
:Inbound> Connection Created
<2009-12-01 15:43:38,406> <ERROR> <default.collaxa.cube.activation> <FTP Adapter
::Inbound> Unable to get Binary file '/MySharedFolders/Invoice History/EMEA_TR_B
imta?-Bo?aziτi Peysaz ?n?aat Mⁿ?avirlik Teknik Hizmetler A?aτ Sanayi ve Ticaret
Anonim ?irketi_44596501.pdf'; FTP command RETR returned unexpected reply code :
*550*
<2009-12-01 15:43:51,156> <INFO> <default.collaxa.cube.activation> <FTP Adapter:
:Inbound> Processer thread calling onFatalError with exception Error getting bin
ary file from FTP Server.
Unable to get binary file from server.
Check the error stack and fix the cause of the error. Contact oracle support if
error is not fixable.
<2009-12-01 15:43:51,156> <FATAL> <default.collaxa.cube.activation> <AdapterFram
ework::Inbound> [Get_ptt::Get(opaque)]*Resource Adapter requested Process shutdow*
n!
Thanks you. -
IE 9 can't download/open files from https site.
We have application which runs in IE9 using https:\\
IE 9 can't download/open files from https site.
Please help....
error1-
Microsoft Excel - could not open 'https:\\.......\viewxlsformatshow.xls'
error2-
Microsoft Excel - Microsoft Excel cannot access the file 'https:\\.......\viewxlsformatshow.xls'. There are several possible reason:
-The file name or path does not exist.
- the file is being used by another program.
- the workbook you are trying to save has the same name as a currently open workbook.Hi,
Have you tried to use "HTTP"?
Have you the correct office program installed on your computer?
Could you provide the corresponding credential to access them?
If so, please make sure you have the proper right.
Please let other user try to download(not open) the resource to confirm the original resource is without problem.
After that, refer to the following article to change the settings:
Error message when you download files by using Internet Explorer 9 from secure websites: "<filename> couldn’t be downloaded"
http://support.microsoft.com/en-us/kb/2549423
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Maybe you are looking for
-
How to rotate screen on a HP Slatebook 14?
Hello, on my other Android devices it`s no problem to rotate the display/screen. Some apps would fit better on the screen and there are apps available which allow setting orientation per app. So I don`t understand why HP has eliminated screen rotatio
-
Adobe Acrobat X: Attachments and Extended Reader Functions...
All, after adding attachments (e.g. PDF documents) to a PDF document and saving the document with "Extended Reader Functions" an error is shown in the Java debugger window: SyntaxError: missing ) after argument list 10:Document-Level:ADBE::FileAttach
-
PL/SQL parser for 8.1.5
Hi, Can anyone tell me a URL from where I can download the PL/SQL XML parser 1.0.1. -- OTN only has 1.0.2 which uses the later JDK, causing the "failure to resolve" errors. Thanks John
-
How to create a home page (with flash images) in Oracle Portal 10g
Hi, I want to create a home page in Oracle Portal 10g using flash images. How to create all those things ? Weather it should be created in pages or pagegroups or HTML portlet / some other. please help me.
-
Hi, I'm building my first iphone/ipad app and I have seen in tutorials saying that we should use the latest sdk to build our project and set the deployment sdk as we need(may be an older version). So according to this since ios 6 is available now, is