How to connect to a FTP server using a proxy in a DMZ with XI file adapter?

Hello,
Want to connect to an ftp server using a proxy in the DMZ. I don't see any standard options in the XI file adapter to use a standard. Is there a workaround?
I already looked at https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=57137
But it didn't help me.
Regards,
Erik van Lisdonk

U can't use FTP over SSH i.e., SFTP. But u may use FTPS by enabling the SSL layer on J2EE of XI. See this
SFTP vs. FTPS in SAP PI
Regards,
Prateek

Similar Messages

  • How to connect to an FTP server via Midnight Commander _User_Menu_?

    Hi everyone.
    There's a nifty command that works in MC and makes it connect to an FTP server and display its directories just as if they were local ones: cd ftp://USER_LOGIN@SERVER_NAME. The only thing it asks for is a password, obviously. That's exactly what i'm looking for, theoretically.
    I know it's not really a standard Bash command, because if invoked outside MC, it returns an error (directory not found).
    I got kind of tired of typing it in (or copypasting it) every time, so i thought why not make it automatic? A Bash alias or a shell script wouldn't work, because as i said, it's not really a bash command.
    But what surprised me was that it didn't work as an entry in MC's menu, too.
    Tried to go another way, discovered kftp, apparently it's completely not what i am looking for.
    And i didn't even understand what F9 > Left > FTP Link in MC did. It isn't automatic as well anyway, i have to type everything in manually.
    Can anyone advise how to automate FTP connection in MC, or even in Bash (so that MC just treats it like a regular directory)?
    Big thanks in advance.
    Last edited by kiruch (2010-07-04 20:53:44)

    kiruch wrote:mcsilva, here are the contents of my ~/.netrc file: machine ftp.0fees.net login MYLOGIN password MYPWD
    When i invoke cd ftp://ftp.0fees.net, it tells me bash: cd: ftp://ftp.0fees.net: No such file or directory
    This is not the correct way. You are using bash command line. For this to work it must be:
    # mc cd ftp://ftp.0fees.net
    kiruch wrote:When i invoke it as an entry of MC's menu (what i'm aiming for), i get /tmp/mc-cyril/mcusr6BWdYd: line 2: cd: ftp://ftp.0fees.net: No such file or directory - well, basically the same.
    I don't know what do you mean by "invoke an entry of MC's menu",
    Is this:
    Left->FTP link or Right->FTP link ?
    kiruch wrote:And finally, if i type cd ftp://ftp.0fees.net manually into MC's command prompt, i get a red alert message that says Cannot chdir to "ftp://ftp.0fees.net". Input/output error (5)
    In the first post you said you were able to login with "cd ftp://USER_LOGIN@SERVER_NAME", so MC is working well.
    This error you showed is the same which I have when I type "cd ftp.0fees.net" in the MC command prompt (maybe you typed wrong...)
    Instead, when I try "cd ftp://ftp.0fees.net" the popup error is:  "ftpfs: Login incorrect for user anonymous"
    This is what I expected, because I don't have the username and password and I'm trying a anonymous login.
    Are you sure your typing is right? Please, check your typing and try again.

  • How to connect to MS SQL server using JSP?

    Hi, i am new to JSP so i would like to know what is the code to create a connection to MS SQL server.
    I am using jakarta-tomcat 4 as my server.
    sorry for any inconvenient....
    pls help me....

    This works to start off with but there are more sophisticated/ different ways of doing things,for instance it's best not to access the db via your jsp, rather do this logic in JavaBeans, Servlets or use Struts.Therefore, it's best that you consult with others and find out which is best way to go about creating your web apps.
    Here's some code:
    In my jsp's I access the bean below , instantiate a statement object and go on from there:
    *SOME of the code in the JSP's.
    //create bean instance
    <jsp:useBean id='dbConn' class='projectsevenhouses.DatabaseConnectionBean ' scope='session' />
    //instantiate statement
    Statement st = dbConn.getConnection().createStatement();
    * JavaBean
    package projectsevenhouses;
    public class DatabaseConnectionBean implements Serializable {   
    private Connection conn;
    private Statement st;
    private String dbURL = "jdbc:odbc:datasource";
    private static String driver = "sun.jdbc.odbc.JdbcOdbcDriver";
    /** Creates a new instance of DatabaseConnectionBean */
    public DatabaseConnectionBean() {
    makeConnection();
    public void setDatabaseName(String dbName) {
    dbURL = dbName;
    private void makeConnection() {
    try {
    Class.forName(driver);
    conn = DriverManager.getConnection(dbURL,"sa","");
    } catch (SQLException e) {
    System.out.println("SQL Cause ->" + e.toString());
    } catch (ClassNotFoundException cnf) {
    System.out.println("Class Not Found:" + cnf);
    public Connection getConnection() {
    if (conn == null) {
    makeConnection();
    return conn;
    public void setCloseConnection(boolean close) {
    if (close) {
    try {
    conn.close();
    } catch (Exception e) {
    conn = null;
    Hope it gives u an idea...
    Ciao
    Ushanta

  • How to connect to IMAP mail server using java ?

    Hello Friends,
    I need to include a mailing facility in my application. Now its not the smtp server instead I have to connect to the IMAP server.
    Pls provide your valuable suggestions as to how do I go about this ?
    What API will I need to download ?? As javamail API does not have IMAP package.
    Thank you for your attention.
    Regards

    What API will I need to download ?? As javamail API does not have IMAP package.What gave you that idea? JavaMail does support IMAP.

  • How to connect to Window 2003 server using "connect as"

    How can I set up Lion to easily connect to specified shares in the windows 2003 server. I want to authenticate as a user other than the one I am logged into on my Macbook? I am setting this up for teachers in a school. The macbook may be used by multiple teachers. Best way (simplest) please.

    Hi
    Let's pretend the Windows Server has an IP address of 10.10.10.254
    Go Menu > Connect to Server > smb://10.10.10.254. When prompted enter the account credentials of a user (username and password) that exists on the Windows Server. Alternatively you could use cifs://10.10.10.254. Either one will do. Assuming no 'silliness' on the Windows Network Administrator's part the share should mount.
    For ease of connectivity afterwards you could tick the 'remember password using keychain manager' box. Personally I find keychain manager more trouble than it's worth. However you deal with this as you see fit. If it's multiple users using the same workstation I would not enable the option.
    Once mounted you can view the Server Share on the user's Desktop by enabling the option in the Finder. It should appear as a blue-ish drive icon on the Desktop. Add the icon in that User's Login Items in the Accounts Preferences Pane. Think of it a little like the Windows equivalent of "mapping a network drive".
    Next time that user logs into their local account and provided the workstation is connected to the same network, the share point should mount.
    You could also or alternatively drag the share icon to the right hand side of Dock. Click on it to re-connect to the share after you've disconnected from it.
    HTH?
    Tony

  • WIN - How to Connect to Informix Dynamic Server using Generic Connectivity

    Hi All,
    I have our Oracle running on Windows 2003 and our Informix 9x running on HP.
    We have IBM Informix Client install in Wndows 2003 and connection ODBC setup and connected sucessfully.
    The setup are as follows:
    1) ODBC
    System DSN name: capatibak (connected successfully)
    2) C:\oracle\product\10.2.0\db_1\hs\admin
    Copy the file inithsodbc.ora to initCAPATIBAK.ora and set the following
    HS_FDS_CONNECT_INFO = capatibak
    HS_FDS_TRACE_LEVEL = ON
    3) Listener.ora setup
    (SID_DESC =
    (SID_NAME = capatibak)
    (ORACLE_HOME = c:\oracle\product\10.2.0\db_1)
    (PROGRAM = capatibak)
    4) Tnsnames.ora setup
    CAPATIBAK =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pendbdev1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = CAPATIBAK)
         (HS=OK)
    5) Shutdown and restart Listener
    6) Setup database link and perform connection test.
    Return: ORA-12518: TNS:listener could not hand off client connection
    Kindly advice if I miss any configuration. I am very new to this kind of setup.
    Thanks
    Steven

    Problem solved by using the following documentation:
    http://www.niall.litchfield.dial.pipex.com/WhitePapers/SettingUpGenericConnectivity.pdf

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • Unable to connect to the remote ftp server using dreamweaver.

    For the last one week I have been trying to connect to the remote ftp server using dreamweaver. I spoke to the technical support agency who manage our remote server but they are saying that there is no problem with the server adn they dont know anythign about dreamweaver so cant assist me.
    I was suggested to check with adobe team directly and i spoke to a technical support person on the live chat but they said since the version is CS4 - education version, they cant assist me at all!! This is just ridiculous...I am constantly being sent from one place to the other without anything getting resolved!!
    Please help somebody!!

    I am having a similar problem... maybe.  I was connected to my remote site all day yesterday, then out of the blue I tried to "put" an edited file... as I had been doing all day, and I received an FTP error:  Cannot make connection to host. Your login or password is incorrect.  That's odd, I've been connecting all day.  So I went into my sites > manage sites and clicked the Test button on my remote server information and it returned Adboe Dreamweaver CS connected to your webserver successfully.  I went back to my file and tried once more to "put" it on the remote server... again FTP Error: cannot make connect to host...  So I reboot my computer and start Dreamweaver CS3 again.  I reenter my remoter server information and click the Test button.  "... connect to your webserver successfully".  I try to put any file, FTP error again.  So I call my server administrator, he checks the servers logs and says there are no errors and you've connected successfully several times today.  I went through the trouble shooting steps listed here, though my FTP Logs are empty.  I cannot stay connected or even see the remote folders to try to drag and drop.  I tried to run ftp from a windows command prompt and it seems to connect me.
    I downloaded an installed an SFTP client and was able to successfully connect to my remote server and upload the files.  It's definately a Dreamweaver problem.  Any suggestions?

  • Dreamweaver (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS..."

    I am evauating wether to purchase Dreamweaver CS6...
    Dreamweaver CS6 trial (on Windows 7) wont connect to IIS (v7) Server using "FTP over SSL/TLS (explicit encryption)".  I have a NEW Godaddy SSL certificate installed on the IIS server. 
    On connecting Dreamweaver states: "Server Certificate has expired or contains invalid data"
    I have tried:
    -ALL the Dreamweaver Server setup options
    -Using multiple certificates (tried 2048 bit and 4096 bit Godaddy SSL certificates)
    -Made sure the certificate 'issued to' domain name matches my domain name.
    I am able to connect no problem using Filezilla, with equivalent Filezilla setting "Require explicit FTP over TLS".  I can also connect fine using Microsoft Expression web. 

    Thanks for your prompt reply.
    My comments:
    1) You should update your tread (forums.adobe.com/thread/889530) to reflect that it still occurs on CS6 (I had already read it but figured it was an old tread and thus should be fixed by now). 
    2) You said “These warnings will also pop up for your users if you have a store saying the SSL certificate does not match the domain/ip and this can make users checking out in a storefront very nervous” .  This does not seem to be correct – my https pages display properly using the same Godaddy certificate … using IE:
    3) Godaddy is not my host (I use Amazon AWS) – but the SSL certificate is from them.

  • Urzent: Delete files in FTP server using FTP receiver adapter

    Hi Experts,
    We are doing 2 asyncronous scenarios. frst scenario should delete existing file and place the request file. Second scenario should pick(delete) response file and delete request file it placed also.
    Scenario 1 : File(NFS) to FTP  (Asynchronous)
    Scenario 2: FTP to NFS  (Asynchronous)
    Scenario 1: (Receiver FTP Adapter )
    step-1: PI has to delete all existing files in FTP server
    step-2: PI has to place Request file in FTP
    Scenario-2: ( Sender FTP Adapter)
    step-1: PI has to Delete request file i FTP server
    Step-2: PI has to pick and delete response file in FTP server
    Doubts:
    How can we do above steps in PI
    Thanks,
    Murali

    Hi Krish - For scenario -1 You have to make use of the OS commands to delete the files on FTP server before placing the request file.
              -> write some script which wil connect to the FTP server and delete the files.
              -> call that script from the file adapter "using execute OS commands" option
    For scenario -2 :
    pick both the files(request and response) and set the processing mode to delete..
    during the receiver determination, process only request files(based on filename/content)

  • How do i find the ftp server address information in business catalyst, adobe technical support says

    how do i find the ftp server address information in business catalyst, adobe technical support says mine are wrong. I haven't changed nothing and it used to connect. someone please meassge me, not too sure how to use a forum and do not know how to get catalyst support.

    Hi Michael,
    I think you are referring to the changes switching from regular FTP to SSH connection which is now required. 
    Please review the article below covering this recent update and the changes needed to establish your connection via (DW or FTP client).
    - http://forums.adobe.com/docs/DOC-2841
    Kind regards,
    -Sidney

  • How can I registry an FTP server in SLD ?

    Dear all,
    In the web site: ****************/Tutorials/XI/XIMainPage.htm, I find many integration scenarios which use an FTP server as a sender or a receiver or both. I would like to configure one of them, but i don't know how can i registry an FTP server in SLD, and use this FTP server as a Business Service in Integration Directory.
    If you know and have the document about this topic, could you please help me?
    Many thanks and best regards,
    Vinh Vo

    Hello Vinh,
    In the SLD Create a Technical System of ThirdParty Type.
      Choose Home ® Technical Systems.
           2.      Choose New Technical System.
    The System Type screen appears.
           3.      Select the Third-Party indicator and choose Next.
    The General screen appears.
           4.      Enter system details and choose Next.
    The Installed Products screen appears.
           5.      On the left, select installed software products by selecting the Installed indicator.
    On the right, all software components that are part of the selected software products appear.
           6.      On the right, select installed software components by selecting the Installed indicator.
           7.      Choose Finish.
    Check this :
    http://help.sap.com/saphelp_nw70/helpdata/EN/fa/0aad3efa11b300e10000000a114084/content.htm

  • Trying to connect to a ftp server

    I am able to connect to Cerberus (5.0.0.5) using the web browser or using a CoreFTP client, but I can't connect programatically using org.apache.commons.net.ftp.FTPClient. 
    Below is my code (this is actually using the java ftpclient through Coldfusion) :
    ftpsClient = CreateObject("java","org.apache.commons.net.ftp.FTPClient").init();
    ftpsClient.connect(JavaCast("string","xxx.xxx.xxx.xxx"),21);
    connected = ftpsClient.isConnected();
    login = ftpsClient.login(JavaCast("string","username"),JavaCast("string","password"));
    This is what I see in the ftp server log file:
    2011/12/13 13:47:54  [0]  Client connected to Cerberus FTP Server 5.0.0.5 on 'machine'
    2011/12/13 13:48:41  [1]  Incoming connection request on FTP interface 0 at xxx.xxx.xxx.xxx
    2011/12/13 13:48:41  [1]  FTP connection request accepted from xxx.xxx.xxx.xxx
    2011/12/13 13:48:45  [1]  USER svc.script
    2011/12/13 13:48:45  [1]  331 User svc.script, password please 
    At this point the Coldfusion/Java client returns "Truncated server reply".  I also tried not using the login, and instead sending the user command and pass command separately like this:
    userCmd = ftpsClient.sendCommand(JavaCast("string","USER" ),JavaCast("string","username" ));
    But as soon as I send the "USER" command I see the above in the log file and the same reply, "Truncated server reply".
    When I use the cfftp tag like this:
    <cfsetting requesttimeout="1000">
    <cfftp action="open" connection="ftptest" secure="false"
        server="xxx.xxx.xxx.xxx" port="21"
        username="username" password-"password" timeout="1000" stoponerror="true">
    I receive a "java.net.ConnectException: Connection timed out: connect"
    Does anyone have any ideas?  Thanks much.

    This has been resolved.
    There is a bug in the apache commons ftpclient that misinterprets /r in the welcome message.  The ftp server people made a change that fixes this.
    With cfftp, when I changed the server attribute on the cfftp open to the server name instead of the ip address, it started working.  To me this is a bug in ColdFusion, you should be able to use the ip address.
    The other thing I noticed is when you use getfile, you have to set the the failifexists attribute to "false".  If you don't, it fails every time and the file has a "0" size, whether the file actually does exist.  To me, another bug.

  • An error occurred while connecting to the FTP server '127.0.0.1:14147'

    HI Experts,
    I have been tried Content Conversion by using the FTP. Under Adapter Monitoring --> Communication Channel monitoring i found this error:
    An error occurred while connecting to the FTP server '127.0.0.1:14147'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx:  4     '. For details, contact your FTP server vendor.
    Regards,
    -Prabhakar.A

    Hi
    Pl mention the error correctly, whats the FTP error code? (something like this: 426, 521)
    Could be due to 2 reasons:
    1) insufficient privileges
    2) wrong port
    Srikanth Srinivasan
    Edited by: Srikanth Srinivasan on Jun 20, 2010 2:19 PM

  • Error occurred while connecting to the FTP server: java.lang.NullPointerExc

    Hello Experts,
    I have a scenario wherein i have to send file from FTP to application server of ECC.
    I don't want to do any mapping and transformation; Just need to transfer the file as it is.
    I have achieved this using Integrated scenario.
    But in the sender communication channel i get an error saying "Error occurred while connecting to the FTP server "*.*.*.*:*": java.lang.NullPointerException"
    I have checked all my FTP parameters many times and everything is correct.
    Thanks,
    Lalit Mohan Gupta.

    Hi,
    You can check the connect test of FTP in either of the below ways.
    1. Use FTP Dos command (i.e go the run and type ftp..) and from there try to login to the source FTP server by using FTP Commands. If you are able to connect to the same then ask your basis to check the connectivity test from PI server.
    If you are not able to connect check the error you are getting and post the same if you are not able to resolve the same.
    2. There is Program from SAP which need to be deployed into Server and after that you can test the ftp connection by yourselves from PI server. Search in sap support for Connection Test SAP Note..
    HTH
    Rajesh

Maybe you are looking for

  • Pc won't recognize ipad

    My iPad is not recognized on any computer, when plugging it in using the USB cable.  I've tried several different cords, and PC's, with and without iTunes.  When I plug it in, nothing happens.  It will charge with the plug-in adapter, although, not t

  • Error: Balancing field "Profit Center" in line item 324 not filled for t-code:PC00_M99_CIPE

    Hi, Anybody can help me. when I am posting the documents for all employees for the t-code:PC00_M99_CIPE, I am getting the following error, kindly help me.

  • Error message during Acrobat X update installation

    I have been trying to install the latest update for Acrobat X and get the following error message: "Unable to modify file C:\Program\Files(x86)\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe".  I have successfully installed updates previously on this compute

  • OS X Lion and Powerbook G4

    Can OS X Lion be installed on a Powerbook G4 or is it too ancient of a computer/processor? I'm upgrading to Snow Leopard and wondered then if I could upgrade to Lion.  Or does the G4 not have the right processor for the Lion upgrade.  I looked it up

  • Iphone 4s, camera roll photos disappeared but still seem to be there is a usage

    hello my photos in the camera roll have disappeared and i cant find them aywhere, but when i look at my usage on photos and videos in settings it has a high usage like all my photos and videos are there,my background on the homepage still has my phot