File t http

In a file to http scenario, what can we use as a receiver system for testing? What are the parameters we can give?
can we have an ftp to ftp scenario using http protocol in the receiver side?

CSV File Lookup With Http Request and Response in XI
This might help you...

Similar Messages

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • Problem downloading a file via http

    Hi
    I'm just getting started with WLS (sp5) and am having a problem downloading
    a file via http. The document is stored in the main html docs directory and
    whenever I link to it or try to download it directly (eg:
    http://<host>:<port>/myfile.doc) I get the following error in a message box:
    Your current security settings do not allow this file to be downloaded.
    Can anyone point me in the right direction as to where I grant permissions
    to do this - I've tried using the weblogic.security.URLAclFile and adding
    the directory as a weblogic.io.fileSystem (a desperation move, I know).
    Thanks in advance,
    Peter Villiers

    PLEASE IGNORE THIS POST
    The problem was caused by someone (me though I honestly don't remember doing
    it), setting the content security level to high in my web browser which
    stopped this type of download.
    Peter

  • Post file over Http

    Hi All,
    I am working on EDI scenario in which EDI partner has given one HTTP site address with user name and password.  I will have to put EDI file at that site using http/soap adaptors at receiver end.
    One thing I know for sure that I can not use File channel at reveiver side as there is no FTP available. Now Can anybody please let me know how to generate file using http connection?
    I have absolutely no idea how to use http and soap adaptors so if any links to the blogs will also be helpful.
    Thanks in advance,
    Atul

    Hi Aamir,
    Thanks for your reply.
    I just want to generate a file at given location. I am confused what is the difference in data sent as a payload or as attachment?
    As you said in case of attachement we need to use some modules(Looks bit difficult ) I would perhaps like to generate file by using Payload .
    Can you suggest some blog for the same?
    Thanks and Regards,
    Atul

  • Flat file over HTTP or SOAP

    Hey Guys,
    I need to post a Flat file over HTTP (or SOAP), is this possible without developing my own Adapter module?
    I just need to get a Flat file from a FTP server and post to another server via HTTP,since there is no message mapping involved, i developed the scenario without any Integration Repository objects, it is just a pass-through scenario.
    Now i am stuck on the receiver side since i am unable to post Flat file over HTTP.
    Secondly i have Login URL, Logout URL and upload URL from the receiver system, i don't see any place in receiver HTTP adapter to put all these 3 URL's, can i use SOAP adapter to put all these URL anywhere?
    Any help would be appreciated.
    Thanks
    Saif
    Edited by: Saif Manzar on Jan 19, 2010 2:51 AM

    Hey Guys,
    I need to post a Flat file over HTTP (or SOAP), is this possible without developing my own Adapter module?
    I just need to get a Flat file from a FTP server and post to another server via HTTP,since there is no message mapping involved, i developed the scenario without any Integration Repository objects, it is just a pass-through scenario.
    Now i am stuck on the receiver side since i am unable to post Flat file over HTTP.
    Secondly i have Login URL, Logout URL and upload URL from the receiver system, i don't see any place in receiver HTTP adapter to put all these 3 URL's, can i use SOAP adapter to put all these URL anywhere?
    Any help would be appreciated.
    Thanks
    Saif
    Edited by: Saif Manzar on Jan 19, 2010 2:51 AM

  • Retreiving files over http or ftp.

    I was wondering what program I should use to retreive files over http or ftp. Previously I had used wget per my hosting provider's recommendation. It worked when I was ssh logged in to his server (via Mac Terminal). However, when I try using wget on my local Mac it says "command not found".

    Thanks. So if I specify a file name (-o /path/to/file), does the incoming file get renamed to that (and put in that location) or does this specify the directory (-o /path/to/directory) that the incoming file will go to? I wasn't quite clear on that.
    Also, I keep hearing about stdout. What is it exactly? I assumed it was just the Terminal window itself, the alternative being things like | more or | nano or something like that... Or am I totally up the wrong tree?

  • How to upload a file on HTTP server

    Hi All,
    I am porting a flex project to HTML5 where I need to upload a file on HTTP server.
    I do google and tried to find out a solutions.
    I could see following article on HTTP upload
    https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.appprogramming/html/tutorials/w3 c_tutorial/comm_tutorial/uploa…
    Uploading Files using AJAX | Holyhoehle's Blog
    File uploads using Node.js: once again | Componentix blog
    All article make use of file object for uploading.
    Unfortunately I do not have file object but have complete file path.
    is it possible to upload a file without showing a file selection dialog or without doing drag/drop.?
    Please help me in right direction for HTTP upload.
    Regards,
    Alam

    If you have a file path, you can read file like Base64 string:
    var fileStr = window.cep.fs.readFile(filePath, window.cep.encoding.Base64).data;
    then you can send this Base64 string to server. I'm using xmlhttpReguest for sending data to server (i'm using JSON format).
    And save file on server (Base64 string).
    window.cep.fs... functions - for working with File System. (read, write ...)
    Example for working with files - demo where to find it?
    CEP APIs information - Adobe CEP APIs | Adobe Developer Connection

  • Retrieve data/files fro HTTP POST request in On-Demand process

    Hello,
    I would like to integrate https://github.com/blueimp/jQuery-File-Upload to my APEX 4.2 application inside XE11g. I would like to use this kind of jQuery component, multiple file upload, use Drag & Drop, image resize, size limit, filter extensions etc...
    This jQuery component and also others javascript uploaders sends data files to some defined URL. Developer need to build some servlet, php script or something on server side that will read files from HTTP request and stores it somewhere.
    Do you know how to do it in APEX? How can I read data from HTTP POST request in PL/SQL? Now I can only call my On-Demand application process from javascript, but I am not able to read any data from HTTP POST in it.
    Can I do it in APEX, or using MOD_PLSQL?
    I would like to implement this:
    1) some javascript uploader will call some URL of my application and sends HTTP POST with data files
    2) I will read data files from HTTP POST and store them into database
    3) I will create some HTTP response for javascript uploader
    Thank you for some tips

    I know about that existing plugin " Item Plugin - Multiple File Upload"
    But I doesn't work in IE and has only basic features. Licence for commercial use is also needed. I would like to use some existing jQuery plugin. There are many of these plugins with nice features. And only one problem is that I need to create some server side process/servlet/script.. that can recieve HTTP request, get files from it and stores them into DB.

  • File to HTTP Mapping error in PI 7.1

    Hi Team,
    In my file to HTTP scenario- Im using file content conversion at source side . under MT , i have used Record node, under Record fileds. At target side I have used External definition. To generate multiple  records , Im using 0...unbound occurance in External defination.
    Example:
    MT_SOURCE
    -Record
    --fileds
    External_Definition
    -fileds
    After 0..unbound the structures looks like..
    Source:
    Message
    -Messages1
    --MT_SOURCE
    ---Record
    fields
    Target:
    Messages
    -Messages1
    --ExternalDefinatuion
    ---fields
    Now I record context to Messages1 from MT_SOURCE and mapped with Externl_Definition node. My reguirement is , For every record occurance the target structure should generate . I have changed the occurance in Interface mapping as 0..unbound. BUt when im testing with 2 Records ,  i got the below error...
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">ADAPTER_NOT_MMF</SAP:Code>
      <SAP:P1>PLAINHTTP</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Adapter PLAINHTTP cannot process message packages</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    If I used file adapter at receiver side , the messages are processing successfully , so mapping is correct . If I use HTTP im getting the error in MONI. Can anyone suggest whats the issue is ?
    Cant we handle multiple records/messages in HTTP adapter.

    Hello,
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="INTERNAL">ADAPTER_NOT_MMF</SAP:Code>
    <SAP:P1>PLAINHTTP</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:Stack>Adapter PLAINHTTP cannot process message packages</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    If I used file adapter at receiver side , the messages are processing successfully , so mapping is correct . If I use HTTP im getting the error in MONI. Can anyone suggest whats the issue is ?
    Cant we handle multiple records/messages in HTTP adapter.
    Multi-mapping is not possible when you use Plain HTTP Adapter. You could use SOAP Receiver Adapter and check Do Not Use SOAP Envelope also make sure that your content-type is correct as checking this option changes the content-type to application/xml.
    Hope this helps,
    Mark

  • Error in scenario "FILE to HTTP(with SSL)" - HTTP client code 110 reason.

    Hi friends,
    Our scenario is as follows:
    We are trying to send XML file from our SAP-XI to external tool "COMMunix XC" (a multi-protocol EDI platform tool).
    We have configured " FILE TO HTTP(with SSL)" scenario (trying to connect HTTPS/port)
    1. We have created RFC destination of type G and refered the same RFC in Communication channel (Adapter type: HTTP)
    2. We have send the SSL Server certificate to other party and ensure that they have imported at thier end.
    3. We have included the certificates from other party in our SAP XI STRUST under SSL Client (Standard) node.
    4. We have tried " CONNECTION TEST " in the RFC destination created in type G (in STEP 1) and it shows the GREEN TICK at bottom, no other message nor any error message
    When we trigger the communication we recieve the error: HTTP client code 110 reason in SXMB_MONI.
    Please let us know if we have missed out some step.
    What does error message indicate,
    Regards,
    Rehan

    Hi Rehan,
    I see that the PROCTIMEOUT was already at a very high value.
    Does this occur for messages of a particularly large size?  If yes, you could increase the parameter
       icm/HTTP/max_request_size_KB = 2097152
    This would need to be done in the sender/receiver system as well as XI.
    Otherwise you could try reproducing the issue and checking the dev_icm log in the work directory, or go to SMICM -> Goto -> Display trace file
    check for errors like NIECONN_REFUSED or "no service for protocol HTTPS" which can often be related to this type of issue.
    Kind regards,
    Sarah

  • Transmit file in HTTP POST

    Hello,
    Sorry I am french my english is not very good !
    I have an JAVA applet and I would transmit a file of my applet to an ASP web page with HTTP POST. I try with HTTPClient but I don't success. If you have solution for transmit file in HTTP POST ?
    Thanks
    [My PortFolio|http://florent.lagoda.free.fr]

    Crossposted and already answered: [http://forums.sun.com/thread.jspa?threadID=5347746].
    In the future, do not crosspost without mentioning about the crosspost. It is considered very rude to crosspost at forums. Others may spend lot of time and effort in helping you and they may got very angry when they discovered that you already got help and answer at aonther topic which you didn't mention about at all.
    Edited by: BalusC on 14-nov-2008 9:28 (wrong link)

  • How to send a pdf file via http call

    Hi Experts,
    Please try to think on how you would send a file like a pdf file via the http call. You might need to convert the pdf in a character string which can be sent via http. The character string then might need to  get converted back into a pdf and saved in a file. Read through the Archive Link API guide to see how they send the body of a file.
    Please it is urgent......
    Thanks
    Basu

    so you want to push the PDF file over http to external system.
    where is pdf file stored.
    for examle if its in the clients desktop, you can use gui_upload to upload to internal tabble (type BIN) then use FM SCMS_BINARY_TO_XSTRING to conver the binary table to type string.
    then use cl_http_client class to push the file to the destination.

  • File-XI-HTTP Scenario with multipart

    Hello everyone,
    Argentina has a legal requirement which is necessary to send a TXT file containing data related to outbound delivery (transaction VL03N) in a website created by the government.
    Nowadays the users are using a HTML page to send this file. This HTML page has 3 parameters ( user, pass, file path+name ) and is sending data through "POST" method using encoding type "multipart". Please take a look on the statement below contained in the page:
    <FORM action="http://cot.ec.gba.gov.ar/Transporte.do" enctype="multipart/form-data" method="post" name="form" onSubmit="">     
    I am not expert in SAP XI, but I would like to convert all in an automatic process using XI:
    (SAP R/3) File -> XI -> HTTP.
    My question is: How could I configure a communication channel in order to send a TXT File to a HTTP service with all attributes mentioned right above (multipart, user + pass)? I think its necessary to use HTTP adapter but I am not sure.
    Best Regards
    Gabriel Santana

    Hello Gabriel Santana
    I have the same requerimient as you and i need some help. As you know the web service have 3 obligatoies parameters . User , password and File.
    I have no problems with the two first parameters passing them with the class
    cl_http_client method  ->request->set_form_field. and this values.
    However i cant pass the third parameter (File) using the same mode.
    i tried:
      CALL METHOD http_client->request->set_form_field
        EXPORTING
          name  = 'file'
          value =  'Path source of my file'.
    but i recive an error response from the web service .
    Hope you can help me with this issue because it turned to me to an Urgent matter.
    Thank you and will look forward for your answer.
    if you prefer my e-mail address is [email protected]
    Regards
    Mcol.

  • File to Http Scenario

    Hello All,
            My Requirement is File to HTTP Scenario Where i would read a  xml file and send the data to webpage using Http receiver adapter. what are the steps for this scenario.  How to configure Http adapter.
    Thanks

    Hi san
    check these threads
    HTTP to File ??
    File to HTTP scenario
    See here how u need to configure the reciever HTTP adapter.
    /people/bla.suranyi/blog/2006/07/10/xi--sap-business-connector-integration-using-the-http-adapter
    /people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
    Regards
    BILL

  • Play an audio file over HTTP

    Hello everybody,
    I'm trying to play an audio file over HTTP protocol. The code is the following:
    public class HTTPClientJMF {
         static String url = "http://localhost/audio/Reklam1.wav";
         static String urlFile = "file:///C://tmp/audio/Reklam1.wav";
          * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              try {
                   DataSource dataS = new URLDataSource(new URL(url));
                   dataS.connect();               
                   Player player = Manager.createPlayer(dataS);
                   player.start();
              } catch (MalformedURLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NoPlayerException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }Now, if I'm trying to play the file from the local disk (+urlFile+ - using file protocol), everything goes well, but if I'm trying to play the same file from the network (using http protocol) I get the following exception:
    javax.media.NoPlayerException: Cannot find a Player for: javax.media.protocol.URLDataSource@fa9cf
    Can somebody tell me what I'm doing wrong?
    Thank you!

    Ah',..okay. I constructed the DataSource like follows:
    Buffer mediaBuffer = new Buffer();;
              String mediaURL = "http://ares.inescn.pt/video/Reklam1.wav";
              URL url;
              try {
                   url = new URL(mediaURL );
                   InputStream in = url.openStream();
                   BufferedInputStream bufIn = new BufferedInputStream(in);
                   for (;;) {
                        int data = bufIn.read();
                        // Check for EOF
                        if (data == -1)
                             break;
                        else
                             mediaBuffer.setData(data);
                   System.out.println(mediaBuffer.getLength());
                   if (mediaBuffer.getLength() != 0) {
                        DataSource ds = new DataSource();
                        HttpStream[] httpStream = ds.getStreams();
                        System.out.println(httpStream.length);
                        httpStream[0].read(mediaBuffer);
                        ds.connect();
                        ds.start();                         
                        Player player = Manager.createPlayer(ds);
                        player.start();But I still cannot play an audio file (wav format) over the HTTP. Application starts but nothing happened.
    I make the modification like you suggested. (into the DataSource, more exactly for method getStreams()).
    I renamed as well the HttpDatasource into HttpStream.
    Did you actually tried the code? I've been reading the instruction how to test the code but I did not be able to run the example.

  • Downloading Text file over http

    Hi,
    I am trying to display some plain text files over http to the client using a web browser. Everything works fine till the time the file size is small, but for the files of over 1MB the frontend just dies. Probably the display happens only after the complete transfer of the file.
    Does any one have the solution by which the text files can also be downloaded similar to the html files i.e. incrementaly. I have the code of transferring the html file over http as it happens in the explorer. But the same does not seem to work on the plain text files.
    Please help
    Sachin

    I do not have any Remote server written for this. What i am doing is, the directory in which the files are stored is exposed as a virtual directory through a web server(Apache) and then from client i am just placing a http request to open this file.
    So what i can do under this situations to handle the large files.

Maybe you are looking for

  • What's My Security Questions and why the itunes ain't woking on my laptop plz help

    HI My Name IS ANJELICA MORAGA I HAVE A QUESTION  WHY ITUNES AIN'T WORKING ON MY HP LAP TOP I RESET THE PASSWORD AND I WENT INTO THE SECURITY AND PASSWORD IT DIDN'T NOT SHOW RESET SECURITY QUESTION SHOULD I MAKE A NEW APPLE ID WITH AOL.COM OR GET A MA

  • Supress Warning on SQLPLUS output

    Hello! So, how can i supress warnings on sql plus output? Let me explain I have a install script with procedures and somethings have error dependences, this is ok, but i would like remove the "Warning: Procedure created with compilation errors" when

  • Upload internal table data to Application server in Excel Sheet

    Hi All, I have all my data in an internal table.I want to Upload this data to the Application server in the EXCEL sheet with the Column Header. How can i do this.Is there any standarad function module or class to to write in xls format. Can anybody h

  • HT1368 Can I purchase all the songs on my wish list at once?

    How do I purchase the songs on my wish list?   Can I do it all at once or do I need to purchase each song separtely?

  • Cannot import ORF-files from Olympus E-520

    Hi, One of my friends has this problem: When he plugs in his new Olympus E-520 to iPhoto '08, and clicks 'import', this output comes: http://upit.jtw.dk/dl/q29/ Sorry about it being in danish, but basicly what it says is that the files are unreadable