Sender FTP picks up incomplete files while transfering...any clue?

Hi !!
After reading some posts, I understand that this problem has no complete solution yet. Am I right?
The "Msecs to wait before Modification check" advanced option, only works for NFS, not for FTP. I am using central adapter engine.
How about the Run OS Command BEFORE message processing...?? when does this OS command exactly runs ?? before mapping ?? after succesfully polling target directory?
Thanks
Matias

I was asking for a more detailed answer...specifically this: does the Run OS command BEFORE, runs:
- before the file adapter starts polling the source directory
- after file adapter found any file in the source directory
depending on the answer, I could run a shell script to "pre-rename" all files matching a condition, to ensure the poll finds them, or something like that...
Now I'm thinking that maybe it is not important...if it runs after founding a source file, those renamed files could be found by the adapter in the next cycle of the loop.
Thanks,
Matias.

Similar Messages

  • Sender FTP Adapter - Archive faulty files not working

    Hello,
    We are on SAP PI 7.11 SP 06
    We have a scenario where we are reading CSV files from a FTP location.
    File Sender Adapter is polling the FTP location for CSV files, if there
    is any error during FCC we need to move the faulty file under a
    particular directory on FTP server.
    Archive faulty files tick is click under the communication channel and
    also the required directory is specified, but the functionality is not
    working.
    If there is a faulty file it is just adding a rejected prefix to the
    file and keeping the file in the polling directory. It is not moving
    the file in the rejected directory specified in the communication
    channel.
    Thanks & Regards,
    Rahul Nawale

    Are you trying to archive the file on the same FTP server or a different FTP server? Archiving the faulty file on the FTP server might not have expected results. And if you are trying to archive the file on a separate FTP server, it wouldn't probably be achieved using the simple file adapter functionalities.
    The best way would be to archive the faulty files to an NFS location on your PI server (this will certainly work, even if it's FTP mode) and then use a separate script or PI interface (file tunneling) to move these files from PI server File System to FTP archive location.
    Regards,
    Suddhasatta

  • Blue-Ray Object: "Menu"; Export File Not Found--Any Clues?

    Trying to build a Blue-Ray DVD in CS3 (version 3.0.1.008). Project has motion menus and previews without errors. Upon trying to build either a disc or image I get the error
    Blue-ray object: "Menu"; Export file not found.
    Where "Menu" is the name of one of the sub menus in my project.
    Has anyone seen this error? What is an Export file? When and how does it get created?
    I have successfully burned this project to a standard DVD format.

    I have the pleasure of closing out my own question. I found the following post that was the clue I needed.
    http://forums.creativecow.net/readpost/145/857374
    It would appear that the Blue Ray build process is a lot more sensitive to file naming. I brought into my project a menu that I used as a starting template, I edited it in Photoshop and then renamed it in Encore. During the Blue Ray build process Encore rendered the menus to the original template names, but when it needed them to build the DVD it looked for the files that had the new names I had given the menus in Encore.
    Here is the fix. I exported the final menus using the Save as Template function in Encore. I then re-imported them as menus and relinked them to the DVD assets. Everything worked fine from that point on.
    The interesting thing is this did not happen when building a standard DVD using the same menus.

  • Sender File Adapter pulling Incomplete File - Throwing Alert with MSecsWait

    Hi,
    <br>We have sender File communication channel which is polling every 600 Secs. The directory where the files are available is basically an FTP Server directory. Vendors are putting file in this directory and PI is picking up from there.
    <br>
    Sometimes File CC is picking up incomplete files.
    <br>
    So, I set up Advanced Mode, additional parameter 'Msecs to Wait Before Modification Check' to  10000 (10Secs)
    <br>
    Now, it is not picking up incomplete files.
    <br>
    But, sometimes PI is trying to process files which are being written by Vendors and stopping the process because of   'Msecs to Wait Before Modification Check'  and throwing an error and retrying to process in next polling. As far as stopping the process it si fine.
    <br>
    But, the problem is whenever it does this, PI is triggering an alert. We have bunch of Vendor Services and set up an alert rule for all Runtime errors.
    <br>
    My question is:
    1) Is there any way we can stop sending alerts for this error and keep the generic alert rule ?
    <br>
    2) Or, is there any other way not to generate error  and at the same time not to process incomplete files.?
    <br>
    The error we get is:
    2009-11-11 13:10:12 Error Channel CC_XYZ_SENDER: Attempt to send file 'VendorXYZ.xml' failed because file was modified during processing. 2383872 bytes expected, 2678784 bytes found. Trying to resend file
    Any pointers are really appreciated.
    Regards,
    Ramesh

    Hi,
       An alternative approach would be to have the vendors write the fles to a temporary ftp directory and have an OS script scheduled to move the files from the temporary directory to the directory from where XI picks the files.
    This way, XI will not pick up partially written files.
    Regards,
    Ravi Kanth Talagana

  • XI Picking up an incomplete file

    We have a scenario that an application writes out a file where XI is configured to poll for it.  XI will pick up and move to a local file system.  Sometime XI picks up a file while the other external process/application is actually writing out the file. 
    To verify our theory of behavior is wrote a custom java application that slowly streams out small bits of data to a file location that XI is polling for.  The behavior of XI is consistent.  XI does not does not seem to account for any type of file handler or anything like that. 
    Are we missing some configuration step in the File Adapter module.
    Simple scenerio
    Custom Java Application (file output) --- > XI --> local file system
    Thank you for your time and responses
    Whit Armstrong

    Pls check the note...821267 and see the section 3. File Locking...
    see if it makes sense to you...
    you might want to try useing the "Msecs to Wait Before Modification Check" parameter in the advanced setting...
    Thanks,
    Renjith

  • FTP Adapter pickup the file meanwhile the file is transfering

    Hello,
    we have a follow problem: We transfer some big files manually in a ftp directory. If the adapter connect the directory concurrent as we transfer the file, he'll pick up the incomplete file and processed this. The problem is now, we get an error message in XI Monitoring. After this, we put the file form archive directory (same server) in the "normal" directory and the ftp adapter pick up the file, all is okay. My question is: It is possible, you can create a check or a parameter setting, if the file is complete transferred, first then could start the ftp adapter.
    Remark: We increase and decrease the polling parameter and we're teseted with changing the paramter connect mode, without success.
    Thanks for your help.

    Hi,
    You can execute a shell script to change the file name of the completed file . So the job of script is to rename the complete file.And then give this file name in the File Adapter configuration.
    Did you check the option of Read-Only Files ( if you are using NFS protocol) ? If so uncheck and try it..
    Regards,
    Moorthy

  • 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,
    Raj

    Hi 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

  • Sender FTP Adapter (file transfer w/o mapping)

    Hello everyone!
    Is there a way to configure a Sender FTP Adapter such that it simply picks up a file in an FTP folder then moves it to another FTP folder without changing any data (no mapping needed)?
    I tried doing it, but the Sender Agreement requires you specifiy an Outbound interface (which is not needed in this case). Would anyone of you know a workaround to this?
    Warm regards,
    Glenn

    Hi
    Use dummy interface name. But that should be same in ID objects
    Check this
    How to send any data (even binary) through XI, without using the Integration Repository
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 29, 2008 9:48 AM

  • Full path in Sender FTP file

    Hi,
    It's necessary to indicate full path in sender FTP file?
    I've tried with relative path and patter file* and communication channel monitor returns the error:
    Could not process file 'file_000018_sdidis_080109_095115_319_J': com.sap.aii.adapter.file.ftp.FTPEx: 550 sal: No such file or directory
    It seems to recognize the file to process but it doesn't work.
    There is any way to indicate relative path of file sender scenario ?
    Thanks, in advance,
    Carme

    Hi,
    You have to specify the exact directory name from where ur file will be picked up.
    suppose i have a file under Test\data\ directory then I have to specify the path starting from root folder.
    where Test is the Root folder
    Can u pls let me know what u have mentioned in ur File adapter.
    Thnx
    Chirag

  • Receiver FTPS (Explicit) channel giving error while writing files.

    Hi All,
    We are facing an issue while using FTPS for writing a file to a partner location. Since this is the first time we are using FTPS, we went through some blogs and notes to configure the same, but still facing problems. Listed below are the steps undertaken for the configuration:
    1. Got necessary ports opened on the firewall (the partner FTPS site uses explicit FTPS with control commands on port 21 and data on some custom ports).
    2. Tested file transfer on FTPS using some FTPS client tools from the PI 7.11 server being used.
    3. Uploaded the server SSL certificates in the NWA Keystore, Trusted CA view in both Base64 and normal formats (all certificates in the chain uploaded).
    4. Configured the FTPS receiver channel for the CN name mentioned in the certificate, port 21, directory specified, NO X.509 client authentication (as that is not needed), AUTH TLS, USER,PASS,PBSZ,PROT as command order and using some authentication (user ID, Pwd for logging in). 
    But we are still getting the error:
    'An error occurred while connecting to the FTP server 'xxxxxx.xxx.com:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Access denied.'. For details, contact your FTP server vendor..'
    On the partner side we could not find any logs and from PI too we are not getting any more details than mentioned above. CAn some let us know any known resolutions to the issue or how to get more details from the trace in PI (we have already increased the trace level of the file adapter to error but nothing more useful is available in Java default trace than mentioned above).
    Appreciate any help extended towards this.
    Thanks in advance,
    Avishek.
    Edited by: Avishek Gorai on Feb 21, 2011 8:50 AM

    Thank you all for your answers. I want to bring to your notice that the file transfer (using FTPS) is still working using commercially available FTP client tools from the PI server. So in my opinion issues like OS user not having authorization, incorrect user credentials and firewall issues are ruled out. We are facing issue only when using PI adapter for file transfer, this could be due to incorrect commands or command sequence being sent to the Server etc. which the server is rejecting and giving an unauthorized error.
    We also tested this by giving incorrect pwd OR changing the command sequence, in which case the errors thrown were more specific and appropriate (like incorrect credentials OR AUTH TLS command missing).
    The strange thing is that things work from the PI server when using FTP tools, but fails from PI adapters, which makes me feel there is some issue with the protocol or the setup.
    Also please let me mention that we have ensured Java cryptographic toolkit is installed on the PI system being used.

  • HTTP error while sending SOAP request using wsdl file

    We created SOAP request using the wsdl file ; while sending SOAP request from Altova XMLSpy, we are getting the below error.
    HTTP error: could not post file
    Can you please explain how to resolve this issue
    Regards,
    Sanghamitra

    there is very little information to help you here.
    Can you confirm if this is a SOAP sender scenario or SOAP receiver scenario?
    Also do go to thru these links to help you out;
    Troubleshooting
    Troubleshooting - RFC and SOAP scenarios *** Updated on 20/04/2009 ***
    RFC -> SOAP
    RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    SOAP <-> XI <-> RFC/BAPI
    Walkthrough - SOAP  XI  RFC/BAPI

  • While transferring several files to the G-Raid, the G-Raid device locks up with the following warnings:   "The Finder can't complete the operation because some data in (whatever file) can't be read or written (Error code - 36)."

    While transferring several files to the G-Raid, the G-Raid device locks up with the following warnings:   "The Finder can't complete the operation because some data in (whatever file) can't be read or written (Error code - 36).” NOt sure this is a G-Raid problem, can anyone help?

    This is likely a problem with the drive itself. This error indicates unspecified I/O errors with the drive, which can be from a hardware fault, or a formatting issue. If the drive has valuable data on it, then try connecting it to another PC to get the data off, and then try fully partitioning and formatting the drive with Disk Utility. If this corrects the error then you should be able to use the drive again as it was likely a formatting issue, but if the problem continues then it is likely a hardware fault and the best solution is to be safe and replace the drive.

  • Strange Problem in File Archiving - Sender FTP Adapter

    Hi,
    The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server.
    File is archived properly without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files) not the original file with data.
    I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
    Please suggest. Thanks in advance.
    Regards,
    Joe.

    Hi,
    I've already tried archiving the file to the FTP server itself, it's working fine (even with FCC). But, when I try to archive it to the XI server (read from FTP and archive at XI server), it's writing empty file to the XI archive directory. I'm using PI 7.0 SP 14. My sender FTP adapter dtls follow
    Data Connection: Passive
    Timeout Secs: 500
    Connect Mode: Permanently
    Transfer Mode: text and binary tried both
    File type: text and binary tried both..
    Looking out for a solution.
    Thanks,
    Joe.
    Edited by: Joe on Jun 19, 2008 8:07 AM
    Edited by: Joe on Jun 19, 2008 8:08 AM

  • Error with Archiving Faulty Source File in Sender FTP adapter

    Hi All,
    I have configured a Sender FTP adapter with Processing Mode as Archive.
    I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
    We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory  XXXXX/Fail .
    I have unchecked the option Archive Files on FTP server.
    But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory  XXXXX/Fail .
    In RWB it is showing the error
    Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
    Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
    This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
    Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
    If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
    I have already unchecked the option Archive Files on FTP server.
    Please help......
    I am on PI 7.11
    Regards
    Henery H

    Hi Henery,
    Check the below thread, this should help you to fix the issue.
    FTP adapter: exc. 550 : No such file or directory
    Thanks,

  • Sender File Adapter picking the same file twice

    We are facing a weird issue with File Sender Adapter
    We are using PI File Adapter ( NFS ) to read files for a NFS folder and
    processing those in PI.Normally it works fine. But for a scenario we
    are noticing it sometimes process the same file twice before archiving,
    thus duplicating the financial postings.
    What we have is :
    File Sender Adapter - NFS, Polling interval 60 secs, and Processign
    mdoe Archive. File name includes Wildcards - JE_Upload*.txt
    what we are noticing is that :
    when it picks up a file, it immediately polls again to check for
    another file, and sometimes the file is not yet archived so it picks up
    and reprocess the same file.
    If you see the message below, both belong to the same file, and it
    picked up the same file again in 12 secs after processing it the first
    time
       Successful 02.11.2009 15:01:00 02.11.2009 15:01:01   APMANUAL     urn:bl:i2g:003:100
    SI_SKF_FIDOC_OB XI Message
       Successful 02.11.2009 15:00:49 02.11.2009 15:00:50   APMANUAL     urn:bl:i2g:003:100
    SI_SKF_FIDOC_OB XI Message
    Anyone seen this behavior before?

    Hi,
    Please check the script which creates file in source NFS Folders. There is possibility that script is making change in file when PI is picking up the file.
    When PI picks the file first time it creates one message ID in system. After that if script is making any change in file without file name change (This need not necessary data change), for PI it becomes new file and new message gets generated in PI for same file.
    This error normally comes when File adapter is not able to archive file succesfully. For eg. file with same name alredy exists in Archive folder.
    File adapter generates the new message id whenfile get modified(eg.change in its length or data change) even though
    the file name is same and when file get change ,XI file adapter thinks that its new file and hence generate the new message id for same file.
    If file has same name and notmodified then XI adapter will not generate new message id and will keep on throw the error till you remove that file with same name from the
    archieve directory.
    -Warm Regards,
    Gouri

Maybe you are looking for

  • "iMovie quit unexpectedly" 9.0.9 OS 10.8.4, quitting on launch.

    I am running OS Mountain Lion, 10.8.4, iMovie 9.0.9 crashes on start up . (I think it may be since an update in June, possibly, but not for sure) 27" iMac 2011, 2.7 GHz, intel core i5 I have read lots of threads on here but most of them are old and h

  • My two  iphones have major differences.

    Hello! I have two iPhones, one has a screen with much higher contrast ratio, than than other. I checked the brightness settings, and they are the same on both phones. I also noticed the one with the brighter screen, touch control only works with pure

  • After burning a slide show, I get a skip in audio

    After burning a slide show, II get a skip in the audio about every 5 min. of run time.  I imported the pictures from i photo and the music from an itunes play list. When I play the entire thing in preview it runs fine with no problems, but after burn

  • EJB developing in using NWDS with JDI

    i created EJB for client java proxy before creating DC. but i can not check-in it. do i have to create New DC? and then do i have to create EJB inside DC? or SC? if i have 10 EJB and 10 EAR source in NWDS, do i have to create 10 DC for 10 EJB and the

  • Multi page help flex 2 and CF

    hey guys I am creating this apps and so far, I have a search page that display data once user fills out a form (form and result) are all in one state/page. Now what I would like to do is when user clicks on one of the search result I would like to go