Uploading local (bitnami) wordpress to live server

I've set up my first wordpress site using bitnami as my local host.  I'm now ready to upload to the server (hostmasters.com) and I'm having all sorts of issues.  I've tried four times and get a mess, some content, no images etc.
I removed it and starting over one more time.  I now added wordpress application to the server and ready to add my content, css, images, uploads, etc.  I've tried several different ways and wasn't successful and now I don't know what to try.  Can anyone direct me to some assistance.  Thank you!

In article <e5eccm$bmk$[email protected]>,
Deon <[email protected]> wrote:
> Hi there,
>
> DW 8.0.2
>
> Develop Local sites on C:\sites\all-my-sites
> Test on C:\Inetpub\wwwroot\all-my-sites
>
> Ever since I have been using DW (4 years now), I have
tried to remember
> what files I changed and updated them to the live server
with FTP.
> Sometimes it gets to much to remember and I then upload
a whole folder.
>
> Is there any other way to do this? which can save me a
lot of time.
>
> Regards,
> Deon
Why not use the synchronize function? That way you never need
to
remember what was just update and where it lives. DW will
check over the
site and show a list of all files it thinks should be
updated. If you
don't want one changed, option to not update is there.

Similar Messages

  • Uploading updated file to live server

    Hi there,
    DW 8.0.2
    Develop Local sites on C:\sites\all-my-sites
    Test on C:\Inetpub\wwwroot\all-my-sites
    Ever since I have been using DW (4 years now), I have tried
    to remember
    what files I changed and updated them to the live server with
    FTP.
    Sometimes it gets to much to remember and I then upload a
    whole folder.
    Is there any other way to do this? which can save me a lot of
    time.
    Regards,
    Deon

    In article <e5eccm$bmk$[email protected]>,
    Deon <[email protected]> wrote:
    > Hi there,
    >
    > DW 8.0.2
    >
    > Develop Local sites on C:\sites\all-my-sites
    > Test on C:\Inetpub\wwwroot\all-my-sites
    >
    > Ever since I have been using DW (4 years now), I have
    tried to remember
    > what files I changed and updated them to the live server
    with FTP.
    > Sometimes it gets to much to remember and I then upload
    a whole folder.
    >
    > Is there any other way to do this? which can save me a
    lot of time.
    >
    > Regards,
    > Deon
    Why not use the synchronize function? That way you never need
    to
    remember what was just update and where it lives. DW will
    check over the
    site and show a list of all files it thinks should be
    updated. If you
    don't want one changed, option to not update is there.

  • Using Dreamweaver CS6 with Bitnami WordPress

    I am trying to get Dreamweaver setup to do dynamic editing of my WordPress files installed on my desktop with Bitnami.
    My Bitnami WordPress Stack is installed to the following link: C:\WordPress\BitNami WordPress Stack\ and the path to the index.php is: C:\WordPress\BitNami WordPress Stack\apps\wordpress\htdocs
    To setup Dreamweaver local site, I'm using the following settings: Server Name: Bitnami Connect Using: Local/Network Server Folder: C:\WordPress\BitNami WordPress Stack\apps\wordpress\htdocs\ Web URL: http://127.0.0.1h 8080/ (I've also tried it omitting the '8080/') (I've also tried the Web URL http://127.0.0.1/wordpress/) and, under the 'Advanced' tab, I'm using the Server Model: PHP MySQL for my url http://www.clicksearchmedia.com.au.
    My problem is that when I open the index.php file in Dreamweaver's main window (split view) I do see the code on the left side of the page, but on the right side of the page (the 'design' side) all I get is a blank (white) box. When I try to open another page - for example wp-blog-header.php - the same thing happens (code on left, blank box on right).
    When I try to open single.php, I get code on the left and the box on right has small symbols stating 'PHP' but no real design is visible and I get an error message on top of the screen that states 'Dynamically-related files could not be resolved because of an internal server error. Retry.'
    I have my permalinks in WordPress set to default, as I have read that failure to do so has caused problems in Dreamweaver in other people's installations.
    Can anyone help me out? Why am I not getting a dynamic preview?

    The only files you should be looking at are the ones in your Themes folder.  Everything else is just code fragements. Unless you're very experienced with PHP and more specifically WP programming, you shouldn't touch any of the Core WP files.  
    I've never used Bitnami.  I typically use WAMP for my local site folder & local testing server.
    My set up is as follows see screenshots below:
    Basic tab:
    Advanced tab:
    Final screen:
    Nancy O.

  • Dreamweaver CS6 edits to old Front Page site display in preview browser but NOT on live server site.

    Howdy Folks,
    My Dreamweaver CS6 edits to old Front Page site changes display in preview browser OK …But will NOT display on live server site.
    To anyone who can step up to the microphone and speak “solution” I will be much grateful?
    Bob MacDonald / VIPpromotions

    Are you sure you are uploading the pages to the correct location?
    Could you post a screen capture of your expanded files window, showing the remote server and local file structures?
    I'm guessing they're not identical and that you may be uploading to a redundant root folder.

  • How to delete a local file in the presentation server.

    Hi All,
    How to delete a local file in the presentation server. As we do using 'delete dataset dsn' in application server. How can i achieve this. My requirement is after uploading file using gui_upload, i want to delete that source file. Please let me know, how can i achieve this.
    Thanks in advance.
    Regards,
    Vishal

    data: l_rc type i.
      data: f_name type string.
        move 'c:\YourFile.txt' to f_name.
        CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_DELETE
          EXPORTING
            FILENAME             = f_name
          CHANGING
            RC                   = l_rc
         EXCEPTIONS
           FILE_DELETE_FAILED   = 1
           CNTL_ERROR           = 2
           ERROR_NO_GUI         = 3
           FILE_NOT_FOUND       = 4
           ACCESS_DENIED        = 5
           UNKNOWN_ERROR        = 6
           NOT_SUPPORTED_BY_GUI = 7
           WRONG_PARAMETER      = 8
           others               = 9
        IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

  • SIFR3 - Will font replacement function on local machine or only on server

    First attempts are not replacing fonts when viewed on my local machine.
    If I upload all the files to a server, might it work?
    Thanks for looking.

    I don't but this link should help.
    http://www.sifrgenerator.com/
    This is their demo page
    http://www.sifrgenerator.com/example/example.html
    In checking their demo, it's not working for me in FF (latest update, from yesterday). But it works fine in IE.  Guess I need to upgrade my FF plug-ins.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Error testing locally; works fine on remote server

    I was about to post that I'd hit an error when trying to
    create a
    conditional region in DW 8 with ASP, CF & PHP: Training
    from the Source.
    Rather than paste the non-PHP code, I uploaded the page to my
    remote server.
    When I browsed to the link, the error wasn't there.
    I inserted the code for the conditional region just before
    the opening
    <form> tag, as the book instructed (Lesson 6).
    <?
    if ($_GET['error'] == "notnumeric")
    echo "<p>*** Error! One or more fields was left blank
    or contained a
    non-numeric character.</p>";
    ?>
    When I preview locally, the page appears correctly, but with
    the following
    message before the form:
    Notice: Undefined index: error in C:\Program Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice.php
    on
    line 27
    Line 27 is where the "if" statement starts.
    On my remote server, everything works as it should:
    http://www.feathertheweb.com/newland/Lesson06/Start/newland-php/tourprice.php
    Any help is appreciated.
    Thanks,
    Heather

    So, I changed the code you had provided and that worked. Now,
    I've tested
    the form and when I click "submit," I get this:
    Notice: Undefined index: nmChildren in C:\Program
    Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php
    on line 2
    Warning: Cannot modify header information - headers already
    sent by (output
    started at C:\Program Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php:2)
    in C:\Program Files\Apache
    Group\Apache2\htdocs\newland\Lesson06\Start\newland-php\tourprice_processor.php
    on line 4
    I'm guessing it's related to the change I made in
    tourprice.php. I tried to
    figure out what needed to be changed in
    tourprice_processor.php based on
    that change, but I'm still pretty new at this and really
    wasn't sure.
    Below is the code from tourprice_processor.php:
    <?php
    if (is_numeric($_POST['numAdults']) == false or
    is_numeric($_POST['nmChildren']) == false)
    header("Location: tourprice.php?error=notnumeric");
    exit;
    ?>
    <?php
    $numAdult = $_POST['numAdults'];
    $numChild = $_POST['numChildren'];
    $basePrice = $_POST['tourName'];
    $tourPrice = ($numAdult * $basePrice) + ($numChild *
    $basePrice);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <title>Newland Tours: Tour Price
    Calculator</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <link href="css/newland.css" rel="stylesheet"
    type="text/css" /></head>
    <body>
    <a href="#top"><img src="images/spacer.gif"
    alt="Skip to main page content"
    width="1" height="1" border="0" align="left" /></a>
    <table width="750" border="0" cellpadding="3"
    cellspacing="0">
    <tr>
    <td><img src="images/banner_left.gif" width="451"
    height="68" alt="Newland
    Tours Banner, Left." /></td>
    <td width="280"><img src="images/banner_right.jpg"
    width="276" height="68"
    alt="Newland Tour Banner, Right." /></td>
    </tr>
    <tr>
    <td><img src="images/navbar.gif" name="navbar"
    width="450" height="20"
    border="0" usemap="#navbarMap" alt="Navigation Bar."
    /></td>
    <td><img name="copyright_bar"
    src="images/copyright_bar.gif" width="272"
    height="20" border="0" alt="Copyright 2006 Newland Tours."
    /></td>
    </tr>
    <tr>
    <td colspan="2">
    <h1><br />
    <a name="top" id="top"></a>Tour Price
    Calculator</h1>
    <p>The estimated cost of your tour is
    <strong><?php echo
    '$'.number_format($tourPrice, 2);
    ?></strong>.</p>
    <p>Prices include hotel, accommodation, and travel
    expenses during the
    tour. They
    do not include airfare to the starting
    destination.</p>
    <p><a href="tourprice.php">Calculate</a>
    another tour.</p>
    <p><a href="contact.php">Contact</a> one
    of our qualified agents.</p>
    </td>
    </tr>
    </table>
    <br />
    <map name="navbarMap" id="navbarMap">
    <area shape="rect" coords="1,0,62,20" href="index.php"
    alt="Home" />
    <area shape="rect" coords="71,0,117,20" href="about.php"
    alt="About" />
    <area shape="rect" coords="129,0,196,20" href="tours.php"
    alt="Find Tours"
    />
    <area shape="rect" coords="209,0,311,20"
    href="profiles.php" alt="Country
    Profiles" />
    <area shape="rect" coords="327,0,434,20"
    href="contact.php" alt="Contact An
    Agent" />
    </map>
    </body>
    </html>
    Heather
    "David Powers" <[email protected]> wrote in message
    news:[email protected]...
    > Heather wrote:
    >> I inserted the code for the conditional region just
    before the opening
    >> <form> tag, as the book instructed (Lesson 6).
    >>
    >> <?
    >> if ($_GET['error'] == "notnumeric")
    >>
    >> When I preview locally, the page appears correctly,
    but with the
    >> following message before the form:
    >>
    >> Notice: Undefined index: error in C:\Program
    Files\Apache
    >
    > It's badly written code. It should be
    >
    > if (isset($_GET['error']) && $_GET['error'] ==
    "notnumeric")
    >
    >> On my remote server, everything works as it should:
    >
    > That's because your remote server has been configured to
    suppress PHP
    > notices.
    >
    > PHP notices alert you to non-fatal mistakes in coding. A
    lot of people
    > just ignore them, but it's a sloppy habit to get into,
    because it can lay
    > your scripts open to attack. Before testing the value of
    a variable, you
    > should always use isset() to check that the variable has
    been defined in
    > the first place.
    >
    >
    http://www.php.net/manual/en/function.isset.php
    >
    > --
    > David Powers
    > Author, "Foundation PHP for Dreamweaver 8" (friends of
    ED)
    > Author, "Foundation PHP 5 for Flash" (friends of ED)
    >
    http://foundationphp.com/

  • Upload an excel file in the server  with a background job

    I am trying to upload an excel file in the server, but i only can upload flat files, i can upload files in local with the function ALSM_EXCEL_TO_INTERNAL_TABLE, can i use this function reading an excel file in the server, or is there another possibility of uploadinging an excel file in the server  with a background job ?
    thanks in advance

    Hi
    First read the file from the server to some temporary place at presentation layer and then open it. And if required, save it to the server afterwards. To read/write files to application server you can use:
    1. Statements "OPEN DATASET/CLOSE DATASET".
    2. There are some FMs for server file operations, like "C13Z_FILE_UPLOAD_BINARY" and "C13Z_FILE_DOWNLOAD_BINARY".
    *--Serdar

  • Is it possible  upload local file to internal table in background mode?

    Hi, all,
    Is it possbile to  upload local file(not server file) to internal table in background mode.
    If possbile ,please tell me detail . Thanks in advance.
    Regards,
    Lily

    Hello,
    This is possible.
    If you report has to be executed in background using schedule Job. Then the file path should be constant and it can be hard coded in the report itself while populationg the internal table.
    Then create a variant for your report and use that variant in the job.
    This will solve your problem I guess.
    Regards
    Arindam

  • How do upload a file to the application server into a directory?

    hi to all,
    i want to upload file into the database..i need upload the file into the application server and save it to a directory..is there any way?where i can read about this?any information?
    ashwiny

    Hello,
    First, we need to determine the terms we are using, in order to avoid confusion. We (including the documentation) are using "upload" to describe storing the file on the server, and "download" to pull it from the server into local machine.
    You can use the "File Browse" item to upload any file you need from your local machine and into a database table. The default APEX configuration (in the dads.conf file) stored the uploaded file in a table called wwv_flow_file_objects$. In your application, you can access this table using a view called APEX_APPLICATION_FILES.
    After you uploaded a file, any user can access it, using the download procedure described in the reference I gave you. The download procedure gives you an option to store the download file anywhere you need, using the "Open/Save" dialog box.
    I believe this is covering everything you need. If you still having problems, please consider posting the relevant application pages on apex.oracle.com. It will be easier to understand and help you.
    Regards,
    Arie.

  • Preloader not working on live server???

    Hi Guys
    My application loads many XML files as it's content. I have
    written preloading code everywhere a file needs to be loaded, it
    looks something like this.
    var XMLPercent =
    Math.floor(ProdXML.getBytesLoaded()/ProdXML.getBytesTotal()*100)
    if(XMLPercent < 100){
    gotoAndPlay("ConLoop")
    The code works perfectly in flash while running in simulate
    download mode, I have also tested it from about 5 different pc's
    around the company and in multiple browsers and have had no problem
    whatsoever. Today I loaded it onto the live server and these
    statements are just getting totally ignored and the movie just
    continues playing! It's also happenning inall browsers. I have
    checked the code, tried to write different variations of it and
    nothing works.
    If anyone has any ideas why I would be very greatful.
    Thanks
    Shane

    Hi Shane,
    I have the same problem when loading the content. When the
    movie loads content from the local computer it works fine, but the
    content it is on the server the following test never becomes true.
    if( ( _root.imageLoader._framesloaded &gt; 0 )
    &amp;&amp; ( _root.imageLoader._framesloaded &gt;=
    _root.imageLoader._totalframes ) ) {
    Regards
    I have no idea how to solve this.

  • Upload data from excel to application server

    Hi all,
    Is there any process to upload data from excel to application server other than reading the data from excel to z program through gui_upload and transferring the data to application server.
    I want to run background job for a BDC program with the data present in the excel file.
    Thanks & regards
    sreehari p.

    Hi Sreehari,
    Please use the tcode - CG3Z, where you can transfer the file from presentation server to the application server.
    Regards,
    Selva K.

  • Download and upload ABAP database table to presentation server and R/3

    Hi experts,
    I want to download ABAP database table (Ztable) to presentation server and again want to upload this to another R/3 server but i dont want to use any transport request. is there any possible sollution for this.
    Thanks in advance

    Hi,
    Look at this code hope this will help you to solve your problem
    REPORT y_test_559.
    Program for
    1. Downloading Data of any DB table to a tab delimited ASCII file
    2. Checking if a tab delimited ASCII file has the structure of a
       DB table and showing its contents
    3. Uploading a tab delimited ASCII file to a DB table with the same
       structure
    4. Showing the data of any DB table
    ======================================================================
    ======================================================================
    DATA DECLARATIONS
    ======================================================================
    TYPES : data_object  TYPE REF TO data.
    DATA  : itab TYPE REF TO data .
    TYPE-POOLS : slis .
    DATA  : it_fieldcat TYPE STANDARD TABLE OF slis_fieldcat_alv
            WITH HEADER LINE .
    DATA : it_fieldcatalog TYPE lvc_t_fcat .
    DATA : wa_fieldcatalog TYPE lvc_s_fcat .
    DATA : i_structure_name LIKE dd02l-tabname .
    DATA : i_callback_program LIKE sy-repid .
    DATA  : dyn_line TYPE data_object .
    FIELD-SYMBOLS : <fs_itab> TYPE  STANDARD  TABLE .
    DATA : table_name_is_valid TYPE c .
    DATA : dynamic_it_instantiated TYPE c .
    CONSTANTS buttonselected TYPE c VALUE 'X' .
    ======================================================================
    SELECTION SCREEN DEFAULT
    ======================================================================
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) t_tabl.
    PARAMETERS : tabl_nam LIKE rsrd1-tbma_val
                 MATCHCODE OBJECT dd_dbtb_16 OBLIGATORY .
                                   "Search for Database Tables is dd_dbtb_16
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) t_file.
    PARAMETERS : file_nam LIKE rlgrap-filename .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) t_down.
    PARAMETERS : p_downld RADIOBUTTON GROUP grp1
                 USER-COMMAND m_ucomm .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) t_chkf.
    PARAMETERS : p_chkfil RADIOBUTTON GROUP grp1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) t_upld.
    PARAMETERS : p_upload RADIOBUTTON GROUP grp1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(29) t_show.
    PARAMETERS : p_show_t RADIOBUTTON GROUP grp1 ."show table data
    SELECTION-SCREEN END OF LINE.
    ======================================================================
    AT SELECTION SCREEN OUTPUT
    ======================================================================
    AT SELECTION-SCREEN OUTPUT .
      PERFORM check_filename .
    ======================================================================
    AT SELECTION SCREEN ON VALUE REQUEST FOR FILENAME
    ======================================================================
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR file_nam .
      PERFORM f4_for_filename .
    ======================================================================
    Initialization .
    ======================================================================
    INITIALIZATION .
      t_tabl = 'Table Name' .
      t_file = 'File Name' .
      t_down = 'Download Table' .
      t_chkf = 'Check File to Upload' .
      t_upld = 'Upload File' .
      t_show = 'Show Table Contents' .
    ======================================================================
    START OF SELECTION
    ======================================================================
    START-OF-SELECTION .
      PERFORM check_table_name_is_valid .
    ======================================================================
    END OF SELECTION
    ======================================================================
    END-OF-SELECTION .
      IF table_name_is_valid EQ ' ' .
        MESSAGE i398(00) WITH 'INVALID TABLE NAME' .
      ELSE .
        PERFORM instantiate_dynamic_internal_t  .
        CHECK  dynamic_it_instantiated = 'X' .
        CASE buttonselected .
          WHEN p_downld .
            PERFORM select_and_download .
          WHEN p_chkfil .
            PERFORM check_file_to_upload .
          WHEN p_upload .
            PERFORM upload_from_file .
          WHEN p_show_t .
            PERFORM show_contents .
        ENDCASE .
      ENDIF .
    *&      Form  CHECK_TABLE_NAME_IS_VALID
          text
    -->  p1        text
    <--  p2        text
    FORM check_table_name_is_valid.
      DATA l_count TYPE i .
      TABLES dd02l .
      CLEAR table_name_is_valid .
      SELECT COUNT(*) INTO l_count FROM tadir
      WHERE  pgmid = 'R3TR'
      AND    object = 'TABL'
      AND    obj_name = tabl_nam .
      IF l_count EQ 1 .
        CLEAR dd02l .
        SELECT SINGLE * FROM dd02l WHERE tabname  = tabl_nam .
        IF sy-subrc EQ 0.
          IF dd02l-tabclass = 'TRANSP' .
            table_name_is_valid = 'X' .
          ENDIF .
        ENDIF.
      ENDIF .
    ENDFORM.                    " CHECK_TABLE_NAME_IS_VALID
    *&      Form  SELECT_AND_DOWNLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM select_and_download.
      CLEAR : <fs_itab> .
      SELECT * FROM (tabl_nam)
      INTO CORRESPONDING FIELDS OF TABLE <fs_itab>   .
      PERFORM check_filename.
      CALL FUNCTION 'WS_DOWNLOAD'
        EXPORTING
          filename                = file_nam
          filetype                = 'DAT'
        TABLES
          data_tab                = <fs_itab>
        EXCEPTIONS
          file_open_error         = 1
          file_write_error        = 2
          invalid_filesize        = 3
          invalid_type            = 4
          no_batch                = 5
          unknown_error           = 6
          invalid_table_width     = 7
          gui_refuse_filetransfer = 8
          customer_error          = 9
          OTHERS                  = 10.
      IF sy-subrc EQ 0.
        MESSAGE i398(00) WITH 'Table' tabl_nam
                              'successfully downloaded to '
                              file_nam .
      ENDIF.
    ENDFORM.                    " SELECT_AND_DOWNLOAD
    *&      Form  UPLOAD_FROM_FILE
          text
    -->  p1        text
    <--  p2        text
    FORM upload_from_file.
      DATA : ans TYPE c .
      DATA : lines_of_itab TYPE i .
      DATA : l_subrc TYPE i .
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
        EXPORTING
          textline1 = 'Are you sure you wish to upload'
          textline2 = 'data from ASCII File to DB table '
          titel     = 'Confirmation of Data Upload'
        IMPORTING
          answer    = ans.
      IF ans = 'J' .
        PERFORM check_filename.
        CLEAR l_subrc .
        CALL FUNCTION 'WS_UPLOAD'
          EXPORTING
            filename                = file_nam
            filetype                = 'DAT'
          TABLES
            data_tab                = <fs_itab>
          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
            OTHERS                  = 10.
        l_subrc = l_subrc  + sy-subrc .
        IF sy-subrc EQ 0.
          DESCRIBE TABLE <fs_itab> LINES lines_of_itab .
          IF lines_of_itab GT 0 .
            DELETE (tabl_nam) FROM TABLE <fs_itab> .
            COMMIT WORK .
            INSERT (tabl_nam) FROM TABLE <fs_itab> .
            l_subrc = l_subrc  + sy-subrc .
          ENDIF .
        ENDIF.
        IF  l_subrc EQ 0  .
          MESSAGE i398(00) WITH lines_of_itab
                               'Record(s) inserted in table'
                                tabl_nam .
        ELSE .
          MESSAGE i398(00) WITH
                          'Errors occurred No Records inserted in table'
                           tabl_nam .
        ENDIF .
      ENDIF .
    ENDFORM.                    " UPLOAD_FROM_FILE
    *&      Form  F4_FOR_FILENAME
          text
    -->  p1        text
    <--  p2        text
    FORM f4_for_filename.
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_path         = 'C:\'
          mask             = ',.,..'
          mode             = '0'
        IMPORTING
          filename         = file_nam
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    ENDFORM.                    " F4_FOR_FILENAME
    *&      Form  CHECK_FILENAME
          text
    -->  p1        text
    <--  p2        text
    FORM check_filename.
      IF file_nam IS INITIAL
      AND NOT ( tabl_nam IS INITIAL  )
      AND p_show_t NE buttonselected.
        CONCATENATE 'C:\' tabl_nam  '.TXT'  INTO file_nam.
      ENDIF .
    ENDFORM.                    " CHECK_FILENAME
    *&      Form  INSTANTIATE_DYNAMIC_INTERNAL_T
          text
    -->  p1        text
    <--  p2        text
    FORM instantiate_dynamic_internal_t.
      CLEAR dynamic_it_instantiated .
    -----> Step 1 - Finding Field Names and ALV GRID Fieldcatalog
      i_structure_name =  tabl_nam .
      CLEAR it_fieldcat[] .
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = i_structure_name
        CHANGING
          ct_fieldcat            = it_fieldcat[]
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
      IF sy-subrc EQ 0.
    -----> Step 2 - Creating Field Catalog of the Object
                                                  cl_alv_table_create
        LOOP AT it_fieldcat .
          CLEAR wa_fieldcatalog .
          MOVE-CORRESPONDING it_fieldcat TO  wa_fieldcatalog .
          wa_fieldcatalog-ref_field = it_fieldcat-fieldname .
          wa_fieldcatalog-ref_table = tabl_nam .
          APPEND  wa_fieldcatalog  TO it_fieldcatalog .
        ENDLOOP .
    -----> Step 3 - Creating Internal Table Dynamicaly
        CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog = it_fieldcatalog
          IMPORTING
            ep_table        = itab.
        ASSIGN itab->* TO <fs_itab> .
        dynamic_it_instantiated = 'X' .
      ENDIF.
    ENDFORM.                    " INSTANTIATE_DYNAMIC_INTERNAL_T
    *&      Form  SHOW_CONTENTS
          text
    -->  p1        text
    <--  p2        text
    FORM show_contents.
      CLEAR : <fs_itab> .
      SELECT * FROM (tabl_nam)
      INTO CORRESPONDING FIELDS OF TABLE <fs_itab>   .
      i_callback_program = sy-repid .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = i_callback_program
          it_fieldcat        = it_fieldcat[]
        TABLES
          t_outtab           = <fs_itab>
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    ENDFORM.                    " SHOW_CONTENTS
    *&      Form  CHECK_FILE_TO_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM check_file_to_upload.
      PERFORM check_filename.
    CLEAR l_subrc .
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          filename                = file_nam
          filetype                = 'DAT'
        TABLES
          data_tab                = <fs_itab>
        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
          OTHERS                  = 10.
    l_subrc = l_subrc  + SY-SUBRC .
      IF sy-subrc EQ 0.
        i_callback_program = sy-repid .
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program = i_callback_program
            it_fieldcat        = it_fieldcat[]
          TABLES
            t_outtab           = <fs_itab>
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
      ENDIF .
    ENDFORM.                    " CHECK_FILE_TO_UPLOAD
    Thanks,
    Pramod

  • How to upload and down load Document from Server in Webdynpro Java

    Hi,
    I have to upload and download document to the server and from the server.
    The examle and the sample application which is available in SDN is not helpful as its about uploading and downloading from the application context.Please let me know how to upload/download from teh server.
    Sandip

    Hi sandip,
         I have same requirement.If u get any source please let me know.
    reagrds,
    Anuradha

  • Upload PDF to DMS using FTP server in WD abap

    Hi Friends,
        I want to upload PDF file from presentation server to DMS. As I dont want application server in this regards , so am using FTP server instead. But the problem am facing is in WD abap the filepath is in  XSTRING format. So how to upload Xstring pdf file in FTP server and how can i pull the same data to DMS server.
        My problem is just how to upload PDF in FTP server using web dynpro abap. The FM 'BAPI_DOCUMENT_CREATE2'  will upload the same PDF file from FTP to DMS server.
    Regards,
    Santosh

    Hi Santosh,
    Are you using FILE UPLOAD UI Element or not?
    Please go through this.. it might helps
    Re: File Upload Using BAPI
    /people/shruti.rathour/blog/2008/02/07/uploading-sap-interactive-form-on-the-abap-webdynpro-view
    Re: FTP_CONNECT failed for SAPFTP from WD4A to external Server
    Cheers,
    Kris.
    Edited by: kissnas on May 3, 2011 7:15 AM

Maybe you are looking for

  • SAPGUI 7.10 New ABAP Front End Editor Problem with CTRL + 5

    Hi Guys, I am using SAPGUI 7.10 patch 19 with new front-end editor and I am not able to use CTRL + 5 (on Numeric pad) to select whole program.  As soon as I change the editor to use old front end editor I am able to use CTRL + 5. Please help me to in

  • Z3 Delete key issue?

    After a recent dictionary update that simply wouldn't go away until I'd agreed to down load it, now when I've typing a text, email, message or pretty much anything, if I delete words or use the x key at all it starts to add random.letters full stops,

  • OLAP View generator 10.2.0.3

    Hi, I am trying to use OLAP view generator plug in with AWM 10.2.0.3A. My all the dimensions are value based and only time dimension is level based. I am not able to generate views for the value based dimensions but view for time is getting generated

  • I m unable to update a table from a servlet

    Hi, I am using a servlet to select,insert and update values in to the database. I am using Oracle 9i as my backend. I m successfully able to implement select and insert query. But as soon as do the update or delete my computer gets hanged. My stateme

  • Creative Cloud Membership Vs. Professional Edition DPS Subscription

    Hello, After reading the buying guide and going through many of the previous discussions in the forum, I just need to confirm a number of points 1- With Creative Cloud Membership - I can publish unlimited Single Issue apps without any extra cost, is