Sending files via File Adapter through FTP having a HTTP proxy as firewall

Dear  experts,
I am having a issue trying to send a file via FTP with the File Adapter. My client has a HTTP proxy with authentification required as firewall  in order to send files via FTP.
I've tried several solutions but I cannot find a way to add the proxy name, user and password in the communication channel.
Any ideas?
Thanks in advance.
Best Regards

Hi,
Unfortunately those changes didn't work. The adapter is not able to establish a connection within the FTP server. These are the parameters I added:
-Dhttp.proxy.user=<usename>
-Dhttp.proxy.password=<userpassword>
-Dhttp.proxyHost=<proxy.domain...>
-Dhttp.proxyPort=80
-Dhttp.nonProxyHost="*domain1.com domain2com"
-Dhttps.proxy.user=<usename>
-Dhttps.proxy.password=<userpassword>
-Dhttps.proxyHost=<proxy.domain...>
-Dhttps.proxyPort=80
-Dhttps.nonProxyHost="*domain1.com domain2com"
And just in case, we tried with these other parameters at the same time.
-Dftp.proxy.user=<usename>
-Dftp.proxy.password=<userpassword>
-Dftp.proxyHost=<proxy.domain...>
-Ddftp.proxyPort=80
-Dftp.nonProxyHost="*domain1.com domain2com"
The errors in the adapter engine's log are:
Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Socket connection timed out: <ftp ip address>
Error Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Socket connection timed out: <ftp ip address>
Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Socket connection timed out: <ftp ip address>
By the way, we are using  PI 7.0.
Thanks in advance
Edited by: SAPIMSA . on Apr 20, 2011 4:08 PM

Similar Messages

  • How to Send Appointment via mail adapter

    Hi Guys,
         I need to send the appointment and vTodo via mail adapter, any way i need to develop a mail adapter module. Till now i have finished this part,and i can send normal mail even normal mail with attachment. But i don't know how to send appointment via mail adapter.
    This is payload content of appointment which got from Exchange server to gmail:
    _=_NextPart_001_01C71EC0.97A011C6
    Content-Type: text/plain;
        charset="GB2312"
    Content-Transfer-Encoding: quoted-printable
    When: 2007=C4=EA6=D4=C227=C8=D5=D0=C7=C6=DA=C8=FD 3:30 =CF=C2=CE=E7-4:00 = =CF=C2=CE=E7 (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi.
    Where: China
    ~*~*~**
    This is calendar content
    _=_NextPart_001_01C71EC0.97A011C6
    Content-class: urn:content-classes:calendarmessage
    Content-Type: text/calendar;
        method=REQUEST;
        name="meeting.ics"
    Content-Transfer-Encoding: 8bit
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+01.00) Sarajevo/Warsaw/Zagreb
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0100
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0200
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20061213T141132Z
    DTSTART;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T140000
    SUMMARY:This is calendar test
    UID:040000008200E00074C5B7101A82E0080000000030D51864C81EC701000000000000000
    010000000CA9F127EA8947844BC4DD47F269BDEA9
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky":MAILTO:rocky@***.com
    ORGANIZER;CN="Xu":MAILTO:rocky@**.com;roc*@gmail.com
    LOCATION:Shanghai
    DTEND;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T160000
    DESCRIPTION:This is calendar content\N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20061213T141132Z
    LAST-MODIFIED:20061213T141133Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    X-MICROSOFT-CDO-OWNERAPPTID:367904726
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20061213T141132Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20061213T141132Z
    END:VEVENT
    END:VCALENDAR
    _=_NextPart_001_01C71EC0.97A011C6--
    My question is
      1. How to generate this kind of payload in mail adapter module?
      2. It is possible to send appointment via mail adapter?
    Following i can get from other system, even using mail package check or not using mail package check.
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+08.00) Kuala Lumpur/Singapore
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20070608T025852Z
    DTSTART;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T110000
    SUMMARY:This is meeting request with attachment
    UID:040000008200E00074C5B7101A82E0080000000000A9BD0BA7A9C701000000000000000
    010000000C5E16D144D1612498C0EF7E2115EFEC4
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky
    ":MAILTO:roc*@**
    ORGANIZER;CN="Xu,y":MAILTO:roc*@**
    LOCATION:India labs
    DTEND;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T113000
    DESCRIPTION:This is content!  &#60;&#60;shanghai.txt&#62;&#62; \N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20070608T025925Z
    LAST-MODIFIED:20070618T033505Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    ATTACH:CID:008501c7b159$a9d41d3b$_CDOEX
    X-MICROSOFT-CDO-OWNERAPPTID:1468557271
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070608T025852Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070608T025852Z
    END:VEVENT
    END:VCALENDAR
    Thanks & regards
    Rocky

    Hi
    have a look at this
    You can use Java/ABAP proxies to do this job for you..
    Java Proxy >> will read the mail(with the attachments) with the help of Java APIs and send the message into XI ABAP Proxy >> for this you will have to first convert the attachment into a message and then you can proceed in the regular fashion.
    Not all adapters can process attachments, I'm not sure why you are having trouble with using module processor in the mail adapter. Just check if the service pack that you are using supports this feature.
    If you are on WAS 6.10 and above you can achieve this and there is an excellent weblog by Thomas Jung on this topic at
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    reading Pdf Through mail easly done with Java Proxy, which will read the mail(with the attachments) with Java APIs and send the message into XI and then map with the Target ABAP proxy structure .
    Thanks

  • Passing a file via File Adapter without renaming.

    We have a scenario whereby we pick up a file locally using a file adapter set up as a sender in local NFS file mode, and then pass that file through PI without mapping or conversion to XML.
    We would like to send the file via a file adapter set up as a receiver in FTP mode, and to use the filename that was recognised by the sending adapter. However, I cannot see a way to do this.
    is this possible?
    - Tony.

    Hi,
    The problem is, as I see it, that the File Receiver in FTP mode expects a naming convention that will not provide what er want to do.
    e.g. File sender processes a file EDI00001.txt. We want to send that file via the File Receiver in FTP mode with that filename, EDI00001.txt.
    Next file picked up from file sender has name EDI00002.txt. We want that sent via FTP as EDI00002.txt, etc etc.
    Problem is, it seems there is no way to tell the File Receiver to use the file name that the File Sender picked up.
    BR,
    Tony.

  • File has to pass through FTPS connection.. Connection parameters?

    Hi,
    I want to transfer the file through FTPS connection. Partner side provided the following details as connection parameters.
    - IP : 129.32.169.140 
    - POrt: 990
    User name
    Password
    PASV mode
    SSL Direct, OpenSSL,SSL Listing, SSL Transfers.
    Kindly let me know what are all the parameters I need to pass in Receiver file adapter.
    FTP Connection Parameters:
    Server
    Port
    Data connection: Passive
    Connection Security:  FTPS for control connection or FTPS for control and Data connection.???
    Command Order :  ?????
    Please let me know what are the security and command order parameters I need to use in Receiver file adapter.
    They didn't provide any certificates.
    Thanks
    Deepthi.

    Hi Rajesh,
    The message is not even failing.. It is in the status of "Delivering". The below are the logs from adapter and Messaging system.
    File Adapter Log:
    Success   Message successfully received by messaging system. Profile: XI URL: http://xi-dev.intranet.XI.com.au:50200/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
    Success  Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    Success  Message successfully put into the queue.
    Success  The message was successfully retrieved from the receive queue.
    messaging system log:
    Message ID  44b756da-d9bd-42e2-3136-e34d75adfe03 
    Message Type  Asynchronously Received Message (RECEIVE) 
    From Service   Name:  BS_1  
    To Service   Name:  BS2  
    Action   Namespace  http://XI.com/SAP_PI/ControlData Name:  BYPASS  
    Connection Name   File_http://sap.com/xi/XI/System 
    Status   Delivering 
    Error Category    
    Error Code    
    Profile   XI 
    Transport   HTTP 
    Delivery Semantics   Exactly Once 
    Times Failed   0 
    Number of Retries   3 
    Sent / Received  09/09/2009 11:22:52 
    Transmitted / Delivered  09/09/2009 11:22:53 
    Next Delivery  09/09/2009 11:22:53 
    Persist Until  10/09/2009 11:22:52 
    Valid Until  01/01/1970 10:00:00 
    Retry Interval   5 Minutes 
    Address   http://xi-dev.intranet.XI.com.au:50200/MessagingSystem/receive/AFW/XI 
    Transport Headers   authorization=Basic UElJU1VTRVI6dDFhbTRyaWE= Content-Length=3010 accept-encoding=gzip sap-xi-messageid=44B756DAD9BD42E23136E34D75ADFE03 content-length=3024 host=xi-dev.intranet.XI.com.au:50200 user-agent=SAP Web Application Server (1.0;700) content-type=multipart/related;boundary=SAP_4AA4E14330050131E10080000A722149_END;type="text/xml";start="" HTTP=POST soapaction="http://sap.com/xi/XI/Message/30" 
    Principal Propagation

  • Sending Attachments via SOAP Adapter

    Hi Everyone,
    We have the requirement to send the text files as attachement using SOAP Adapter. Can anyone help me how to do it in XI and the structure of WSDL. Or any document which can help me getting this done.
    Any help appreciated.
    Thanks in advance
    Laks

    I understand i need to add teh WSDL file in the repository .
    Yes, it would be like any other soap receiver scenario wherein you need to import the wsdl under external definitions.
    Like it should be cabable of receiving as attachments ?
    Yes, it should be. This will help in creating one.
    /people/baris.buyuktanir2/blog/2007/03/06/how-to-create-a-web-service-with-attachments-soap-with-attachments
    Is there anything i need to do in Repository part ? If your sender sends the file as attachment using the option "Addition files", then the message will be forwarded directly with attachment to soap receiver. There would be no need for any additional setting in repository.
    Regards,
    Prateek

  • Problems opening files via 'File - Open/cmd-O' in Photoshop CC 2014 after Yosemite installation

    I upgraded to Yosemite on Friday and shortly after, I noticed that when attempting to open multiple files, after I've opened a few files (it's not a set amount, sometimes happens on the 3rd file, sometimes on the 6th etc) I get the error message 'could not complete your request because of a program error' - the only way out of this is to quit Photoshop and restart which is obviously very frustrating and time consuming!
    I spent some time on live chat to Adobe yesterday and we deleted settings, preferences, uninstalled, reinstalled, moved Colour settings folder to desktop but nothing worked. I have a call scheduled with Adobe to go through lots more tests at the end of the week as I've been advised this isn't a global issue but I thought I'd post on here in the meantime to see if anybody had any thoughts as to what could be causing this. After speaking to Adobe, I have since realised that even after getting this error message, I can still drag files to the PS icon and open them that way - I have just opened 20 files this way with no error message, it's just when I used the File-open/cmd O method (my usual way of working) to open files that is happens.
    It was all fine before installing Yosemite and I am on the very latest CC 2014 version (this problem does not happen in the CC version incidentally, only the 2014 version - so I'm using that as a workaround for now).
    I also had issues opening files in Illustrator on Friday, I was unable to open files using file - open/cmd O (nothing happened after I clicked it, but I got no error message), again, I had to drag the file to the AI icon in the dock to open it but that seems to be ok now even though I haven't changed anything with the Illustrator application - just thought I'd mention it incase it was related!
    If anybody can help, I would really appreciate it. Thanks in advance!

    Glad it's not just me!
    Interestingly, when I spoke with Apple, I tried it in a new user account and the problem went away. Apple said to speak to Adobe which I have done and after deleting settings/prefs again the problem remained. Adobe say as it's fine in a new account then it's an Apple issue not Adobe.
    I did find a workaround for now though, when using file - open, set it to list view instead of column view - this fixed my problem but sadly I'm used to working in column view so it's not ideal!
    I also got the same error message when trying to replace a set of brushes yesterday too. I need to go back to Apple now but just need to schedule some time to sit and troubleshoot!

  • Sending xml files via AS2 adapter

    Hi Experts,
    I have an interface which requires an IDOC to XML scenario.
    This is a simple pick and drop scenario with no mapping required.
    We just have to send the IDOC to the 3rd party via AS2 receiver in XML format.
    Currently, the 3rd party receiver receives the file in binary format with no extensions (i.e. 9876543210123)
    Although when opened via notepad, the content is in xml format
    Is it possible to have the file sent as a .xml file (i.e. PO IDOC.xml)?
    Please see current configuration below:
    Currently, 3rd party is still receiving the file with no filename extensions.
    Thanks,
    Mike

    Hi Luis,
    Thanks for your reply.
    However, I am a bit confused because the thread mentions that the module configuration is for the file and JMS adapters. Also, the scenario is an AS2 to FTP interface
    I want to do the filename change in the AS2 receiver channel of a IDOC to AS2 scenario.
    Where exactly do I define the filename that I want to output such as "test.xml" instead of the default filename with 13 numerals?
    Thanks,
    Mike

  • Communication with the  Idoc file with is server through FTP (TCP/IP)

    Hi All,
    My file which is stored in the directory of the SAP server.
    In this file Sales order data is stored in the IDOC format.
    I have to devlelop a interface which which communicate with Server (where IDOC file is stored) with FTP using TCP/IP.
    Is there any sample code is there.
    Thanks in advance .
    Point guranted .

    Hi,
    Check this links out
    Using of FTP_CONNECT
    FTP_CONNECT
    FTP_CONNECT
    Regards,
    Samson Rodrigues.

  • HT201301 How do I send an audio file via file sharing to other Mac and PC users instead of email?

    I have created an audio file on iTalk and want to email it to my family.The file size is 25.62 MB.- too large to email it ( limit 5MB)  Would file sharing be a better solution and if so what are the steps I should take to get started?              

    You might try Dropbox for iPad and computer.  Both are free and include 2GB free storage. 
    http://itunes.apple.com/us/app/dropbox/id327630330?mt=8

  • Sending IDocs via RFC Adapter

    Hello!
    In an itegration scenario, we need to send (non XML) IDocs via RFC to a remote R/3 system (4.6C). As we don't want to get these IDocs persisted on the target system, it's intended to address the remote functions directly.
    Now the problem:
    - RFC Adapter only works with XML IDocs (so we cannot transfrom back to native IDoc)
    - IDoc-Adapter sends native IDocs, but only to IDOC_INBOUND_ASYNCHRONOUS on target system (and the Idocs will be persisted)
    In a next step, we also tried to implement a workaround with a local ABAP proxy on the XI system. But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    Has anybody any idea to solve this problem? Maybe I'm thinking too complicated Help is highly appreciated!
    Cheers,
    Matthias

    Hi,
    what kind of document you want to post?
    most (many) IDOCs use BAPIs so you can
    just call the BAPI (RFC) from XI
    >>>But it seems, that it's not allowed to call a abap proxy locally on the integration engine.
    you can call it on another client on the XI
    (which is set as application system in SXMB_ADM)
    Regards,
    michal

  • Transferring Files via File Sharing from 10.4.11 to 10.8.5

    I am trying to get all of my files and information off of my laptop and migrate them to my new iMac. I have followed the instructions in regards for file sharing. However, when I bring up the finder and click on shared, the only thing that it will do is log me in as a guest. When I try and type in the password to log me in as a registered user it tells me that the password is wrong. Unless there is another password that I am unaware of I am 100% sure that I remember the password. Any help would be greatly appreciated.

    mwheelsnyc wrote:
    I am trying to get all of my files and information off of my laptop and migrate them to my new iMac. I have followed the instructions in regards for file sharing. However, when I bring up the finder and click on shared, the only thing that it will do is log me in as a guest. When I try and type in the password to log me in as a registered user it tells me that the password is wrong. Unless there is another password that I am unaware of I am 100% sure that I remember the password. Any help would be greatly appreciated.
    Check out the following:
    Setting-up a new Mac from an old one, its Backups, or a PC 
    Using  Setup  Assistant  on  Mountain  Lion  or  Lion

  • Copying files via File Sharing, files get locked

    Hey, Folks!
    I've just begun sharing files from my Mac Pro with my wife's laptop. I have no problems dragging-and-dropping files from one computer to another, but the copied folders are locked, meaning, for example, if I put a video file into iTunes, I'm unable to change its metadata (i.e. change it from a "Home Movie" to a "Music Video"). I've tried some variations to no avail.
    Suggestions?
    Thanks!

    So, in Airport Utility, I go to "Wireless" and then "Option", and I get a dialog box with following options:
    Name of 5Ghz network, Country, radio Mode (802.11a/n - 802.11b/g/n (automatic)
    and Finally Canal 2,4 GHz : Automatic
    and Canal 5GHz : Automatic
    Do I have to change these values ?
    And after that, do I have to change something to my network preferences ?

  • Send PDF via Mail-Adapter

    Which tags you are talking about? Is your pdf is the payload or an attachment? May be you can look at swapping of payload if you can send the PDF as an attachment.
    VJ

    Hi Mario,
    Have a look at the blog by michal
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417100%29ID0975923150DB01234155231841994144End?blog=/pub/wlg/2849
    If you have the pdf in your payload you can make it as an attachment using PAyloadSwap bean. Just give a try
    Regards
    Suraj

  • Is anyone else having trouble sending email via O2 using Apple Mail (However, I can receive fine)

    Since the upgrade to Mountain Lion (OSX 10.8) I have noit been able to send email via Apple Mail through the O2 network in the UK. O2 say they are aware of this but that it is something that Apple need to address via a patch.

    Following a 45 minute call to O2 yesterday I've just had a further conversation with O2 who advised me to change my 'port setting' to 25. Mail now works fine! Panic over.

  • HT4864 Problems sending email via icloud

    I am having problems sending email via my iCloud through Mail or Sparrow, I have checked the mail server settings and they are correct based on what is described on the Apple site.  Anyone else having this problem?

    For some reason, iCloud smtp servers haven't been working well over the last couple weeks. I have experienced this twice, in as many weeks. Very frustrating as I send numerous emails on a daily basis via my iCloud account. If I login through the browser, the sending works fine, but via Mac Mail...no go. Very irritating to say the least. Apple, please fix this fluctuation problem.

Maybe you are looking for