Uploading files from web to db server

hi, yesterday discover article from otn about uploading file from clients filesystem to web application server.
but how about uploading from clients filesystem directly into database column? (i'm talking about forms application via web server, btw, not c/s app)
i've search through the archieve, but cant find anything useful, just alot of similar question with no useful answer. so i guess alot of people could use this feature, if it can be done.
thanks in advance
Phil

The demo titled "Forms, Reports, and Portal Integrated Demo"
has the package and a form using it.
You can download it from http://technet.oracle.com/sample_code/products/forms/content.html
Read the script and search the part where you upload an image.

Similar Messages

  • Interface Mngr: Option for Uploading file from presentation or unix server

    Hi all,
      I want to upload file through interface manager where the file can be on the presentaion server or the unix server. How do i achieve the same? I need to create parameters for 'Filename' and 'Unix Filename'. Either of the 2 will be chosen at a time. But how do i retrieve the respective file?

    Hi!
    For handling a file on the apllication server (unix), you have to use the OPEN DATASET, CLOSE DATASET commands.
    For handling the files on the presentation server (local PC), you have to use the upload/download method (GUI_UPLOAD, GUI_DOWNLOAD function elements).
    You can make 2 parameters in your ABAP program like this:
    PARAMETERS: p_f_app LIKE rlgrap-filename.
    PARAMETERS: p_f_pre LIKE rlgrap-filename.
    both is filled - error
    IF NOT p_f_app IS INITIAL AND
    NOT p_f_pre IS INITIAL.
    MESSAGE E001(ZERROR).
    ENDIF.
    both is empty - error
    IF p_f_app IS INITIAL AND
    p_f_pre IS INITIAL.
    MESSAGE E002(ZERROR).
    ENDIF.
    IF NOT p_f_app IS INITIAL.   "application server
    open dataset...
    ENDIF.
    IF NOT p_f_pre IS INITIAL.   "presentation server
    call function 'gui_upload'...
    ENDIF.
    Regards
    Tamá

  • How to upload file from client machine to  server machine?

    i am developing one web application.I have one html file with browse option. client can browse any type of file. what ever file the client will browse it going to be stored in server machine. for storing the file want to use servlet. my html form is of multipart type.
    can any one send me the servlet code? i am using tomcat 5.5 as web server.

    [http://commons.apache.org/fileupload]
    Start reading 'User Guide' and 'Frequently Asked Questions'.
    Good luck :)

  • How to upload Unicode encoding files from web?

    Hi everyone,
    I do not manage to upload Unicode encoding CSV files from web. Currently I use class CL_HTMLB_MANAGER to upload file from web. It works fine with ANSI encoding files, but file content is not uploaded correctly with Unicode encoding files. Especially I get innumerable characters u201C#u201D throughout the string that contains the file content (For example instead of u201CSAP CATALOG CSV 2.0u201D I get u201CÿþS#A#P# #C#A#T#A#L#O#G# #C#S#V# #2#.#0#u201D).
    I did not find in forums a solution to my issue that is why I am now asking for your help.
    How can I upload Unicode encoding files from web? Do you know another way to upload file from web that is Unicode compatible?
    Remark: I tried to upload Unicode encoding files from SAP GUI using function module GUI_UPLOAD and upload is successful.
    Here is the code that I currently used.
    DATA:     lr_event_ex     TYPE REF TO if_htmlb_data,
               fileupload      TYPE REF TO cl_htmlb_fileupload,
               lr_upload_model TYPE REF TO /ccm/cl_bsp_upload_model,
               lr_error        TYPE REF TO /ccm/cx_file_upload.
    lr_event_ex =  cl_htmlb_manager=>get_event_ex( runtime->server->request ).
    IF lr_event_ex->event_name = 'fileUpload' AND lr_event_ex->event_type = 'upload'.
      fileupload ?= lr_event_ex.
      FREE lr_event_ex.
    * get the model
      lr_upload_model ?= me->get_model( model_id = 'mupl' ).
      IF NOT fileupload->file_name IS INITIAL.
    *   upload data
        TRY.
            CALL METHOD lr_upload_model->upload_data
              EXPORTING
                iv_file_name = fileupload->file_name
              CHANGING
                cv_xcontent  = fileupload->file_content.
          CATCH /ccm/cx_file_upload INTO lr_error.
        ENDTRY.
        FREE fileupload.
      ENDIF.
    ENDIF.
    Thank you in advance for helping me.
    Best regards,
    Vanessa

    Hi There,
    Please check the details for the same.
    Link: http://helpx.adobe.com/creative-cloud/help/sync-files.html#Sync or upload files
    Troubleshoot sync:     
    Error: "Unable to sync files"
    Creative Cloud File Sync | Known issues
    Thanks,
    Atul Saini

  • Unable to upload files from local computer to remote server (Was: Dreamweaver)

    I have lost the connection between the remote location and the local location for files on my computer. Where to I correct this issues, since I cannot upload files from local to remote. Host server from server to my computer works fine, Running Dell computerr XP operating system with CS3 Dreamweaver. Need all the help I can get.

    I am now having a "ftp error - cannot make connection to host. Dreamweaver
    encoutered a netwoerk or file system error. I did as you suggested and I
    get to basic site definition, ( which looks o.k.), next screen ( no,I do
    not want to use a server technology) Next screen ( edit local copies on my
    machine ( file location looks o.k.), next screen (connect to remote
    server=ftp) address of web server is correct, ( no folder on server, or ftp
    login or ftp password) do not enable check in or check out
    summary: local
    Site name:midhba
    local root folder:midhba
    remote info:
    access; ftp
    FTP host: midhba.com
    check in.check out diabled
    testing server (set up later)

  • Uploading files from the iPad to the web

    I'm interested in uploading files from my iPad to the web. Specifically, I run a wiki to manage many documents and often upload them from my computer. This means having to email documents from my iPad to my computer. I have a dropbox account already, but it won't serve as a place to pull files from. Is there an app or a browser that can create a way to upload files directly?

    synching doesn't seem to  make a difference it doesn't copy whats on the ipad over.
    The problem is when  i go in to itunes and click on ipad then on books theres a ton of pdfs that are there that are on the ipad but i cant find when i go to ibook, i don't want to delete them off with out knowing what they are and the fact is  i dont seem t0 have a copy on my computer anymore

  • How to upload file from a client machine to server machine

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

    hei evryone!
    can anyone pls help me on how i can upload file from a client machine to another machine (or server). using jsp.Then later on, i can also retrieve the names of these files to place it as values for option tag in an html form.I have a seperate screen for uploading the file and the screen for displaying all the files that were uploaded on the server...
    any sample code/ ideas would be much appreciated.Thx!!!!

  • How to upload file from client to server in servlets.

    actually in my application i have to upload file from client m/c to server.
    it is not possible through file i/p stream as fileStreams does not work on network. Please mail me if you have any solution to this.
    Thank's in advance............

    Haii roshan
    Pls go through this thread..
    http://forum.java.sun.com/thread.jspa?forumID=45&threadID=616589
    regards
    Shanu

  • How to upload file from Application Server?

    Dear Friends,
    How to upload file from Application Server?
    Plz. with example...
    Regards,
    Dharmesh

    hi,
    check the code for upload from application server.
    tables: kna1.
    types: begin of s_file,
             customer type kna1-kunnr,
             country  type kna1-land1,
             name     type kna1-name1,
             region   type kna1-regio,
           end of s_file.
    *--Internal tables
    data: it_file type s_file occurs 0 with header line.
    *-- Selection screen
    selection-screen: begin of block b1 with frame title text-001.
    parameter: p_file type rlgrap-filename default 'C:/customer.txt'
    obligatory.
    selection-screen: end of block b1.
    *-- At selection screen
    at selection-screen on value-request for p_file.
    perform file_help using p_file.
    *-- Process File
    start-of-selection.
      perform upload_file using p_file.
    *-- write File data to o/p
    end-of-selection.
      perform write_data.
    *&      Form  file_help
    form file_help  using    p_p_file.
      data: l_filepath type ibipparms-path.
      call function 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME        = SYST-CPROG
      DYNPRO_NUMBER       = SYST-DYNNR
      FIELD_NAME          = ' '
       importing
         file_name           = l_filepath
      p_p_file = l_filepath.
    endform.                    " file_help
    *&      Form  upload_file
    form upload_file  using    p_p_file.
      call function 'WS_UPLOAD'
       exporting
         filename                      = p_p_file
         filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = it_file
       exceptions
         conversion_error              = 1
         file_open_error               = 2
         file_read_error               = 3
         invalid_type                  = 4
         no_batch                      = 5
         unknown_error                 = 6
         invalid_table_width           = 7
         gui_refuse_filetransfer       = 8
         customer_error                = 9
         no_authority                  = 10
         others                        = 11
      if sy-subrc <> 0.
        message i001.
      endif.
    endform.                    " upload_file
    *&      Form  write_data
    form write_data .
      loop at it_file.
        write:/ it_file-customer, it_file-country, it_file-name,
                it_file-region.
      endloop.
      endform.
    regards,
    keerthi.

  • Uploading a text file from webi filter area as part of the query condition

    Post Author: balasura
    CA Forum: Publishing
    Requirement : Uploading a text file from webi filter area as part of the query condition Hi, I am in a serious requirement which I am not sure available in BO XI. Can some one help me plz. I am using BO XI R2, webi I am generating a ad-hoc report, when I want to give a filter condition for a report, the condition should be uploaded from a .txt file. In the current scenario we have LOV, but LOV could hold only a small number of value, my requirement is just like a lov but the list of values will be available in a text file ( which could number to 2000 or 2500 rows). I would like to upload this 2500 values in the form of a flat text file to make a query and genrate report. Is it possible in BO XI? For Eg:- Select * from Shipment Where u201CShipment id = u2018SC4539u2019 or Shipment id = u2018SC4598u2019u201D The u201Cwhereu201D condition (filter) which has shipment id will be available in a text file and it needs to be loaded in the form of .txt file so that it will be part of the filter condition. Content of a .txt file could be this shipment.txt =============== SC4539 sc2034 SC2343 SC3892 . . . . etc upto 2500 shipment Ids I will be very glad if some could provide me a solution. Thanks in advance. - Bala

    Hi Ron,
       This User does not have the access to Tcode ST01.
       The user executed Tcode SU53 immediately following the authorization failure to see the authorization objects. The 'Authorization obj' is blank and under the Description it has 'The last Authorization check was successful' with green tick mark.
      Any further suggestions, PLEASE.
    Thanks.

  • How to upload and download any file from plsql through weblogic server

    hi all,
    how to upload and download any file from plsql through weblogic server? i am using oracle 10g express edition and jboss.
    Thanks and Regards,
    MSORA

    hi bala ,
    for a windown server u can use VNC (virtual network connection) which opens a session on u r desktop later u can drag and drop form there vice versa and for a linux box you can use Win SCP which helps to open a session with interface to u r desktop in both cases you can upload and down load files very easiy just as we drag and drop items in a simple pc .. we use the same technique...
    bye
    vamshi

  • Firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

  • Upload pdf file from frontend to unix server

    Hi all,
    I want to upload a file from frontend to unix server.
    The following coding transfers the file to the unix server. But the file is corrupted.
    Any ideas whats wrong?
    TYPES: BEGIN OF t_data_tab,
             line TYPE x LENGTH 256,
           END OF t_data_tab.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        CHANGING
          file_table = lt_filetable
          rc         = lv_rc.
      READ TABLE lt_filetable INTO p_file INDEX 1.
      lv_filename = p_file.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename = lv_filename
          filetype = 'BIN'
        CHANGING
          data_tab = lt_data_tab
        EXCEPTIONS
          OTHERS   = 4.
      OPEN DATASET p_unix FOR OUTPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        EXIT.
      ELSE.
        LOOP AT lt_data_tab INTO ls_data_tab.
          TRANSFER ls_data_tab TO p_unix.
          IF sy-subrc NE 0.
            CONTINUE.
          ENDIF.
        ENDLOOP.
        CLOSE DATASET p_unix.
      ENDIF.
    regards

    Found solution by myself.
    Upload
    REPORT  z_upload_to_unix.
    TYPES: ESP1_BOOLEAN LIKE BAPISTDTYP-BOOLEAN.
    DATA: i_ftfront TYPE string,
          i_ftappl LIKE  rcgfiletr-ftappl,
          i_flg_overwrite TYPE  esp1_boolean,
          l_flg_open_error TYPE  esp1_boolean,
          l_os_message TYPE  c.
    i_ftfront = '<frontendpath>\test.pdf'.
    i_ftappl = '<unixpath>/test.pdf'.
    CALL FUNCTION 'C13Z_FILE_UPLOAD_BINARY'
      EXPORTING
        i_file_front_end   = i_ftfront
        i_file_appl        = i_ftappl
        i_file_overwrite   = i_flg_overwrite
      IMPORTING
        e_flg_open_error   = l_flg_open_error
        e_os_message       = l_os_message
      EXCEPTIONS
        fe_file_not_exists = 1
        fe_file_read_error = 2
        ap_no_authority    = 3
        ap_file_open_error = 4
        ap_file_exists     = 5
        OTHERS             = 6.
    DOWNLOAD:
    REPORT  z_download_from_unix.
    TYPES: ESP1_BOOLEAN LIKE BAPISTDTYP-BOOLEAN.
    DATA: front TYPE string,
          i_file_appl LIKE rcgfiletr-ftappl,
          i_file_overwrite TYPE  esp1_boolean,
          e_flg_open_error TYPE  esp1_boolean,
          e_os_message TYPE  c.
    i_file_appl = '<unixpath>/test.pdf'.
    front = '<frontendpath>\test.pdf'.
    CALL FUNCTION 'C13Z_FILE_DOWNLOAD_BINARY'
      EXPORTING
        i_file_front_end    = front
        i_file_appl         = i_file_appl
        i_file_overwrite    = i_file_overwrite
      IMPORTING
        e_flg_open_error    = e_flg_open_error
        e_os_message        = e_os_message
      EXCEPTIONS
        fe_file_open_error  = 1
        fe_file_exists      = 2
        fe_file_write_error = 3
        ap_no_authority     = 4
        ap_file_open_error  = 5
        ap_file_empty       = 6
        OTHERS              = 7.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Down-/Upload files via Web Services using a NON-SAP system!?

    Hello,
    is it possible to down-/upload files via web services using a NON-SAP system!?
    Regards,
    Jens

    Hi Jens,
    I am not sure about your requirement here. What i could understand is that you want to check whether service could handle file processing?
    1) Uploading file - You can build a Webservice which has import/export parameters as the file structures and implement the proxy class in such a way that the passed data is written to application server.
    2) Downloading file - Same as uploading file, but the proxy class would have the code to extract data from the application server and pass them as output parameter.
    Functionality of Non SAP system: The system which calls these services should be able to convert the output of proxy data into file in case of downloading the file and it should be able to convert the file data into export parameters in case of uploading file.
    Hope this helps.
    Regards,
    Prasanna

  • Uploading Files From VC (invoking RFC) into ECC

    Hi Experts,
    I have a requirement which consist of uploading files (from any PC) XML or PDF extension into ECC. I need to do this with a web UI. I got no experience with CE 7.1 (and above) and I just wonder if it is possible from CE 7.1 VC or CE 7.2 VC uploading files into ECC with an RFC development. Is there any uploading component available in VC 7.X which I am not aware of ???
    Regards
    David Cortes
    Edited by: David Cortes on Dec 12, 2011 8:27 PM

    Hi Nivas,
    Thank you for your response. What I really want to know is ..... if CE 7.1 VC or above has a component for uploading files. My scenario is  as follow.
    SAP NetWeaver  EP 7 (1 server)
    ECC SAP invoice manage (1 server)
    *Open Text - Invoice Content (1 server)
    My requirement is to built a Web User Interface Portal for uploading files (from any computer) and save it into ECC and OpenText Server. I would like to do this with VC but there is no any component for uploading files (not available in NetWeaver 7).
    I do not know if it is a component for uploading files available in CE 7.1 VC or higher and I really would like to know and request for this installation.
    Regards
    David Cortes

Maybe you are looking for

  • What does "... has encountered a problem..." mean?

    Hi, I am testing my LV code and it runs fine without any errors when I start them manually -  I just open up a main VI and run it, then it calls up and then close up sub panels (VIs) as expected based on user interaction. It seems no problem at all.

  • Best way to use my Verizon iPhone 5 while studying abroad in London

    I was told that I can put the phone in airplane mode, turn wi-fi on (wherever I have it) and there won't be any extra charge on all apps/texting/calling. I was also told that in addition to doing this, I can buy a SIM card in London for calling/texti

  • My iMac won't wake up after sleep or screen saver.

    For the last couple of days my late 2011 iMac (21 inch) has had this issue. If I press the power button, a dark screen will appear with the white cursor (*** apple?) and after a few seconds go back to sleep mode. The fans are running and the only way

  • IOS8 / iPhone 6 Landscape Text Problem

    Anyone experience a problem texting in landscape mode?  Mine works fine but my wife's hangs on the first line of test.  It won't wrap.  Tried rebooting the phone, but problem persists.  On her's anyway.

  • How do I get started with my new Mac and and Iphone?

    I had my Iphone synced with a PC that literally burned up unexpectedly. I replaced it with a Mac and want to sync my phone, however, when I click to manage content manually, a message pops up telling me that my phone will be erased (!!). Because I ha