File Upload in BSP Applications and store in Application server

Hi we have requirement to store the attachments from BSP application into the external/internal storage space connected to application server.
I search for weblogs and all talking about <a href="http://help.sap.com/saphelp_me21sp2/helpdata/en/eb/8c683c8de8a969e10000000a114084/content.htm">File Upload in BSP Applications and store in MIME Repository</a>.
But our requirement is upload and store(no need to read the file content) attachments from BSP page into file server, and then make a link back in BSP page to open.
I know we can handle documnets in R/3 using DMS, but our system is SRM.
Please give a suggestion and solution.
Thanks,
Giri

Hi,
I faced a similar problem some time ago (uploading a file via BSP, storing it to the application server and then linking the archived document to a business object.
Here is the coding I used:
when 'SubmitUploadFile'. "OnInputProcessing
    DATA: data_fileupload TYPE REF TO CL_HTMLB_FILEUPLOAD,
          l_filename type string,
          l_archiv_doc_id type SAPB-SAPADOKID,
          l_content type string,
          l_file_ixos(100) type c value '/transfer/PV2/aus/IXOS/',
          l_file(200) type c,
          tbl_bin TYPE STANDARD TABLE OF tbl1024,
          wa_bin type TBL1024,
          l_xstring type xstring,
          l_arc_doc_id type SAPB-SAPADOKID,
          l_doctype type TOADD-DOC_TYPE,
          l_filename_e type DRAW-FILEP.
upload the file from the BSP web interface (e.g. file C:TempSUTestPDF_SU.pdf)
    data_fileupload ?= CL_HTMLB_MANAGER=>GET_DATA(
                                       request = runtime->server->request 
                                       name    = 'fileUpload'
                                       id      = ‘InputFieldFileUpload’
    IF NOT data_fileupload IS INITIAL.
      l_filename         = data_fileupload->file_name.
      l_content      = data_fileupload->file_content.
      l_content_type = data_fileupload->file_content_type.
    ENDIF.
The uploaded file is returned as XSTRING, so we have to convert it to BINARY
(or STRING alternatively)!
    l_xstring = l_content.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        BUFFER          = l_xstring
        APPEND_TO_TABLE = 'X'
      TABLES
        BINARY_TAB      = tbl_bin.
split path for storing the file to the application server
    l_filename_c = l_filename.
    CALL FUNCTION 'CV120_SPLIT_PATH'
      EXPORTING
        PF_PATH  = l_filename_c
      IMPORTING
        PFX_FILE = l_filename_e.
write the uploaded file to the application server
    l_filename = l_filename_e.
    concatenate l_file_ixos l_filename into l_file.
    open dataset l_file for output IN LEGACY BINARY MODE.
    loop at tbl_bin into wa_bin.
      transfer wa_bin-line to l_file.
    endloop.
    close dataset l_file.
store the uploaded file on the IXOS-archive
    l_doctype = l_content_type.
    CALL FUNCTION 'ARCHIVOBJECT_CREATE_FILE'
      EXPORTING
        ARCHIV_ID                = '2T'
        DOCUMENT_TYPE            = l_doctype
        PATH                     = l_file_arc
      IMPORTING
        ARCHIV_DOC_ID            = l_arc_doc_id
      EXCEPTIONS
        ERROR_ARCHIV             = 1
        ERROR_COMMUNICATIONTABLE = 2
        ERROR_UPLOAD             = 3
        ERROR_KERNEL             = 4
        OTHERS                   = 5.
link the archived document to the business object ‘DRAW’
    CALL FUNCTION 'ARCHIV_CONNECTION_INSERT'
      EXPORTING
        ARCHIV_ID                   = '2T'
        ARC_DOC_ID                  = l_arc_doc_id
        AR_OBJECT                   = 'DRW'
        OBJECT_ID                   = g_object_id_arc
        SAP_OBJECT                  = 'DRAW'
       DOC_TYPE                    = l_extend
     EXCEPTIONS
       ERROR_CONNECTIONTABLE       = 1
       OTHERS                      = 2.
Remark: It´s vital to convert the uploaded file from XSTRING to BINARY. Otherwise the file cannot be stored/archived properly.
The archived document can then be displayed by inserting the (IXOS-web client-)link to the BSP page (e.g. http://193.228.208.78:4060/archive.dll/get?arc=2T&doc=44439F1B4F701E65E1000000C1E4D00A).
Hope this helps!
Regards,
Ulli

Similar Messages

  • I installed the system update to 10.7.3. After re-booting, my mail file was missing from the dock.  Looked in applications and the mail application is missing. Any thoughts?

    I installed the system update to 10.7.3. After re-booting, my mail file was missing from the dock.  Looked in applications and the mail application is missing. Any thoughts?

    Thanks Paul; but, taking your suggestion didn't solve the problem.  As mail is part of the OS, the updates don't have the capacity to reinstall applications; so, I had to reinstall the OS.  I now have my mail back (although it didn't appear on the dock--I had to go to applications and activate it and then put it back in the dock.  Thanks again for trying.

  • Is it possible to record audio/ vedio from applet and store it on server

    Pls tell me if it is possible to record audio/ vedio from applet and store it on server. I am using JMF. i am able to store audio on the same machine by making a java application but i am not able to understand how to use RTP with it to store it on server from an applet. pls help me i am in urgent need.

    If u want to capture audio/video from the client machine these are the pre-requisites
    1. u need to have JMF installed on the client :(
    one way out of this is that u bundle the library files along ur applet to the client. I am still to figure out how
    to fo that.
    2. while installation uncheck the option 'copy DLLs to system folder....' and check the option 'Allow capture
    from applets.
    3. The Applets u create must be signed, for accessing the client resources such as hard drive.
    You can then capture n save file on the client, open an inout stream out of it, open an outputstream to the server as already described above and start uploading......

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.Not working in USA timezone.

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.

    This is the code which we have used.
    //////////Return if it is first time for the day or not//////////////
    + (BOOL)isFirstTimeToday {
    BOOL result = YES;
    NSDate *now = [[NSDate alloc] init];     /// represents the current time
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
    NSDate *today = [gregorian dateFromComponents:components];
    [now release];
    [gregorian release];
    NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
    if (savedDate) {
    if ([today earlierDate:savedDate] == today) {
    result = NO;
    return result;
    ////////Stores the date/////////////
    + (void)userDidVisitReenforceScreenToday {
    [[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
    ////////////What [NSDate todayAtMidnight] stores/////////////////////
    + (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
    NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
    NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
    [gregorian release];
    NSLog(@"dateAtMidnight : %@",dateAtMidnight);
    return dateAtMidnight;
    + (NSDate *)todayAtMidnight {
    return [self daysFromNowAtMidnight:0];
    Please Suggest..

  • Create PDF based on spool ID and store on content server

    Hi all,
    I need to create a PDF file from a spool ID and store this in a repository on the content server (archive). How can I do this <b>without creating a physical file on the local workstation</b>?
    All helpful answers will be rewarded!
    - Mari Virik

    Hi Mari,
    This is a sample report pgm which create pdf file from spool id :
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    Alternative way could be to submit another program and store spool
    id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        PERFORM process_email.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    <b>and then use archiving object to store the photo i have explained you as an example</b>
    You have to create a content repository "A2" or another . You have to follow then next steps :
    Create a content repository with storage type FILE archive.
    Tcode     OAC0
    IMG:      Basis Components  Basis Services  SAP Archive Link  Basic Settings  Maintain content repositories
    (Embedded image moved to file: pic00041.pcx)
    Swap from display to amend. Select a current entry and 'copy' or just hit 'create'. Then select .
    (Embedded image moved to file: pic18467.pcx)
    Then fill in the details as below:
    Choose a two char name
    Set DocArea to be 'Archive Link'
    Storage type FILE archive (see Note below on how to get this!)
    Choose Version no. 0031
    Enter the path name where the photos are to be loaded from. Note this is for loading only. When the photos are linked into the sap system (see later), actually, SAP takes a 'copy' and stores it elsewhere. The path may only need to be entered to 'Arch.path', but entering to all three doesn't seem to hurt.
    Note on storage type:
    Storage type 'FILE archive' may not be in the dropdown list, and F4 (poss entries) may not work! If this is the case, click on the field Storage type (left mouse button) and then click the right mouse button. Choose Possible entries and a full list of all
    possible storage types is shown. FILE archive is entry number 08 and then
    Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL.
    Tcode     OAC3
    Table     TOAOM_C
    IMG:      Basis Components  Basis Services  SAP Archive Link  Basic Settings  Maintain Links
    (Embedded image moved to file: pic06334.pcx)
    Set the 'Content R' field to the one you've just set in the step above.
    Note the Ret.per. field is the retention period for the photo in MONTHS. (so the default is 833 years and 3 months!)
    Now you can link the photo to the employee.
    <b>Pls reward pts if found usefull :)</b>
    Regards
    Sathish

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works with iPod not with iPhone

    Try posting in the developer forums to see if you can get some assistance,you'll have to be a registered developer for access though.
    developer.apple.com

  • Difference between Professional application and self-service application

    hi frntz,
    May I know the difference between professional application and self-service application in oracle E-biz. Why we cant able to use both at same time ?

    Hi;
    Please check below which could be helpful for your issue:
    http://download.oracle.com/tech/blaf/specs/blafusers.html
    Regard
    Helios

  • Is it possible to upload a xls file into an application and store in table.

    Hello,
    I just want to know whether its possible to upload a xls file into application in Oracle 10g .
    i.e. have a separate xls file stored in computer then in the application just have a browse button to upload that xls file and that data should be inserted into a new table.
    Thanks

    Good morning,
    You can upload the .XLS file into a BLOB field in a table and then download that back to the local PC. Look in the APEX Advanced Tutorial for "Create an Upload Item", Page 9-3 (PDF Page: 109). There it will explain how to upload to a BLOB and then how to download that again.
    Don.
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :)

  • Reliable file upload using JDev, AS and other

    Hello,
    I'm not sure this is the right place to post this message, sorry if I was wrong to put it here.
    The question is our company is developing software, for active data exchange with other systems. We decided to exchange in xml format, by means of both web services and web interface (so that exchange could happen both automatically and on user request). We use JDev to develop, Oracle AS to deploy application. Systems we exchange can use various platforms, in fact, it doesn't matter what exactly they use. The question is we need a reliable way to exchange large (sometimes small, but can be 1Gb or, for example, 10Gb) files, maybe with appropriate security, so that it could continue if something happens with network connection.
    One simple decision is to have a web service that accepts, for example, 100K at a time, and another service continuously calls it until file is transfered. So it can check response code. But are there better decisions? I think, there are libraries or smth like this?
    Thanks in advance, believe, it's a right place to get help.
    Valeriy

    Another, simpler (we think), such package is Jenkov HTTP Multipart File Upload. It's a servlet filter which can work in front of both servlets and JSP's. The servlet filter parses the uploaded file and stores it temporarily on the servers disk. When the servlet or JSP executes afterwards, it can obtain all the information about the file, from the request attributes. There is a decent manual for HTTP Multipart File Upload on the website.
    Just search for "Jenkov HTTP Multipart" on Google and you'll find it. HTTP Multipart is free, open source, Apache Licsense.

  • How access my files/ folder from Quick Office and from other applications

    Hi
    I was a HTC user, and recently i decided to purchase the iphone 3Gs from Rogers and I end up with a frustration and helpless. First thing that I notice that there is no built-in application for editing the Excel & Word documents. Then I purchased quick office and realize that there is no way to copy over the documents to iphone. Way the quick office wants to upload the file is not workable because it offer to upload one by one.
    Then I purchased another application WIFI FPT and i was very happy that now I can upload my folders very quickly and then I end up again with great frustration that quick office can’t see that folders that I upload with FTP.
    I am very disappointed and frustrated, if apple want to make it really workable for business then they have to create a users area/space where users can copy their stuff quickly and all application can navigate in that area. So in this way we can access all of our data from any application.
    I hope that some one will take it seriously and help me/us to work with this phone. I never spent a penny for HTC to work with my documents and after I purchased this dam thing I spend almost $40 for all different kind of application and I am still unable to use it for my daily work.

    Research before the purchase would have helped. This has never been a feature of iphone. You have always needed an App in order to accomplish this.
    You can leave feedback for Apple at:
    http://www.apple.com/feedback/iphone.html

  • Combine supported files is not automatically opening and closing source applications?

    On my Vista 64 machine, suddenly, the "Combine supported files in Acrobat" has begun malfunctioning. Instead of automatically opening and closing the source application (such as MS Word), Acrobat opens the application and then asks to save a new PDF file for each source file and stalls out the conversion. This problem is not happening on my Win XP machine. I have used the 'Repair Acrobat Installation' function but the problem is not corrected.
    Thanks for any suggestions.

    Just to close out this thread, the bug was fixed with the latest version of Acrobat Pro Extended (9.3.3).

  • How do I upload fotos from iPhone and store on computer?

    I need to know how to upload fotos from my fone and store on my computer

    Use PhotoStream
    Or
    Sync using iTunes
    Or
    Sync using a USB cable connection
    LN

  • DMS File Upload of Any Extension and DMS File View

    Hi,
    I want to upload files in DMS and I have written FM for that. It's working fine with txt files but if I upload image file or pdf
    files then at the time of view only text files shows.
    In case of PDF File is corrupt message comes and In case of Image Popup is coming and automatically close.
    In case of image when I upload jpg image, at the time of view extension is coming in form of LML.
    Please solve this...
    It's urgent.
    Thanks and Regards,
    Amit

    Hi Arivazhagan Sivasamy  ,
    I have used this but problem is still same.
    thanks..

  • Download from ArchiveLink and store in AIX server

    Hi,
    Is there a way to download file from SAP ArchiveLink and store it in AIX server.
    In my case, i would like to download photo for HR module which displayed in PA20/PA30.
    Currently i use function module 'ARCHIVOBJECT_GET_CLIENT' with the following parameters
    CALL FUNCTION 'ARCHIVOBJECT_GET_CLIENT'
      EXPORTING
        archiv_doc_id = connections-arc_doc-id  "value of doc ID, I know how to get this
        archiv_id        = connections-archiv_id     "archiving ID, I also know how to get this
        path              = '/usr/sap/FSQ/pic/0012345.jpg'          "I want to store in this AIX folder
        doc_type       = 'JPG'
    If I test path = 'C:/photo/0012345.jpg' everything works perferctly, but if I change to '/usr/sap/FSQ/pic/0012345.jpg'  and I check on AIX folder, there is nothing there.
    I have given full permission for sapusr ID and ReadWrite permission for this folder.
    Is there any other FM for my requirement or any advice?
    Thanks.
    Best regards,
    Bernard

    hi
    use SCMS_HTTP_GET_FILE
    Regards
    sameer.

  • How to deploy Visual composer applications and set up the server

    Hi ,
    I have SAP Netweaver developer studio client installed on my Laptop and I can use it to create VC applications but I cannot visualise the applications since I don't have server.
    Is there a server that  I can install and configure? and what else do I need before I can successfully deploy visual composer applications.
    thanks

    Hi Bhat,
    Please ping server whether it is reachable or not.
    Please enter IP and host name in the host file (Start>>Drivers>>etc>>host file)
    Then enter host and instance number in NWDS. then open server view through open perspective, it will show you whether server is up or not.
    Hope this will helps you.
    Regards
    Arun

Maybe you are looking for

  • IMac 27" 2011 - shuts down and wont start again

    Hi everybody I got my new iMac 27" intel i7 16 GB kingston ram for about a moth ago and worked perfectly until now. Suddently it shuts down and when I tried to turn it on again, there was no response. I then waited about 30 minutes and tried again an

  • Print only cursor-selected area of a PDF in Acrobat Pro, just as it is psbl to do in a browser

    Hi I want to print only cursor-selected area of a PDF in Acrobat Pro. That could be both text and images, which are in my selection. Just as it is psbl to do in a browser. Is it possible in Acrobat PRO? I am using the latest Acrobat Pro 11.0.9

  • Probelm facing in Zprogram select statements developed for PBS conversion

    Hi, Am using PBS conversion tool to convert the Report programs for Archive. In that program am having select statement for KONV table which takes KWERT and KSCHL based on KNUMV. In this case PBS conversion tool is not able to do the conversion and t

  • Reg FI Extractors

    Hi,   FI_GL_4 -- To extract GL Line items   FI_AP_4 -- To extract AP Line items   FI_AR_4 -- To extract AR Line items   FI_GL_10 -- To extract GL Transaction figures My Questions: 1. What are Line Items and Transaction Fogures 2. Do we have FI_AP_10 

  • How to set Dynamic variant  for a program

    Hello experts, I want to set variants dynamically on a selection screen. Please help me. Thanks, Ashwani.