PI shouldnt pick the 2nd  file unless the first file is processed completly

Hello All,
If my Polling interval for the File Adapter configured is 60 sec ....and many files would be placed in the server rapidly. My requirement is that the PI should not pick the second file unless the first file is processed completely ( when the first file takes more than 60 sec to get processed)  .Is there any other option apart from increasing the Polling interval time?
Thanks and regards,
Pavithra

Hi Pavitra,
I think requirement specified cannot be achieved. When the poll interval is specified, adapter would pick up all the files in the directory path.
I hope it is better to have the Quality of Service in Processing parameters to be as "Exactly once in order". This will process the messages, but if any of the messages get failed then the remaining messages will be in the queue.
Thanks,

Similar Messages

  • Pressing "shuffle" on my 7th gen Nano will only randomly pick the first song, then repeats it over and over. How do I get "shuffle to work properly?

    Pressing "shuffle" on my 7th gen Nano will only randomly pick the first song, then repeats it over and over. How do I get "shuffle to work properly?

    Is "REPEAT ONE" highlighted. If it is, touch it to de-select. Cheers!

  • When I select a sound email or video, decide I want to go to another video or email, the sound from the first video continues to completion before I can listen to my new selection. How can I stop this?

    How do I stop the sound from a video or email when I want I click out of the video. Presently, the sound continues and I have to escape out to home screen to stop it.

    Now as you may know there is some icons at the bottom of the mail app, at the top left conner you should have the inbox button and on the upper right conner you should have two arrows to shift between emails. If any of those options works try :
    Settings>General>Reset>Reset all Settings
    If that does not work try to re add the account
    Last but not least, restore as new.
    Hope that helps.

  • I want to Pick the Single file from The source Directory

    Hi,
       My Scenario is File to RFC .. I'm getting the files in the source Directory.. File names  are  SENDER_(TIMESTAP).XML .. but the problem is... When ever  Files  are available in the Source Directory  Immediately  XI was picking  all the files at a time.. But I want to   to Pick a single file at a time..
    for Making  this what we have to do..   After Processing the first file then only my Sender adapter should pick the next file...  (even though Multiple files are available in my Source Directory)
    Regards
    Jain

    Hi,
    the other option was use Adapter specific attributes in the Sender Communication channel..
    or
    while droping the files ask them to drop using time stamp in another directory  and an external validation is required .. and after validation push single file to Source directory using batch file..
    i.e use a batch file using run time operating system or make that batch file to run at OS level ..
    where the batch files needs to validate the time interval of the file and needs to push a single file to the source directory.. where from there we can directly pick a single file and process..
    regards,
    Kishore

  • Need to Pick the file with continious records in File Sender

    Hi,
    I am Working with File to Idoc Scenario. Where I am using Field Fixed length as FCC. The fixed length of each record is 200.
    I am able to pick the first 200 characters.
    For example:
    If the file has 600 characters continiously. The first 200 belong to first record and second from 201 to 400 and so on.
    How can i control this in File adapter.
    Regards,
    Manoj

    Your data type record should have an occurence of 0..unbounded or 1..unbounded. In file content conversion, leave the recordset per message empty.
    Let's say you have the following structure:
    DT_MAIN_SEGMENT (0..1)
      RECORDSET (1..unbounded)
    In file content conversion, DT_MAIN_SEGMENT will be your recordset name and RECORDSET will be your recordset structure.

  • Wscompile only generates classes for the first wsdl:portType encountered

    Greetings.
    When
    compiling a WSDL with port types as follows below;
    classes are generated for port type: AccountsManagement only.
      <portType name="AccountsManagement">
          <operation name="CreateAccount" parameterOrder="Account">
              <input message="tns:CreateAccountReq"/> <!-- name defaults to CreateAccountReqRequest -->
              <output message="tns:CreateAccountReqResponse"/>
          </operation>
          <operation name="CreateAccountForPerson" parameterOrder="Account UniqueId">
              <input message="tns:CreateAccountForPersonReq"/>
              <output message="tns:CreateAccountForPersonReqResponse"/>
          </operation>
      </portType>
      <portType name="PersonsManagement">
          <operation name="AddPerson" parameterOrder="Person">
              <input message="tns:AddPersonReq" name="AddPersonReq"/>
              <output message="tns:AddPersonReqResponse" name="AddPersonReqResponse"/>
          </operation>
          <operation name="AddPersonWithAccount" parameterOrder="Person Account">
              <input message="tns:AddPersonWithAccountReq" name="AddPersonWithAccountReq"/>
              <output message="tns:AddPersonWithAccountReqResponse" name="AddPersonWithAccountReqResponse"/>
          </operation>
      </portType>
      <portType name="TellersOperations">
          <operation name="ListAccountsForPerson" parameterOrder="UniqueId">
              <input message="tns:ListAccountsForPersonReq"/>
              <output message="tns:ListAccountsForPersonReqResponse"/>
          </operation>
      </portType>Netbeans output:
    init:
    wscompile-init:
    Created dir: C:\PROJECTS\WSTest\build\generated\wsclient
    Created dir: C:\PROJECTS\WSTest\build\generated\wsservice
    Created dir: C:\PROJECTS\WSTest\build\generated\wsbinary
    TestBankingService_wscompile:
    command line: wscompile "C:\Program Files\Java\jdk1.5.0_03\jre\bin\java.exe" -classpath "C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\j2ee.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\saaj-impl.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-api.jar;C:\Program Files\netbeans-4.1\SunAppServer8.1\lib\jaxrpc-impl.jar" com.sun.xml.rpc.tools.wscompile.Main -d "C:\PROJECTS\WSTest\build\generated\wsbinary" -features:wsi,strict -import -keep -mapping "C:\PROJECTS\WSTest\web\WEB-INF\TestBankingService-mapping.xml" -nd "C:\PROJECTS\WSTest\build\web\WEB-INF\wsdl" -s "C:\PROJECTS\WSTest\src\java" -verbose -Xprintstacktrace "C:\PROJECTS\WSTest\src\java\bankers\server\TestBankingService-config.xml"
    [ServiceInterfaceGenerator: creating service interface: bankers.server.TestBankingService]
    [CustomClassGenerator: generating JavaClass for: Account]
    BUILD SUCCESSFUL (total time: 2 seconds)There should be a class for Person as well. If I move port type:
    PersonsManagement to the top no Account class will be generated, but
    instead the Person class will be generated.
    Loading up the WSDL in Netbeans (client) works and shows
    all three Ports with their respective operations.
    Is there a reason for only allowing more than one port type per WSDL?
    Checked the man page for switches to "loop" though all portTypes but noluck.
    A bug?
    Thanks,
    WSDL for reference
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="BankingService" targetNamespace="http://www.mycomp.org/schemas/MyWebService"
        xmlns:tns="http://www.mycomp.org/schemas/MyWebService"
        xmlns:ns1="urn:WS/types"
        xmlns="http://schemas.xmlsoap.org/wsdl/"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <!-- Type definitions -->
      <types>
        <xsd:schema targetNamespace="urn:WS/types">
            <xsd:element name="Person" type="ns1:Person"/>
            <xsd:element name="Account" type="ns1:Account"/>
            <xsd:element name="ListOfAccounts" type="ns1:ListOfAccounts"/>
            <xsd:element name="ResultCode" type="xsd:unsignedInt"/>
            <xsd:element name="AccountNumber" type="xsd:string"/>
            <xsd:element name="UniqueId" type="xsd:string"/>
            <xsd:complexType name="Person">
                <xsd:sequence>
                    <xsd:element name="DisplayName" type="xsd:string"/>
                    <xsd:element name="UniqueId" type="xsd:string"/>
                </xsd:sequence>
            </xsd:complexType>
            <xsd:complexType name="Account">
                <xsd:sequence>
                    <xsd:element name="Number" type="xsd:string"/>
                    <xsd:element name="Type" type="xsd:token"/>
                    <xsd:element name="Amount" type="xsd:integer"/>
                </xsd:sequence>
            </xsd:complexType> 
          <xsd:complexType name="ListOfAccounts">
              <xsd:sequence>
                  <xsd:element name="Account" type="ns1:Account" minOccurs="0" maxOccurs="unbounded"/>
              </xsd:sequence>
          </xsd:complexType>
        </xsd:schema>
      </types>
      <message name="AddPersonReq">
          <part name="Person" element="ns1:Person"/>
      </message>
      <message name="AddPersonReqResponse">
          <part name="ResultCode" element="ns1:ResultCode"/>
      </message>
      <message name="AddPersonWithAccountReq">
          <part name="Person" element="ns1:Person"/>
          <part name="Account" element="ns1:Account"/>
      </message>
      <message name="AddPersonWithAccountReqResponse">
          <part name="AccountNumber" element="ns1:AccountNumber"/>
      </message>
      <message name="CreateAccountReq">
          <part name="Account" element="ns1:Account"/>
      </message>
      <message name="CreateAccountReqResponse">
          <part name="AccountNumber" element="ns1:AccountNumber"/>
      </message>
      <message name="CreateAccountForPersonReq">
          <part name="Account" element="ns1:Account"/>
          <part name="UniqueId" element="ns1:UniqueId"/>
      </message>
      <message name="CreateAccountForPersonReqResponse">
          <part name="AccountNumber" element="ns1:AccountNumber"/>
      </message>
      <message name="ListAccountsForPersonReq">
          <part name="UniqueId" element="ns1:UniqueId"/>
      </message>
      <message name="ListAccountsForPersonReqResponse">
          <part name="Accounts" element="ns1:ListOfAccounts"/>
      </message>
      <!--
            NOTE THAT wscompile WILL PICK THE FIRST AND ONLY FIRST portType
            IS THIS A BUG OR A FEATURE?
      -->
      <portType name="AccountsManagement">
          <operation name="CreateAccount" parameterOrder="Account">
              <input message="tns:CreateAccountReq"/> <!-- name defaults to CreateAccountReqRequest -->
              <output message="tns:CreateAccountReqResponse"/>
          </operation>
          <operation name="CreateAccountForPerson" parameterOrder="Account UniqueId">
              <input message="tns:CreateAccountForPersonReq"/>
              <output message="tns:CreateAccountForPersonReqResponse"/>
          </operation>
      </portType>
      <portType name="PersonsManagement">
          <operation name="AddPerson" parameterOrder="Person">
              <input message="tns:AddPersonReq" name="AddPersonReq"/>
              <output message="tns:AddPersonReqResponse" name="AddPersonReqResponse"/>
          </operation>
          <operation name="AddPersonWithAccount" parameterOrder="Person Account">
              <input message="tns:AddPersonWithAccountReq" name="AddPersonWithAccountReq"/>
              <output message="tns:AddPersonWithAccountReqResponse" name="AddPersonWithAccountReqResponse"/>
          </operation>
      </portType>
      <portType name="TellersOperations">
          <operation name="ListAccountsForPerson" parameterOrder="UniqueId">
              <input message="tns:ListAccountsForPersonReq"/>
              <output message="tns:ListAccountsForPersonReqResponse"/>
          </operation>
      </portType>
      <binding name="AccountsManagementBinding" type="tns:AccountsManagement">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <operation name="CreateAccount">
              <soap:operation soapAction=""/>
              <input name="CreateAccountReq">
                  <soap:body use="literal"/>
              </input>
              <output name="CreateAccountReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
          <operation name="CreateAccountForPerson">
              <soap:operation soapAction=""/>
              <input name="CreateAccountForPersonReq">
                  <soap:body use="literal"/>
              </input>
              <output name="CreateAccountForPersonReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
      </binding>
      <binding name="PersonsManagementBinding" type="tns:PersonsManagement">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <operation name="AddPerson">
              <soap:operation soapAction=""/>
              <input name="AddPersonReq">
                  <soap:body use="literal"/>
              </input>
              <output name="AddPersonReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
          <operation name="AddPersonWithAccount">
              <soap:operation soapAction=""/>
              <input name="AddPersonWithAccountReq">
                  <soap:body use="literal"/>
              </input>
              <output name="AddPersonWithAccountReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
      </binding>
      <binding name="TellersOperationsBinding" type="tns:TellersOperations">
          <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
          <operation name="ListAccountsForPerson">
              <soap:operation soapAction=""/>
              <input name="ListAccountsForPersonReq">
                  <soap:body use="literal"/>
              </input>
              <output name="ListAccountsForPersonReqResponse">
                  <soap:body use="literal"/>
              </output>
          </operation>
      </binding>
      <service name="BankingService">
          <port name="AccountsManagementService" binding="tns:AccountsManagementBinding">
              <soap:address location="__URL__"/>
          </port>
          <port name="PersonsManagementService" binding="tns:PersonsManagementBinding">
              <soap:address location="__URL__"/>
          </port>
          <port name="TellersOperationsService" binding="tns:TellersOperationsBinding">
              <soap:address location="__URL__"/>
          </port>
      </service>
    </definitions>

    I saw this post elsewhere:
    JAXRPC specification required support for only subset of schema types. Abstract schema type support was not required. For the schema types that are not supported, the spcification requires that they should be mapped to javax.xml.soap.SOAPElement.
    This is what jaxrpc wscompile tool does. At tool time, the type in the sample code posted is extended frm an abstract type so it should be getting mapped to SOAPElement. SOAPElement extends Node and Element. You may like to see its javadoc.
    -vivek.
    This is basically the behavior I am seeing, but I don't see this as being extended from an abstract type. if someone can see that and explain that to me I would appreciate it....if this is even the right path to the answer to my problem.

  • FM for splitting the records and then processing

    Hi all
    i have this requirement that there are records to be picked in my background job and to be processed. now the background job has to pick number of records first and process them e.g it has to pick the first 5,000 records, process them and then pick the next 5,000 records and so-on. now this is called a functionality of threading i think... and i have heard that there ia a standard FM in SAP to do this. but i am not coming across it. can anybody help me in this.
    please ask questions if doubt any.
    helpful answers will be rewarded.
    thanks
    jai

    Hi,
    try this short example.
    REPORT ZGRO_TEST.
    TABLES: BKPF.
    DATA: I TYPE I.
    START-OF-SELECTION.
      SELECT * FROM BKPF.
        I = SY-DBCNT MOD 5000.
        IF I = 0.
      do what you want.
          WRITE: / SY-DBCNT.
        ENDIF.
      ENDSELECT.
    END-OF-SELECTION.
    Hope it helps
    Regards, Dieter

  • Can the first generation iPad handle iOS 5

    I know with Mac computers after awhile the models cannot support the newest OS. Is this the same with iPads yet and if so can the first generation iPad handle iOS 5?

    as an owner of a first gen iPad running iOS 5.1, I can tell you with absolute certainty, that the first gen iPad is completely capable of running iOS 5. I have been running iOS 5 since the day it was released with no problems.

  • How to pick the multiples based on file size

    Hi All,
    my sender file adapter needs to pick up 5 files based on file size.
    for example 1file size is 500kb,2nd file size 300kb,3rd file size 400kb, 4file size 100kb and 5file size 600kb.
    here my requirement is, my file adapter needs to pick in the below order like 5th file,1st file,3rd file 2nd file and 4th file.
    means based on file size, i need to pick up my file adapter.
    could you please ang inputs on this requirement.
    Thanks & Regards,
    AVR

    Hi AVR,
    for case 2:
    1. At specific time each day  "23:58:00" hours ,count the number of files in directory say "c:\apps\acm".
    2. sort the files on basis of their size.
    3. place the files one by one after definite  time interval (more than polling time of the sender communication channel).
    in target directory say "c:\apps\acm1" from where PI server  picks up the files for further processing. The file with smallest size is placed last.
    4. In this case you need to ensure all files are present in the directory "c:\apps\acm" before "23:58:00" hours.
    for case 2  java code
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class sortFilesOnSpecificTime {
    * @param args
    public static void main(String[] args) {
    // TODO Auto-generated method stub
    try
    * In Unix/Linux OS, dir1="/usr/apps/test"  etc
    int pollingInterval=10,sleepTime=1*60;
    String dir1="c:\\apps\\acm";
    String dir2="c:\\apps\\acm1";
    File fread=new File(dir1);
    File fwrite=new File(dir2);
    if(fread.canRead()==false)
    System.out.println("error: "+dir1+" does not have read permission. Program Terminates.");
    return;
    if(fwrite.canWrite()==false)
    System.out.println("error: "+dir2+" does not have write permission. Program Terminates.");
    return;
    String fileNames[],fileNamesOut[];
    long fileSize[];
    int i,j;
    byte b[];
    int t=4;
    Calendar cal;
    int hour24,min,fileCopyHour=23,fileCopyMin=58;
    long waitSeconds=1,currentTime=0;
    while(t>0)
    cal = new GregorianCalendar();
    hour24 = cal.get(Calendar.HOUR_OF_DAY);     // 0..23
    min = cal.get(Calendar.MINUTE);             //0..59
    System.out.println("current time="+hour24+":"+min);
    /*loop unless time reaches a specific predetermined value
    * predetermined values are provided by values
    * fileCopyHour=8,fileCopyMin=30 i.e say 08:30 hours
    currentTime=(hour24*60+min)*60;
    waitSeconds=(fileCopyHour*60+fileCopyMin)*60 - currentTime;
    if(waitSeconds>0)
    * in case you wanna to make this thread sleep for
    * say sleepTime(10) minutes before it checks the files once again
    * because looping continuously causes wastage of CPU cycles.   
    Thread.sleep(waitSeconds*1000);
    //read list of files
    fileNames=fread.list();
    if(fileNames.length;=0)
    * time is up but there are no file
    * in dir1 to copy. Then this program
    * goes to sleep for some time and
    * checks only at 11:55 hours. That is
    * end of the day
    continue;
    fileSize=new long[fileNames.length];
    fileNamesOut=new String[fileNames.length];
    //read their sizes
    for(i=0;i<fileNames.length;++i)
    fileNamesOut<i>=fileNames<i>;
    fileNames<i>=dir1+System.getProperty("file.separator";)+fileNames<i>;
    fileSize<i>=new File(fileNames<i>).length();
    System.out.println(fileNames<i>+" size="+fileSize<i>);
    //sorting on basis of file size descending order
    long value;
    String temp;
    for(i=1;i<fileSize.length;++i)
    value=fileSize<i>;
    temp=fileNames<i>;
    for(j=i-1;j>=0 && fileSize[j]<value;--j)
    fileSize[j+1]=fileSize[j];
    fileNames[j+1]=fileNames[j];
    fileSize[j+1]=value;
    fileNames[j+1]=temp;
    //now copy files to dir2
    b=new byte[512];
    for(i=0;i<fileNames.length;++i)
    System.out.println(fileNames<i>+" size="+fileSize<i>);
    for(i=0;i<fileNames.length;++i)
    File f=new File(fileNames<i>);
    FileInputStream in=new FileInputStream(f);
    FileOutputStream out=new FileOutputStream(dir2+System.getProperty("file.separator";)+fileNamesOut<i>);
    int len=0;
    while(2>1)
    if((len=in.read(b))<0)
    break;
    out.write(b,0,len);
    in.close();
    //delete files after copying from dir1
    f.delete();
    out.close();
    //put each file after polling interval is over
    Thread.sleep(pollingInterval*1000);
    catch(Exception e)
    e.printStackTrace();
    The code runs in infinite loop. You need to run them in command line in DOS environment as you indicated that you OS is WIN XP.  I have a few print statements which I kept for debugging, you can safely remove them and run the codes. This code is independent of the Operating System you are using. Only change is required in values of "dir1","dir2", timings and file count, which I think you can take care easily.
    Hope this solves your problem.
    regards
    Anupam

  • Pick the  file from FTP Server and place it on the App. Server of R/3

    Hi Guys,
      I had a requirement where i need to pick the file from the FTP Server and place it on the Application Server in R/3. If anybody has an Idea on acheiving this or if anybody has the piece of Code Snippet to acheive the same, Help me out.
    Regards,
    Kittu Chowdary.

    hi kittu,
    chk the demo programs RSFTP00* if they can help u

  • 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.

  • Everything is updated!!  iPhone, iPad, iTunes and MacBook Pro...  All I am trying to do is drag content from my iTunes Library to the devices.  iTunes gets stuck EVERY single time!  What usually triggers the Non-Sense is when I am adding a 2nd file!

    Everything is updated!!  iPhone, iPad, iTunes and MacBook Pro...  All I am trying to do is drag content from my iTunes Library to the devices.  iTunes gets stuck EVERY single time!  What usually triggers the Non-Sense is when I am adding a 2nd file!
    Why does iTunes SUCK??
    1) Many items greyed out in the menu bar, for well over 2 years, maybe more!
    2) I Can't drag more than one piece of content from your iTunes library to any device (iPhone, iPad)
    If you do it gets stuck for HOURS and HOURS in "Preparing To Update" and the little activity circle never completes, ever!!
    I used to be able to drag over 1000 tunes, movies, etc. go have breakfast come back and it would all be on my device!!
    Can't do it anymore, one song at a time, maybe an album at a time, or one movie, and that is it!!
    If you do a 2nd item the other items stop loading and never continue!!
    This is so BAD, I don't understand how they don't have this fixed yet!!
    Please tell me I am not the only one!!
    ...and If I am tell me how to fix it!
    Very appreciated,
    Joe

    Everything is updated!!  iPhone, iPad, iTunes and MacBook Pro...  All I am trying to do is drag content from my iTunes Library to the devices.  iTunes gets stuck EVERY single time!  What usually triggers the Non-Sense is when I am adding a 2nd file!
    Why does iTunes SUCK??
    1) Many items greyed out in the menu bar, for well over 2 years, maybe more!
    2) I Can't drag more than one piece of content from your iTunes library to any device (iPhone, iPad)
    If you do it gets stuck for HOURS and HOURS in "Preparing To Update" and the little activity circle never completes, ever!!
    I used to be able to drag over 1000 tunes, movies, etc. go have breakfast come back and it would all be on my device!!
    Can't do it anymore, one song at a time, maybe an album at a time, or one movie, and that is it!!
    If you do a 2nd item the other items stop loading and never continue!!
    This is so BAD, I don't understand how they don't have this fixed yet!!
    Please tell me I am not the only one!!
    ...and If I am tell me how to fix it!
    Very appreciated,
    Joe

  • Error in picking the file from folder

    If I have 100 files in a folder, if XI comes and picking the files from the folder, while picking 50 files connection was lost in between and they are remaining 50 files are there to pick, in this scenario what happens after connection established XI will collect remaining 50 files or again it starts from first.
    Can anyone answer this question with explanation.

    This depends on what you have configure in
    Processing parameters for File Sender communication channel:
    Processing mode:
    1. Archive : if you have set processing Mode as Archive then after reading the file, PI will transfer the file to Archive dir mentioned and will not consider in future for reading.
    2. Delete : if you have set processing Mode as Delete, Then after reading the file PI will delete the file from FTP.
    3. Test : If you have set processing Mode as Test ,then PI will keep the file as it is after reading so it will read the same file in future.
    Thanks
    Bhupesh

  • I just purchased Photoshop 13 for PC MS Windows 8.1  In trying to install, I get the following message after clicking on the 2nd file.  "The file archive part of Adobe Photoshop Elements 13 is missing.  You need all parts in the same folder in order to ex

    I just purchased Photoshop 13 for PC MS Windows 8.1  In trying to install, I get the following message after clicking on the 2nd file.  "The file archive part of Adobe Photoshop Elements 13 is missing.  You need all parts in the same folder in order to extract Adobe Photoshop Elements 13.  Please download all parts.:  I've also gotten an Exit Code: 7 when trying to install.  I've turned my McAfee virus system off while trying to install. 

    Hi,
    Have you tried downloading Photoshop Elements 13 from here?
    https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    There is only one file to download - which one depends on your system (32-bit or 64-bit).
    These are the trial versions but will convert to the full version when you supply your serial number.
    Brian

  • Remove 1st & 2nd lines in 1st file, and 1st line in 2nd file. I want the headers to be the first line after the script runs!

    I have two files that look like this (Notepad++):
    In the first file, which has a date as a name and always ends in 'COV', I want to remove the 1st & 2nd lines.  All lines end in LF (LineFeed).  In the 2nd file, which has a date as a name and always ends in 'RSK', I want to remove the 1st line. 
    Basically I want only the headers.  I'm working with the code below.  I've tried several different iterations of
    reader.ReadLine().Skip(1);
    reader.ReadLine().Skip(2);
    reader.ReadLine().Skip(3);
    It never really gives me what I want, so I can't tell what's going on here.  I guess I'm missing something simple, but I don't know what.  Any ideas, anyone?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.IO;
    using System.Diagnostics;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    string sourceDirectory = @"C:\Users\rshuell\Desktop\Downloads\Files";
    try
    var txtFiles = Directory.EnumerateFiles(sourceDirectory);
    foreach (string currentFile in txtFiles)
    if (currentFile.Contains("COV"))
    var items1 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine().Skip(2); // skip 2lines
    string line;
    while ((line = reader.ReadLine()) != null)
    items1.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items1);
    else
    var items2 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine().Skip(1); // skip one line
    string line;
    while ((line = reader.ReadLine()) != null)
    items2.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items2);
    catch (Exception ex)
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Call the ReadLine() twice if you want to skip the first two lines. Each call results in a single line being read:
    static void Main(string[] args)
    string sourceDirectory = @"C:\Users\rshuell\Desktop\Downloads\Files";
    try
    var txtFiles = Directory.EnumerateFiles(sourceDirectory);
    foreach (string currentFile in txtFiles)
    if (currentFile.Contains("COV"))
    var items1 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine(); //read line 1
    reader.ReadLine(); //read line 2
    string line;
    while ((line = reader.ReadLine()) != null)
    items1.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items1);
    else
    var items2 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine(); // skip one line
    string line;
    while ((line = reader.ReadLine()) != null)
    items2.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items2);
    catch (Exception ex)
    Calling the Skip method on the already read string returned by the ReadLine() method won't help you at all here. By the time you call the Skip method the line has already been read from the file. You must call the ReadLine() method for a new line being read.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

Maybe you are looking for

  • How can i generate ActionEvent to one button by preesing another?

    i use awt GUI , i need to prees one specific buttonand as a result generate event to onather button , (like i was preesing it) , please help me! [email protected]

  • Streaming video from Macbook Pro to 46 inch LCD

    I am trying to stream video from my 13 inch Macbook Pro to my 46 inch Samsung LCD TV. I am using a HDMI cable to a DVI cable to attach the computer. When I play videos from iTunes, the picture looks great, however when I am streaming video from an in

  • File adapter fixed lenght with justify

    Hi Developers , I'm developing an interface JDBC - File , the file have a special format because is a flat file with fixed length and some of the fields have to a justified to left , it's possible do that with the file content conversion ????, the ex

  • Custom UIInput with more than one bean bound value

    Hi Experts, I'm creating a custom component which will act as a search bar (thus it will contain a text input area) and which contains a css dropdown menu from which the user will be able to select the type of search. In other words this component sh

  • Function module for custom report for cost center group

    Hello all, I wonder, if there is any SAP function module for following query: We have got a custom program, which evaluates cost centers. We would like to evaluate a cost center group, like it is available within the report painter - the output scree