How to access FTP server through Adapter Module

I gone through SDN Search and found no solution with PI Standard Import to support FTP inside the Adapter Module
Requirement
This is File to IDoc Scenario.
I am trying to write Module which takes care of processing 50MB to 100MB file and split based on conditions of the record structure of the file. Where we are trying to reduce the file size and takes care of certain logic by eliminating/building xml etc...while splitting file.
In order to use FTP library, is there any standard library available or supported by SUN.
Please advice

Hi,
>>>found no solution with PI Standard Import to support FTP inside the Adapter Module
why would you? file adapter supports FTP - so you don't need it
>>>In order to use FTP library, is there any standard library available or supported by SUN.
you can use any java ftp client available on google
Regards,
Michal Krawczyk

Similar Messages

  • How to access Payload in XI Adapter Module

    Hello,
    I have to enhance a adapter module in xi very urgently. Target is to access a node of the XML payload and retrieve the corresponding value.
    This is how my document looks like:
    <mt_test>
         <element1>
              <…> </…>
         </element1>
         <element2>
              <LOG_NO>4711 </LOG_NO>
         <element2>
    </mt_test>
    I need now access the element <LOG_NO>. This can only appear one time in the whole xml document. My code that I did so far (inside the process method) to retrieve this element is like this:
    XMLPayload xmlpayload = msg.getDocument();
         DocumentBuilderFactory factory = null;     
         factory = DocumentBuilderFactory.newInstance();
         DocumentBuilder builder = factory.newDocumentBuilder();
         Document document = builder.parse ((InputStream)xmlpayload.getInputStream());
         Element rootNode = document.getDocumentElement();
    <…and now I have no clue anymore…:-/…>
    May you give me an example how to access the node <LOG_NO> and save the corresponding value in a String variable?
    I would be really thankful.
    Greetings and thanks in advance,
    Tobias

    Hi,
    >>>found no solution with PI Standard Import to support FTP inside the Adapter Module
    why would you? file adapter supports FTP - so you don't need it
    >>>In order to use FTP library, is there any standard library available or supported by SUN.
    you can use any java ftp client available on google
    Regards,
    Michal Krawczyk

  • How to access file server through ethernet BUT internet though wireless

    I'm looking for a way to to run my file server network through ethernet while internet access is provided though wireless, but don't want users to have to switch off the wireless when they want to access the file server.
    File server is set up at trade shows and the conventions charge a fortune for internet access for multiple users and even more ($6000) for a connection that I'm allowed to put a router on. So I'm considering running my apple router for the file server network without internet access and just having my staff get their internet access from the cheaper wireless access the convention center has throughout the building.
    Problem is that I need them to be able to access the file server and the internet at the same time without switching back-and-forth from either network.
    Any suggestions? File server and all clients are macs.
    Message was edited by: Road Show

    Hello,
    Here are some good articles for this topic, please see:
    sql server connectity over the internet:
    http://www.codeproject.com/Questions/433687/sql-server-connectity-over-the-internet
    How To Connect SQL Server Through Internet:
    http://www.youtube.com/watch?v=VOUDdUJ5BLY
    Regards,
    Elvis Long
    TechNet Community Support

  • EA6500 - unable to setup Folder Access / FTP Server / Media Server functions

    I purchased the EA6500 a few days ago, and when I'm connected to Cisco Connect Cloud I am unable to select Folder Access / FTP Server / Media Server.  I click them and nothing happens.
    Also, the Cisco light on the router keeps blinking.  I'm googling to find out how to troubleshoot these situations but I'm having no luck.
    I appreciate any help with these situations.

    DoublePromo wrote:
    I contacted customer service, and they helped me troubleshoot.  The description of the router and it's capabilites appears misleading to me - "Folder Access" - I thought it gave one the capability to file share between different computers that are on the same network.  It's only for files that are on a USB stick that's connected to the router.  Oh well.  Good thing I still have Network Magic Pro.
    In addition to this, storage functionality on the router doesn't need any software for it to work. The router should be able to detect the external drive when connected and get it configured on the router's interface unlike network magic which you've mentioned where the program must be installed to all computers in the network for it to be able to see all devices present in the network and share files and folders through it.

  • How to create a server through WLST  ( Weblogic Scripting Tool ) ?

    How to create a server through WLST ( Weblogic Scripting Tool ) ?
    Thanks in advance...
    Sanjay

    Hi Murugesh,
    Thanks a lot for you reply..
    I was able to create a server using create(). Is it possible to clone a server ?
    When i create a server following tags is added to config.xml
    <server>
    <name>testServer_lab1</name>
    <listen-port>43000</listen-port>
    </server>
    And if i do a clone through admin console, following is added to config.xml
    <server>
    <name>testServer2_lab1</name>
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    </server>
    If incase, cloning is not possible through WLST, can i add following
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    under <server> tag which is created through WLST ?
    I am using 9.2 version.
    Regards
    Sanjay

  • How to set FTP parameters through Module Processor?

    Hi
    We read parameters set in the communication channel of an adapter through method getSupplementalData("module.parameters") of com.sap.aii.af.mp.module.ModuleData.
    I have following question regarding reading/writing configuration data, set in communication channel for a File adapter:
    1) How can I read the FTP Connection Parameters in a module of a module processor?
    2) Is it possible to update FTP parameters at Module Processor level for Receiver Adapter?
    3) If update of parameters through Module Processor is not possible, then is there some other way I can set the FTP parameters?
    Regards
    Vijendra

    HI Vijendra,
    Check out this -
    https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    https://media.sdn.sap.com/SDNTV/main.asp?mediaId=130
    <i>2) Is it possible to update FTP parameters at Module Processor level for Receiver Adapter?</i>
    You can not dynamically determine the FTP server etc. In the Receiver Adapter, Module is called first, then control is given XI Adapter to output the file into FileSystems. You can modify the Payload.
    For more~
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/5af7c0c994e24fb0d0088443513de2/frameset.htm
    Hope this helps,
    Regards,
    Morothy

  • Right way of accessing FTP server

    I had an important doubt on what is the right way to access an FTP server, is it through the browser or through Windows explorer. I think, the right way is through Windows explorer.
    I hope, my question is clear on what is the right way to access an FTP server.
    Please revert with the reply to my query.
    Regards

    through Windows explorerWhy would you think that a Linux forum is an appropriate place to ask such a question?
    What happens when you try? (You didn't bother to describe that.)
    Your question shows that you seem to have the expectation that you can just dump a question out to some place on the Internet and everyone will teach you everything you ever want to know, as many of your forum questions have been.
    Well, here's your answer:
    Go use a FTP client program to get files from a FTP server.
    If you insist on it being something graphical, go find such a program and install it.
    However ...
    The simplest method if you are hoping to pull something down to a computer running Linux would be for you learn to use the command line FTP protocol in a terminal window.

  • How to see FTP server Directory in OBIEE 11g

    Hello All,
    I am want to create data File(extract) and put that file on FP server, and call that file into OBIEE
    so whenever user login he can access that file.
    Can yuo please tell me how I can achive this /

    Check this link and let me know how it works for you.
    http://blog.guident.com/2010/10/pushing-obiee-reports-or-dashboards-to-an-ftp-server/
    If this is okay then will guide you to call from BI
    Pls mark as correct/helpful if helps

  • How to execute FTP server put command!

    Hi,
    i am uploading a flatfile into the application server using FTP !
    for that i had logged into the respective application server in CMD prompt and
    enter the following statement  ( OS : WINDOWS XP )
    PUT  filepath\filename
    But i am not able to upload the file.
    is it correct ? or am i missing something?
    Thanks,
    Ravi

    Hai Ravi,
       Follow these steps for setting up FTP on Windows XP
    For any Windows workstation to be able to accept FTP connections, an FTP server must be installed and active.
    <b>Windows 2000 and XP</b>
    Setting up an FTP server in Windows XP Professional or in Windows 2000 involves the installation of Internet Information Services (IIS). This suite of Windows components handles all the functions formerly handled by NT's Peer Web Services. IIS, and consequently FTP server capability, is not included in Windows XP Home Edition.
    Note: IIS is known to have serious security flaws and has been targeted by several computer viruses, including Code Red and Nimda. If you install IIS on your computer, UITS strongly advises that you also install any security update patches available from Microsoft. The appropriate patches for Windows 2000 are available at the following URL:
    http://www.microsoft.com/windows2000/downloads/critical/q300972/default.asp
    Microsoft claims that Windows XP already blocks the viruses in question, but you should check frequently for any updates that may be released. See the following site for IIS updates:
    http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/iis/Default.asp
    <b>Installing IIS</b>
    For Windows XP Professional systems running in the default Start menu configuration, click Start, then Control Panel, then Add or Remove Programs. In Windows 2000 (or in XP if it is set to classic Start menu view), click Start, then Settings, then Control Panel, then double-click Add/Remove Programs.
    Note: In Windows XP, the default desktop view and Start menu are quite different than they are in the Windows Classic View (e.g., in Windows 2000). Therefore, navigating to certain items may be different in XP; for example, the path from the Start menu to the Control Panel in the default XP view is simply Start, then Control Panel, whereas in the Classic View it is Start, then Settings, then Control Panel. In the interest of broad applicability, most instructions in the Knowledge Base assume that you are using the Classic View. There are several steps you can take to switch from the Windows XP default view to the Windows Classic View. For more information, see the Knowledge Base document In Windows XP, how do I switch to the Windows Classic View, Classic theme, or Classic Control Panel?
    <b>Click Add/Remove Windows Components.</b>
    Double-click Internet Information Services. This will open another window listing the IIS subcomponents.
    Check the box next to File Transfer Protocol (FTP) Server. The Common Files and Internet Information Services Snap-In boxes will also check by default. Make sure no other boxes are checked, then click OK.
    Note: Windows may prompt you for your Windows CD at this point.
    <b>Configuring the FTP Server</b>
    On the desktop, double-click My Computer, then double-click the hard drive on which you have Windows installed.
    Open the folder inetpub. Right-click the ftproot folder and select Properties.
    Click the Sharing tab. Select the radio button Share this folder, then click Permissions. From the list that appears, select Everyone, and then click Remove.
    Click the Add... button. In the drop-down list, select your computer's name. In the list of user groups that appears in the center scroll box, select Users, then click Add, followed by OK. In the Permissions window, set the access level. If a user only needs to download files from your computer, set the access to Read. To give upload permission, also check Change. Click OK.
    Create User accounts for each of the individuals who will need to access your server. You can do so by opening the Control Panel, then double-clicking the Users and Passwords icon. For each user, you will need to provide a username and domain.
    In the main Control Panel window, double-click Administrative Tools, then double-click the Computer Management icon. A new window will open. On the left, beside Services and Applications, click the + (plus sign), and then click the + (plus sign) beside Internet Information Services.
    Right-click Default FTP server and select Properties. Under "Services", make sure that Allow anonymous connections is not checked. This will prevent unauthorized access to your workstation. Click OK, then close all windows.
    After that,
    Go to cmd.
    type     >ftp
              >open
              >to hostname or ipaddr
              >give uid & pwd
              >put sourceFilename targetFilename
    I hope it will be useful for u..
    Thanks & Regards,
    Gopinathan.T

  • Can't access FTP server OR the SITE!

    I installed dreamweaver and succesfully mapped it to my FTP server. I was in the middle of a sync between my remote and local folders when the connection was dropped! It would not reconnect, I found out a few minutes later that I could not even access the web page itself, or the hosting server, of the ftp directory. NOTHING! However, my roommate can access all of the fine from his PC. I am a new MAC user and was wondering if there was some bandwidth limit I have exceeded or something. I turned the firewall off and everything! AHHH. I'm losing my mind here. Someone pleasse tell how to fix this.

    Problem solved. The issue was the FTP Client I was using *****. It opened over 50 simultaneous connections with the server and the server firewall blocked my IP.

  • How to get file name in adapter module

    Hi all
    Is it possible to get the file name in a adapte module? If so how can I achieve this?

    Hi,
    Check below thread. it shows code for file name.
    [Re: Query regarding Adapter Module development]
    -Gouri

  • How do i know whether my adapter module is working or not?

    Hi
    I have written one Adapter Module and i have given that module in Communcation Channel.
    1.How do i know whether my module is working or not.
    2.How do i atleast my adpater module is calling or not?
    Please help me its very urgent
    Best Regards
    Ravi Shankar B

    Hi Ravi Shankar,
    Since u had written the module, u must have deployed the module on the adapter engine. Now follow this procedure:
    1. Set the breakpoint on the "process" method of ur java code.
    2. Put ur code into Debugging mode.
    3. Place the file again and try running ur scenario
    If the executuin stops at the method "process", then this means that ur module is getting called and there is some error in ur code.
    If the execution is not stopped there, then that means ur module is not visible to XI adapter engine. So either it is not properly deployed or there is some problem while developing it.
    Regards,
    Prateek

  • How to read XML payload in Adapter module

    Hi all,
    I have to read content of xml payload inside custom adapter module:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_REQ xmlns:ns0="namespace">
    <record>
      <EmployeeName>a</EmployeeName>
      <EmployeeID>9999</EmployeeID>
      </record>
    <record>
      <EmployeeName>b</EmployeeName>
      <EmployeeID>9999</EmployeeID>
      </record>
    <record>
      <EmployeeName>c</EmployeeName>
      <EmployeeID>9999</EmployeeID>
      </record>
      </ns0:MT__REQ>
    obj = inputModuleData.getPrincipalData();
    msg = (Message) obj;
    XMLPayload xpld = msg.getDocument();
    String xmltxt = xpld.getText();
    InputStream in = new ByteArrayInputStream(xmltxt.getBytes("UTF-8"));
    & then using DOM parser i am trying to read the contents.
    But i am not able to read anything. And no exception is raised.
    How can i read contents of this xml file.
    Thanks,
    Mayank

    hi,
    I am still getting same Blank payload.
    My Code for Parsing is:
    doc = db.parse((InputStream) xpld.getInputStream());
    NodeList list_Set=doc.getElementsByTagName("record");
    NodeList list_Set1=doc.getElementsByTagName("EmployeeName");
    NodeList list_Set2=doc.getElementsByTagName("EmployeeID");
    Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "12");
    String input = "";
    for(int i = 0; i < list_Set.getLength(); i++){
    Node f=list_Set1.item(i);
    f=f.getFirstChild();
    String str_f=f.getNodeValue();
    Node f2=list_Set2.item(i);
    f2=f2.getFirstChild();
      String str_f2=f2.getNodeValue();
    input = input + str_f + "," + str_f2 +  "END" ;
    Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Value added from incoming payload");
    Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, input);
    And in RWB monitoring, i am able to see:
    2009-10-01 14:20:51 Information 12
    2009-10-01 14:20:51 Information UNDEFINED
    2009-10-01 14:20:51 Information 14
    So UNDEFINED is coming for input.
    Edited by: Mayank  Gupta on Oct 1, 2009 11:08 AM

  • How to access application server 10g, if client machine is proxy settings.

    hi,
    i have installed oracle application server 10gR2, on vertual machine, windows2003
    my forms are stored in forms folder , i can access the application/forms
    throuhg client machines, if proxy setting is unchecked, but if proxy is chacked can't access application.
    as there with the user machine is required with proxy setting. how
    to access the application. i mean what is the configuration.
    in application server so that any computer (client machine)
    can access weather it is having proxy setting or not.

    now i enabled the java console to see the trace, there i found. if proxy is checked in client brouser with 8080 port which is required by organisation.
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\fresh
    Proxy Configuration: Manual Configuration
    Proxy: eproxy:8080
    Proxy Overrides:
    Jar cache disabled by user
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Where as if there if i remove proxy setting by uncheck. then application goes smoothly.

  • How to access Sql Server Express installed on Virtual PC from Host?

     
    I have SQL Server Express 2008 R2 installed on Virtual PC. and on my Host machine i have SQL Server 2008 R2 ( Enterprise Version) installed.
    Since Management studio that comes with SQL express does not support SQL profiler, i want to access SQL Server Express from the Host machine’s management studio which has SQL profiler.
    But I could access it using VM’s ip address & instance name

    Hi lax,
    Follow below steps in your Virtual Machine:
    1. Allow remote connections to this server
    The first thing you want to check is if Remote Connections are enabled on your SQL Server database. In SQL Server 2008 you do this by opening SQL Server 2008 Management Studio, connect to the server in question, right click the server and open the Server Properties.
    Navigate to Connections and ensure that Allow remote connections to this server is checked.
    2.  Protocols for MSSQLServer
    The next good thing to check is the SQL Server Network Configuration. Open the SQL Server Configuration Manager, unfold the node SQL Server Network Configuration and select Protocols for MSSQLServer (or whatever the name of your SQL Server instance is). Make
    sure that TCP/IP is enabled.
    3. The Firewall
    If there is still no communication happening between your computer and the remote SQL Server you most likely need to configure your firewall settings.
    A good first step is to figure out which port is being used by TCP/IP (and which you need to open in your firewall). You can do this by right clicking TCP/IP and selecting Properties. Click on the tab IP Addresses .
    That was easy enough and all there is left to do is to allow inbound TCP/IP traffic on Port 1433 in your firewall. In Windows 7 this works something like this. Open the Control Panel and navigate to Windows Firewall. Click on Advanced Settings on the left hand
    side and you should see the Windows Firewall with Advanced Security. Select the Inboud Rules on the left hand side and click on New Rule on the right hand side. This opens the New Inbound Rule Wizard which you can use to allow inbound traffic on Port 1433
    for TCP/IP.
    For more information, please refer to
    http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx.
    In host machine:
    After you have done steps above, you could use the SQL Server Management Studio in the host machine to connect the SQL Server Express R2 in Virtual PC. If you installed a default instance in Virtual PC, you could use VirtualComputerName to login the SQL
    Server database engine. If you installed a named instance in Virtual PC, you could use VirtualComputerName\InstanceName to login the SQL Server database engine.
    Thanks,
    Maggie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • Multiple applications on a single JVM

    I was looking at some of the disadvantages of running multiple apps on a single JVM and then I came across this sentence which I donot totally comprehend. I guess somebody here would be able to shed some light JVMs tend not to scale well past four pr

  • Unable to access dashboard  in infoview

    Hi, I am unable to open/create dashnoard ( created by administrator) in infoview thorugh user login, although given access rights to PM repository server, dashboard server, analytical server to the all users through . it gives following error: An err

  • Unable to create wage types in It0015 for Zambia

    Hi Friends, I want to create Wage types in IT0015 - Additional Payments for Zambia. But I am unable to find any model wage types which can be copied to create the custome wage type for country grouping ZM - Zambia. I also tried to copy the wage typse

  • How to train two line texts in NI Vision assistant ?

    Hi guys, I have managed to train single line of text in OCR (NI Assistant)..as attached..however I dont know how to train two (or more) line of texts..for example the car's plate number below: WDP 3194            - as attached  I want my script.scr f

  • Organizing Playlists in iPod

    Is there a way to create folders containing playlists as could be done in iTunes to organize related playlists?