No Source Directory on Sender FTP Adapter

Hi Guys,
I am using a sender adapter to poll an external FTP Server. The adapter is able to see the server fine.
My problem lies in this:
The company in charge of the FTP server has put a restriction disallowing the 'cd' command on the ftp server.  Now in the sender ftp adapter, the source directory is a mandatory field and therefore if nothing else, I need to put a '.' into the source directory.
This in effect will do a cd . when it logins into the ftp server.  It is here that I get an error because command cd is disallowed.
Does anyone know how I can prevent the sender ftp adapter from automatically doing a cd command i.e. have no source directory?
Thanks,
Miguel

Hi,
I think it is not possible with file adapter .
Have a look into this SAP note -821267 Question no 27,34.
It may give some inputs
Regards,
Moorthy

Similar Messages

  • 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 FTP Adapter, text mode should convert source file?

    Hi !
    We have a Unix file system where systems and people drop files to be captured by XI. XI runs also on another Unix system.
    We configured the Sender FTP comm channel from XI to use the TEXT mode, to have converted the captured file to Unix TEXT (eol = 0x0A), no matter the format of the file used to transfer the source file to the XI polling folder.
    But we noticed that TEXT or BINARY modes in sender FTP adapter works all the same, like binary.
    What are we doing wrong?
    Thanks,
    Matias

    No. to see the difference put a gif and give txt in file adapter you will get an error for the same file u use binary it works.
    their is difference b/w these . if you use special characters like european then you need to use UTF-8 or UTF-16 or bigInidan  if it is binary then you output will junk charaters for these sysmobls
    Message was edited by:
            Sreeram Reddy

  • 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

  • Sender FTP Adapter not working with certain name

    Hello,
    We're facing the next problem within XI.
    We configured a sender FTP adapter within the central adapter engine. This adapter is configured correctly however for some reason it is not picking up any file from the FTP server.
    Changing status to inactive-> active again all kinds of modes and configs we tested.
    However when copying this non-working adapter to a new one with a different name (Configuration is exactly the same!!!!!) and use this one in the sender agreement it worked immediately.
    Somebody else faced similar problems and managed to solve it because for this error we don't want to adjust our naming conventions....
    Thanks,
    Emile

    Hi Emile,
    This could happen when AE cache is not getting updated.
    Goto SXI_CACHE.
    Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
    Regards,
    Anish

  • 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

  • Dynamic source directory in sender adapter

    Hi Experts,
    I have a File to File scenario, where my source directory needs to be dynamic. The directory structure is like:
    Y:\ParentDrive\<DynamicFolder>\<DynamicFolder>\<DynmicFileName>
    And then on the receiver side, I need to create the DynamicFolders and the file.
    Please let me know if this can be achieved using modules or if there is any other approach.

    hi,
    refer my article:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    it shows using filename. similarly u can use directory attribute.
    [reward if helpful]
    regards,
    latika.

  • Dynamic directory for Sender SFTP adapter

    Hi All,
      Hope everybody is doing fine.
      I need urgent help for below requirement for SFTP adapter ,client requirement is
      We have deployed the SAP security Add ons (PGP-SFTP) for one of the requirements in our PI system (PI 7.11 SPS 11).
      The SFTP adapter is configured to read files from the source system.As per the guidelines from the source system , we need to determine the source directory dynamically and then poll the files.
    The source folder structure looks something like this :
    \Archive\FROM_System\<yyyy>\<mm>\<dd>\Interface1
    \Archive\FROM_System\<yyyy>\<mm>\<dd>\Interface2
    That is we need to pick up the file every day from a new folder, say, for 24th July 2013 - \Archive\FROM_System\2013\07\24\Interface1
    25 July - \Archive\FROM_System\2013\07\25\Interface2
    Will the PI SFTP adapter support this kind of requirement? As this is sftp sender adapter Operating system level command option is also not available.
    Do we have any standard module/Bean to dynamically change directory name in the sender SFTP adapter?
    i will really appreciate your quick help.
    Thanks
    Monica

    Hi Monica,
    Yes it should work. Did you check this thread:
    http://scn.sap.com/thread/3376137
    Also refer to the following documentation link for the SFTP sender adapter (scroll down to the adapter specific message attributes):
    http://help.sap.com/saphelp_nwposc/helpdata/en/2e/99f0fb5a9e45b3b148c90e87fafcd1/content.htm?frameset=/en/c5/56eb8e7ec04435a0d54d96a18231e5/frameset.htm
    Best Regards
    Harald

  • Advance select for source file in Sender File Adapter

    Hi
    I am trying to utilise the parameter 'Advance Selection for source file' on a sender file adapter to pick the file from multiple folders
    My problem is that this parameter that is listed on the SAP help is not getting in File accessing Parameters.
    I am running PI 7.02 (NW702_07_Rel)
    Service pack 07
    Has anyone come across this before?
    any suggestions on how to do this?

    Hi,
    In PI7.0 the property exists. I have used it previously. I think SP was 13.
    Regards,
    Nutan
    Edited by: nutan champia on Nov 24, 2011 10:42 AM

  • Dynamically generate terget directory in receiver FTP adapter

    Hi guys,
    I'm trying to set up a scenario where the file will be placed into a terget directiry based on values from the incoming message. I can't use variable substitution as my target message does not contain the needed value, so I'm trying to set up a dynamic configuration in an UDF. Unfortunately, this is not working.. Any ideas, what could be wrong? The receiver FTP adapter always just takes values from it's configuration. It doesn't help when I try to change it in mapping.
    This is the java map code in the UDF:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, a);
    conf.put(key2, "tfilename.txt");
    return "";
    Thanks a lot for any help,
    Olian

    Hi,
    use below code it will work fine
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    String a=conf.get(key);
    String b=conf.get(key1);
    var1 = a+b; ;
    return var1;
    map this udf to root element of your receiver structure.
    Regards,
    Raj

  • Transfer of all files in a directory tree using FTP adapter?

    Hi,
    I'm looking for a solution to transfer a whole directory tree, including the content, from one location to another using the FTP adapter.
    Is there an easy way to accomplish this?
    Any help would be appreciated.
    Thanks
    Sigrid

    Hi Sigrid,
    I'm just wondering on the need to do that using SOA. Is it a regular transfer or one time?
    There's a way to move a single file from one FTP location to another on the same or different FTP server (link to the cases). But in order to move all the files in a directory, you'll have to loop this. The high level steps will be:
    - List all the files recursively that are present in your directory using File List operation
    - Implement the MOVE file operation (or COPY operation) of the FTP Adapter
    - Invoke this MOVE operation in a while loop and pass the file names, as gathered from the File List operation, one by one to MOVE operation
    You can also use single Java Embedding activity and call a Java class that does the File Transfer but depends on your requirements.
    Let us know how you get along.
    Regards,
    Neeraj Sehgal

  • Tab limited input in Sender FTP adapter

    Hi ,
       We are working on a scenario where by the file format in the incoming FTP adapter is tabdelimited...All  fields are seperated by '#'...Will XI be able to split the fields based on '#' and do the content conversion ??? What would be the parameter to be set to enable tab delimition?
    Thanks
    Teresa

    Hi,
    I had been researching on this ..And will a NameA.fieldSeparator = '#' help me in reading a tabdelimited file, '#' being the delimiter?
    Any help is appreciated...
    -Teresa

  • 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

  • Dynamic File selection using sender FTP adapter

    HI
    I have a FTP> SOAP scenario. In source i want to pick files based on date.
    File names would be like *****date.csv  
    Is there any way i can pick only files for current date?

    Hi ,
    You may use run operation system command before message processing option and write a script to rename the file which are of current date and specify that new filename in the sender channel.
    Regards,
    Beena.

  • How do I schedule Sender FTP adapter?

    Hi.
    I have to run a number of weekly processes. I have to ensure that these processes are run night time only on thursdays.
    These processes suppose to read from FTP. How could I schedule BPM this way ?
    I tried to do it how it is described in the Siva Maranani's blog:
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1672. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    However it looks like FTP/FILE adapter can not be "read".
    What would be the other option for me ?
    Sincerely,
    Evgeny.

    Hi,
    You can schdule any adapter (not only FTP)
    1. Start the Runtime Workbench
    2. Display All Components
    3. Click on Adapter Engine
    4. Click on Communication Channel Monitoring
    5. Click on Availability Time Planning (upper right corner)
    You can create different schedules for all communication channels defined.
    Schedules can be of type daily, weekly, monthly or one-time. You can as well specify the start time, duration, etc. of each task
    KR - Danny.
    Message was edited by:
            Danny De Roovere
    Message was edited by:
            Danny De Roovere

Maybe you are looking for

  • [need help with animated gif - shows up fuzzy on IE]

    Hi, I created an animated gif in photoshop cs3 with combination of text and images in Mac.  For some reason, the text on the banner looks fuzzy on Internet Explorer. Do any of you know what is wrong with the banner?  Can anyone help me on this? Thank

  • Free of cost in PO

    Dear All How to create free of cost PO. and how the material could be created. Which table stored ? Regards Suresh

  • Pictures in screen saver

    i am using my pictures to create a screen saver. is there a way to adjust the timing between when each photo appears to make it shorter or longer?

  • Verio/ website viewing problem

    Someone trying to view the portfolio page of this website: www.englishgardendesignsite.com is reporting that the photos are not showing up. He is using Verio, which is something new to me. Anyone know anything about Verio and why he would be having t

  • Data preview error

    Hi All, when am gonna preview data of my database in application, i got error like "cannot perform cube view operation analytic server error1020011:max no of rows exceeded more than 1000" how can we increase the no of rows to be previewed thanks in a