Sender File(FTP protocol) Adapter not able to pick multiple files(eg *.xml)

Dear Experts,
I have SAP PI 7.0 installed on HP-UX. I installed Guild FTP on my Windows Vista machine.Configured File to File scenario. Sender File adapter(FTP Transport Protocol)is able to process the 'input.xml' file placed in FTP INBOX folder.
I want to process all/multiple XML files. For this I have changed File Access Parameters in Sender Communication channel as:
Source Directory -   /INBOX
File Name          -   *.xml
Immediately Sender Communication status went into red with error log messages :
Error occurred while connecting to the FTP server "172.XX.XX.XX:21": java.lang.NullPointerException
Please let me know what is the issue. Thanks in Advance.

Hi
It should work with *.xml
Check with the connectivity as well.
If this is still unable to process files then check with the FTP server compatibility.
J2EE File adapter is based on RFC 959 and if GUILD FTP is non compatible to RFC format then exclusion mask may not work.
Thanks
Gaurav

Similar Messages

  • PI is not able to pick the file from the FTP folder

    This is the FILE TO IDOC scenario. We have configured the file adapter. But its not able to pick the file from the specified directory. We have tried changing the transfer mode from Binary to Txt & also we have tried to put advance selection for source file but it didn't work. Its throwing the below error:
    PI Adapter Log:
    An error occurred while connecting to the FTP server '10.130.150.21:8529'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 451 Unexpected reply coderequested action aborted: local error in processing'. For details, contact your FTP server vendor.
    Also we have contacted the FTP team & they told that PI is sending an unsupported command. So instead of taking the file TLOG.txt, its treating this file name a s a directory. Please find the logs from FTP end below:
    FTP Log:
    (207197)2/5/2013 14:48:25 PM - sysisappi (63.130.82.16)> 230 Logged on
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> FEAT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211-Features:
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MDTM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  REST STREAM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  SIZE
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLST type*;size*;modify*;
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLSD
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH SSL
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH TLS
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PROT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PBSZ
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  UTF8
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  CLNT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MFMT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211 End
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PBSZ 0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 PBSZ=0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PROT P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 Protection level set to P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD /Qas
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas" is current directory.
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD SAP_ORION
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD Inbound
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD IRIIN04
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 221 Goodbye
    It should list  *TLOG.txt*  but instead it is trying to get into a directory named  *TLOG.txt*.  same for other interface.
    So me & my team is struggling for last couple of days to fix this issue.Please share your suggestion

    Hi Sisir
    The screen shot of your config doesn't seem to correspond to the FTP log. I say this because the * is dropped from file name pattern "*TLOG.txt" (comparing your config and the FTP log). Can you share an updated FTP log?
    Sisir Das wrote:
    "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    Also, like Rajesh suggested, have you tried to manually check permissions by logging in, traversing the directory, and getting the file?
    By the way, we always use backslash \ instead of forward slash in our configs. Not sure this would make any difference for you though. Also, I don't normally use a trailing \ at the end of the source directory path.

  • Initially I had downloaded Document 2 (Free) application to view my doc, ppt and xls files. I was not able to edit the files so there was an option for upgrade the Document-2 free to paid version. I have upgraded the Document 2 application.

    Initially I had downloaded Document 2 (Free) application to view my doc, ppt and xls files. I was not able to edit the files so there was an option for upgrade the Document-2 free to paid version. I have upgraded the Document 2 application. But on my iPad now there are to application present Docemnt-2 (Free) and Document-2. I am not able to open any existing document using the upgraded version of application. How do I connect all the existing txt,PPT,XLS doccument to the new upgraded Document-2 application and then to edit it on my iPad.

    As suggested I had deleted the free application and did a hard restart the iPad. I have again copied the document using iTunes. But I am not able to edit any document using this app. Document 2 (paid version) supports editing features of the txt/ xls /ppt files. Is there any problem while loading the Document 2 app. If I reload then do I need to purchase again?

  • File not able to pick while using FCC at sender channel

    Hi Experts ,
    we design one scenario that we need to process flat file to ECC. So we have used FCC at sender channel.
    while we testing ,  only its showing as successfull logs in channel , but we not able to pick the file.
    could you please check the below details and let me know it i missed any thing.
    PFB file which  need to pick.
    PFA scrren shot of FCC
    26.Jun 2014 #123
    Country|Currency|Amount|Code|Rate
    Australia|dollar|1|AUD|18.989
    Brazil|real|1|BRL|9.119
    Bulgaria|lev|1|BGN|14.037
    Canada|dollar|1|CAD|18.836
    China|renminbi|1|CNY|3.242
    Croatia|kuna|1|HRK|3.623
    Denmark|krone|1|DKK|3.682
    EMU|euro|1|EUR|27.455
    Hongkong|dollar|1|HKD|2.603
    Hungary|forint|100|HUF|8.916
    IMF|SDR|1|XDR|31.154
    India|rupee|100|INR|33.540
    Indonesia|rupiah|1000|IDR|1.668
    Israel|shekel|1|ILS|5.883
    Japan|yen|100|JPY|19.824
    Lithuania|litas|1|LTL|7.952
    Malaysia|ringgit|1|MYR|6.272
    Mexico|peso|1|MXN|1.550
    New Zealand|dollar|1|NZD|17.678
    Norway|krone|1|NOK|3.286
    Philippines|peso|100|PHP|46.019
    Poland|zloty|1|PLN|6.627
    Romania|new leu|1|RON|6.258
    Russia|rouble|100|RUB|59.842
    Singapore|dollar|1|SGD|16.137
    South Africa|rand|1|ZAR|1.894
    South Korea|won|100|KRW|1.986
    Sweden|krona|1|SEK|2.989
    Switzerland|franc|1|CHF|22.569
    Thailand|baht|100|THB|62.119
    Turkey|lira|1|TRY|9.469
    United Kingdom|pound|1|GBP|34.361
    USA|dollar|1|USD|20.179
    FCC details
    channel logs.
    regards
    raju

    Hi Peddaraju,
    Cross check correct source directory and file name is maintained in the sender file communication channel. If everything is fine try to restart the XPI File Adapter service in NWA.
    Troubleshoot as suggested in the below thread:
    File Adapter in PI not reading file from file system.
    Regards,
    Krupa

  • Weblogic Classpath setting error not able to pick the properties file

    Hi All,
    We are using a third party jar and create a java Web service on the top of that jar. This jar file need two configuration file .properties and .xml when we deploy war for the application into weblogic server it will give file not found error. Though this file already exists inside the .war but from the application it is not able to pick the files.
    We find that these file need to be put in weblogic domain home and we put it there and application works.
    I decompile the jar and found that inside java class they use FileReader("allXXX.xml") path and when I Google it and found that it will pick the file from weblogic domain directory.
    The issue is that we need to put properties file in specific weblogic folder like /3party/config by setting the class path inside startWebLogic.cmd. Please let us know solution for same
    Thanks in advance
    Edited by: sb**** on Mar 19, 2012 9:08 AM

    Hi , I am also facing the similer issue. I am deploying war file of my Spring MVC application , but its not picking resource bundle .properties files from one of the configuration file.
    <bean id="PropertiesRepository"
              class="LanguageBasedPropertiesRepository">
              <property name="propertiesFiles">
                   <map>
                        <entry key="en" value="classpath:/exceptionMessages.properties" />
                        <entry key="es" value="classpath:/exceptionMessages_es.properties" />
                        <entry key="default" value="classpath:/exceptionMessages.properties" />
                   </map>
              </property>
         </bean>
    Please let me know how we can modify this to make it work.
    thanks .

  • Sender File Adapter  not able to get file via FTP from an external system

    Hi,
    I have a Sender File Adapter using FTP which polls a server every 10 seconds looking for a file ".xml".  The adapter will connect and pick up the waiting file, but sometimes the adapter not able to get file via FTP from an external system. The file is on the server, but despite the polling, the adapter does not pick up it. There is no return error.
    The connect mode is Permanently and the transfer mode is Binary.
    Can you help me?
    Thanks.
    T.

    Hi Teresa,
    does this case appears with a file size higher the others?
    Personally, I do not recommend to have a polling under 1min.
    10s could be too just, if the file is not small and/or if the file server is far (several kilometers) to where the Adapter Engine is, and/or this file server is beside a firewall. Do not forget also that, with previous points, you could have like a conflict, betwen the 1st polling and the 2nd polling, if in less 10s PI adapter has not enough time: to connect to the FTP server (several Km), find the file (perhaps among 100 other files in the directory), go back to the file to Adapter Engine server (several Km again), convert your file to XML message (with a complex Content Conversion), then check the XML structure, and when all that is done, return back to FTP server (several Km), to archive the source file... Well It's my understanding of a FTP exchange with FILE adapter...
    If you really need a 10s polling, that's mean your have a pseudo real time interface. In that case, in my mind file should not be used! but we should use a Web service, JDBC JMS (any exchange without a physical object like a file). For me, it's a non-sens to have a file in that case.
    regards.
    mickael

  • I am not able to open my file! Captivate 5

    I don’t know who else to send this to right now, but I have been working on a project that is DUE.  I am not sure why, but I am not able to open the file.  Please help me are direct me to someone that can.
    Here's the error message received:
    Adobe Captivate could not open, "file name" Ensure that:
    File is not open already
    File is not damaged
    The hard disk has enough space
    Close all windows
    I need this file open asap. 
    And yes...I cleared the Cache

    Hello,
    This is by design: I failed to explain well. The file exists as long as the file is open, sort of protection that it is not changed by someone else. It will disappear when you close the file. But the first error message at your originial question pointed perhaps to the fact that the file was not closed in a normal way, hence the lock file was perhaps still there. If you deleted the lock file you could have opened the file again, it was no longer protected. Hope my explanation is now a bit clear?
    Lilybiri

  • Not able to import .motn files into FCP

    For some reason I'm not able to import .motn files into FCP. While in FCP, I use "send to motion" and uncheck the embed box. After motion opens and I add my motion content, I get the following error when trying to import the .motn file back into FCP "File Error: 1 files(s) recognized, 0 access denied, 1 unknown". What is strange is that I'm able to create another test FCP project with different media, and everything works fine. All tests and media are done on the same drive.
    I'm using the latest updates of everything FCP 5.0.4 and motion 2.0.1
    Any ideas anybody?
    Thanks!
    G5 Mac OS X (10.4.6)

    Check the frame rate - that can sometimes interfere...
    Patrick

  • I am not able to attach any file/s to outgoing yahoo emails on my iMac. It has Mac OS X 10.7.5. Any solution pls.

    I am not able to attach any file/s to outgoing yahoo emails on my iMac. It has Mac OS X 10.7.5. Any solution pls. It gives following message if I click "ATTACH FILES"
    Attach Files
    There was a problem!
    Invalid file specified . Please try again. 
    Click "Browse" to select a file. You can attach files up to a total message size of 25 MB.     What's this?
    File 1: 
    File 2:
    File 3:
    File 4:
    File 5:
    To avoid sending an infected file, your attachment will be scanned by:

    A good place to start.
    http://help.yahoo.com/kb/index?page=content&id=SLN3222&locale=en_US&y=PROD_MAIL_ ML

  • Why is my mac not able to open pdf files?

    Why is my mac not able to open pdf files?

    my internet session closes down and a box appears saying this
    [The Application Safari quit unexpectedly. The problem may have been caused by the Acrobat plug in. Mac OS X and other applications are not affected. Click Relaunch to relaunch the application again, Click Report to see more details or send a report to Apple]

  • Not able to download mp3 file

    i m trying to download mp3 file from server but i m not getting any data
    i m getting error as
    Error {
    NSLocalizedDescription = "bad URL";
    NSUnderlyingError = Error Domain=kCFErrorDomainCFNetwork Code=-1000 UserInfo=0x1183ac0 "bad URL";
    here is my code----
    NSString *sender=@"http://sound13.mp3pk.com/indian/7days/7days01(www.songs.pk).mp3";
    NSMutableURLRequest *theRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:sender]
    cachePolicy:NSURLRequestUseProtocolCachePolicy
    timeoutInterval:60.0];
    // create the connection with the request
    // and start loading the data
    NSURLResponse *res=NULL;
    NSError *error=NULL;
    NSData *data= [NSURLConnection sendSynchronousRequest:theRequest returningResponse:&res error:&error];
    NSLog(@"download data---%@", [res URL]);
    i am sending encoded URl then also not able to downlaod file.
    i need to store the data received from server.i cn't figure where i m missing& if i provided any path with .wma file or anything else it gets easily downloaded by same method.
    Message was edited by: erritikamathur

    i would sincerely suggest u to use uc browser for fast and powerful download management.
    www.ucweb.com

  • I am not able to email a file from Adobe Reader. When I click to share the file, the option does not pop up to share (via Mail, Message, Air Drop, etc.).

    I am not able to email a file from Adobe Reader. When I click the button to share a file, there is no option for route from which to share (Message, Mail, Air Drop, etc. does not pop up).

    What version of Reader and OS X?

  • I'm not able to open PDF files in Adobe Reader XI.

    I recently updated to Adobe Reader XI and now I can't open any of my PDF documents or PDF e-mail attachments.  When I click on a document I now get a window that asks if I want to allow this file to open.  I click yes and get a monstrousity the likes I've never seen.  It blacks out my screen for a couple seconds and then I get a mixture of my desktop, task bar, and a window wanting to know if I want to open this with Protected Mode disabled.  It only fills 3/4 of the screen, the items all all blown-up in size, and are distorted.  In playing with this I have gotten notes that I have an "Incompatable Application" and "Acrobat failed to connect to a DDS Server".  On occasion I will get an Adobe Reader screen that is completely greyed out with no content in it and after a couple of seconds it goes off.  Other times I got the window about Protected Mode and I've clicked on to disable it but that doesn't work either.  I removed Adobe Reader XI and re-installed Adobe Reader X and I still have the same problem which I did not have before.  I 'm running Windows 7 Professional and have McAfee anti-virus, which I have disbled on one occasion during download and that I still had the same problem.  I went to program files to find the End User License Agreement and try to see if I needed to click on 'Accept" but it tells me the file does not exist.  I even tried using System Restore to take me back to before I did the upgrade to Adobe Reader XI and I still have this problem.  I'm at the end of my knowledge level and because these files are needed in my business I'm only able to operate at about 50%. 

    From: Test Screen Name [email protected]
    Sent: Sunday, August 04, 2013 11:32 AM
    To: gunner0490
    Subject: I'm not able to open PDF files in Adobe Reader XI.
    Re: I'm not able to open PDF files in Adobe Reader XI.
    created by Test Screen Name <http://forums.adobe.com/people/TestScreenName>  in Adobe Reader - View the full discussion <http://forums.adobe.com/message/5565198#5565198

  • Not able to write to file

    Hi all,
    I need to upload a file from a J2ME device to a remote server using a servlet
    I am uploading an image ..and in the servlet i get the size of the file but i am not able to write to that file...please see code below...any help would be great.
    Thanks in advance
    StringBuffer bufferBody=new StringBuffer();
              String line="";
              byte[] data = new byte[79872000];
              int cnt=0;
              try
                   BufferedReader body=request.getReader();
                   while ((line = body.readLine()) != null) {
                        bufferBody.append(line);
                        cnt++;
              data = bufferBody.toString().getBytes();
              System.out.println("data received:"+data+"data length:"+data.length+"lines"+cnt);
              String newFileName = "/home/aztec/pic2.jpg";
              //data="hi".getBytes();
              FileOutputStream imageOutput = new FileOutputStream(new File(newFileName));
              imageOutput.write(data, 0, data.length);
              imageOutput.close();
              System.out.println("Please find image in " + newFileName);
              } catch(Exception ex) {
              System.out.println("Exception: " + ex);
              ex.printStackTrace();
              }

    And don't read entire files into memory, especially in a memory-constrained J2ME device. Read and write a 4k chunk at a time.

  • I'm not able to save any files on an none apple external hard drive, what can i do to make it work?

    I bought a omega 320GB external hard drive so a friend could save the files off an old windows laptop i had but now when i try and open the files on my mac, it doesn't let me. i'm also not able to save any file on to this hard drive either! can some one please help me?

    The drive has the NTFS format, which the Mac OS can read but can't write to. Copy the files from the external drive onto your Mac, then reformat the external drive using Disk Utility, creating a Mac OS Extended volume and using the GUID partition scheme. Then you'll be able to write to the drive. Note that reformatting erases everything from the drive, so don't do it until after you've saved the drive's contents to other media.

Maybe you are looking for

  • Can't delete songs from iCloud

    I recently deleted 100+ songs from my PC.  When I went to sync my iphone, all of the songs remained on my phone.  I also have itunes match, and wifi sync enabled on both devices.  Still, all the songs remain on my phone. If I turn off itunes match on

  • Internal table reltd issue

    Hi, I have got 3 tables: it_extnout (old) Fld1     Fld2     Fld3     Fld4     Fld5     Fld6     Fld7 ABC     123     70     JKL     5.00     A     Q it_extnin (new) Fld1     Fld2     Fld3     Fld4     Fld5     Fld6     Fld7 ABC     123     99     LMN

  • FOR CHRIST'S SAKE WILL SOMEONE ON HERE TELL ME.

    Jesus there are a million people who apparently know what the hell they are doing with their computers. Obviously the XFI is working for some systems. I am trying to find out if mine will be one. Would someone PLEASE tell me if the various software (

  • How to locate tools in CS6

    How to adjust pictures in photoshop CS6 ie: change brightness and contrast as well as other adjustments?

  • Upon Loading of page, Setting the Top and Left properties of a TextField

    Hello again, I would just like to ask for suggestions on how to successfully set the top and left properties of a Textfield as soon as the page is loaded. Thru Giri's help, I was able to do this with the push of a button. What I would need to do righ