Upload local file

Good Morning,
This is the scenario:
I put my applet in webserver. User go to this server (eg. http://www.test.com) and execute my applet
through web-browser. Now, this user wants to upload files. Is this possible?
I want the applet to be able to read the local file and save it to the database (JDBC). But all I need
is the technique to read local file. Sample source code will be appreciated.
Please help.
Thank You.

konglomerat_muda wrote:
Good day,
I need an example how to upload file using applet. If there's one out there, you can search for it here or try Google, but I don't recommend this approach.
Applet is a must.I seriously doubt that, as I can't recall hearing of this type of a requirement since the invention of Applets.

Similar Messages

  • 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

  • File Upload works on windows to upload local file,but fails on unix

    I have jspx page to upload excel file from my pc and I used jdev 10.3.1.4 works fine on windows, but I deployed to weblogic 10.3. I got java.io.ioexception No such file or directory when I uploaded a excell file
    from my pc.Can you some one shed some lights on my head, Thank you.

    This is my jsp page:
    <html>
    <div id =mrf>
    <!--<%@ page contentType="text/html;charset=windows-1252"%>-->
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
    <bean:define id="myUploadForm" name="uploadForm" type="com.presentation.UploadForm" />
    <SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
    function submitAction(action)
         document.uploadForm.actionName.value = action;
         document.uploadForm.submit();
    </script>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <html:form method="post" action="/Upload" enctype="multipart/form-data">
    <tr>
    <td align="left">
    <bean:message key="label.upload.file" />
    <html:file property="file" size="50"/>
    </td>
    </tr>
    <html:messages id="messageId" message="true" property="uploadMessage">
    <td class="message-context" align="left" colspan="7" width="100%">
    <bean:write name="messageId"/>
    </td>
    </html:messages>
    <tr>
    <td class="page-context" align="left" nowrap>
    <P>   <p>
    <html:submit styleId="button1"
    styleClass="inputbutton">
         <bean:message key="label.upload.button.submit"/>
    </html:submit>
    </td>
    </tr>
    <table>
    <logic:present name="createMessage">
    <h2><font color="red"/><bean:message key="msg.createOrder.errmsg"/></h2>
    <logic:iterate id="IR" name="createMessage">
    <tr>
    <td>
    <bean:write name="IR"/>
    </td>
    </tr>
    </logic:iterate>
    </logic:present>
    </table>
    <html:hidden property="actionName" value="start"/>
    </html:form>
    </table>
    </div>
    </html>
    My java bean (UploadAction.java):
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.lang.reflect.InvocationTargetException;
    import java.util.ArrayList;
    import java.util.List;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionMessage;
    import org.apache.struts.upload.FormFile;
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
              messages.clear(); //clear all messages and errors
    int loaded =0;
    List msgList = new ArrayList<String>();
              UploadForm uploadForm = (UploadForm)form;
    String actionName = uploadForm.getActionName();
    uploadForm.setActionName("");
    FormFile file = uploadForm.getFile();
    if(actionName.equalsIgnoreCase("create")){
    System.out.println("The actionName:" + actionName);
    this.executeCreate(mapping,form,request);
    // for first time after clicked Upload from main menu.
    if(file == null || file.getFileName()== null || file.getFileName().length()== 0){
    if(count > 0) {
    messages.add("uploadMessage", new ActionMessage("msg.upload.failed"));
    saveMessages(request, messages);
    count++;
    return (mapping.getInputForward());
         //the info in web.xml under <context-param>
    String filePath = getServlet().getServletContext().getInitParameter("oracle.adf.view.faces.UPLOAD_TEMP_DIR");
    System.out.println("The file name path:" + filePath);
         File folder = new File(filePath); //create the upload folder in client's local PC if not exists
         if(!folder.exists())
         folder.mkdir();
    String fileName = file.getFileName();
    if(fileName != null || fileName.length() >0){
         System.out.println("The file name:" + file.getFileName()+" has been craeted in:" +filePath);
    try { 
         File newFile = new File(filePath, fileName);
         if(!newFile.exists()){
         FileOutputStream fos = new FileOutputStream(newFile);
         fos.write(file.getFileData());
         fos.flush();
         fos.close();
         request.setAttribute("uploadedFilePath",newFile.getAbsoluteFile());
         request.setAttribute("uploadedFileName",newFile.getName());
    } catch (IOException e) {
    log.info(e.getMessage());
    log.error(e.getMessage());
    loaded =1; //uploaded successed.
    ParseExcelFile(filePath,fileName); ------------- fails here but it works on Windows XP with Jdev 10.1.3.5/OC4J.
    saveMessages(request, messages);
    return (mapping.getInputForward());
    public static void ParseExcelFile(String localdir, String filename) {
    FileInputStream fs = null;
    try {
    String strFile = localdir+filename;
    fs = new FileInputStream(new File(strFile));
    getContents(fs);
    } catch (IOException ie) {
    log.error(ie.getMessage(),ie);
    } catch (Exception xe) {
    log.error(xe.getMessage(),xe);
    }finally {
    try {
    fs.close();
    } catch (IOException e) {
    log.error(e.getMessage(),e);
    This log file from weblogic:
    <[ERROR        ] [FINLOGSYS] 1310903306264 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'-com.business.MrfBusinessDelegate.ParseExcelFile(MrfBusinessDelegate.java :753] >>* C:/tmp/MarsUploads/MinMax_R12_template.xls (No such file or directory)java.io.FileNotFoundException: C:/tmp/MarsUploads/MinMax_R12_template.xls (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at com.cablevision.materialRequest.business.MrfBusinessDelegate.ParseExcelFile(MrfBusinessDelegate.java:750)
    at com.cablevision.materialRequest.presentation.UploadAction.execute(UploadAction.java:133)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3241)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    *<<>
    Do I missing something ? help

  • How to upload local files to Offices365 SharePoint Online Site by C# Code?

    Hi all,
    I've some requirement needs to upload files from local to Office365 Sharepoint Online Site Document Library using C# code?
                   public static void upload()
    Uri uri = new Uri("siteurl");
                    ClientContext context = new ClientContext(uri);
                    var passWord = new SecureString();
                    foreach (var c in "password") passWord.AppendChar(c);
                    context.Credentials = new SharePointOnlineCredentials("email", passWord);
    Web web = context.Web;
                   FileCreationInformation newFile = new FileCreationInformation();
                    newFile.Content = System.IO.File.ReadAllBytes(@"C:\myfile.txt");
                    newFile.Url = "file uploaded via client OM.txt";
                    List docs = web.Lists.GetByTitle("Documents");
                    Microsoft.SharePoint.Client.File uploadFile = docs.RootFolder.Files.Add(newFile);
                    context.ExecuteQuery();
    I don't know whether this method works and I'm always get issue for getting the ClientContext.
    Thanks for your reply.

    Please try below.
    public void SaveFileToSharePoint(string fileName)
    using (var context = new ClientContext("https://mydomain.com/"))
    var passWord = new SecureString();
    foreach (var c in "MyPassword") passWord.AppendChar(c);
    context.Credentials = new SharePointOnlineCredentials("[email protected]", passWord);
    var web = context.Web;
    var newFile = new FileCreationInformation {Content = File.ReadAllBytes(fileName), Url = Path.GetFileName(fileName)};
    var docs = web.Lists.GetByTitle("Documents");
    docs.RootFolder.Folders.GetByUrl("Test").Files.Add(newFile);
    context.ExecuteQuery();
    Bala

  • Sync songs from iCloud as well as local files in iTunes?

    I am using iCloud match to access my music library.
    I have some mp3 files that are deemed "ineligible" by Apple for uploading to iCloud.  These files are on my PC and in iTunes.  I can play them on my PC.
    How do I use iCloud as well as sync/upload local files in iTunes to my iDevices (3Gs, iPad3)?
    Now, if I go into the Music" tab of my device in iTunes, I just see "iTunes Match is on" message and there seems to be no way to mix-n-match files from iCloud and local files on my PC.
    PS: Bonus question: What happens when I exceed the 25000 track limit for iCloud Match?  Then I'll have files in iCloud as well as on my PC, in iTunes, that I'll want to sync and listen to .... How do I do that?
    Aloke

    I figured it out looking through some similar questions.  Went to "File, Add Folder to File" and then selected the "Music" folder above.

  • How to upload files residing in a folder on local file system .

    Hi, I have a problem when trying to upload files.
    I have a folder in my local system and have n files in it. Now if i use the file upload element i need to click n times to upload these files. So i want to achieve programatically to upload all the files in a folder given the folder name to the application. Is this possible or is there any restriction to achieve this through webdynpro.
    Also how to know programatically all the names of files and folders in a particular folder during web dynpro session.
    Regards,
    Vinay.

    Hi Vinayaka,
    Watch these links..
    Uploading multiple files using the FileUpload UI element
    Files...
    Regards,
    Karthick K Eswaran
    Display files in web browser

  • How to upload a file in local drive?

    hi,
    i have an requirement that is to upload a file into local machine and that file name will stored into database.
    plz help me how to do that.
    Regards
    D.Mahesh Babu

    Hi ,
    Method delete() in File class

  • FAILED: Upload Failed,local file missing

    Hi folks,
    Getting this error:
    FAILED: Upload Failed,local file missing ...
    FAILED: CHECKIN on activity act_w_PSPACE_snapconsult_2e_at_CORE_dev_inactive_u_gz_t_2009_03_25_11_03_01_GMT_4a8549b5-d76e-4feb-bd65-8d8e235b60c0 failed : Checking in activity failed: act_w_PSPACE_snapconsult_2e_at_CORE_dev_inactive_u_gz_t_2009_03_25_11_03_01_GMT_4a8549b5-d76e-4feb-bd65-8d8e235b60c0:operation failed
    Fine, but which file? Is there any log file to look for?
    Thanks

    Yes.
    I already reverted all deletions. But it seems to me that the studio didn't revert correctly. I deleted 2 applications inside a wd component. After revert, the studio just recreated the folder but not the file with .wdapplication extension. But i'm not sure if this is really the problem.
    Do you know if there is any log file which file the studio is missing? That kind of troublemanagement is really no fun at all. There has to be a log file just like the build log files, right?
    I mean, a can't believe that there is none.
    Thanx

  • While uploading data from local file

    Hi,
    While uploading data from local file having the header text into interal table using the GUI_UPLOAD function module,there is problem in upload because of header text in file, do we have any option in this FM itself to skip this header text and upload from sdecond line because as per our requirement we can't delete this header text from the file.

    Hi Manish,
    Do you have the problem while uploading? Is it giving any error?
    If not, if your uploading is successful into the internal table, then delete the first row, which is header, from the internal table using index eq 1.
    Regards,
    Chandra Sekhar

  • 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 local TRU file with GUI_UPLOAD in ECC6

    Hi all,
    i need to upload a file with no "CR/LF" characters in a migration project from 46C to ECC6 system
    in 46C, the FM WS_UPLOAD is working well :
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
      CODEPAGE                      = ' '
        filename                      = input_f1
        filetype                      = 'TRU'
      HEADLEN                       = ' '
      LINE_EXIT                     = ' '
        TRUNCLEN                      = '300'
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      DAT_D_FORMAT                  = ' '
    IMPORTING
      FILELENGTH                    =
        TABLES
          data_tab                      = ITAB_IN
        EXCEPTIONS
    This FM is obsolete in ECC6 and the GUI_DOWNLOAD FM populates only one line of the internal table. It means only 300 characters
    and all the remaining file is ignored :
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = input_f1
       FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
       READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = ITAB_IN
    EXCEPTIONS
    Can any one tell me how can i read such file entirely in my internal table??
    Thank you

    Try changing your code as this sample code snippet:
    TYPES: BEGIN OF ex_upload,
          record(800) TYPE c,
          END OF ex_upload.
    DATA: ex_itab TYPE STANDARD TABLE OF ex_upload,
          wa_upload TYPE ex_upload.
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = v_file1
          filetype                      = 'ASC'
    *       HAS_FIELD_SEPARATOR           = 'X'
        TABLES
          data_tab                      = ex_itab
       EXCEPTIONS
         file_open_error               = 1
         file_read_error               = 2
         no_batch                      = 3
         gui_refuse_filetransfer       = 4
         invalid_type                  = 5
         no_authority                  = 6
         unknown_error                 = 7
         bad_data_format               = 8
         header_not_allowed            = 9
         separator_not_allowed         = 10
         header_too_long               = 11
         unknown_dp_error              = 12
         access_denied                 = 13
         dp_out_of_memory              = 14
         disk_full                     = 15
         dp_timeout                    = 16
         OTHERS                        = 17

  • How to upload the local file of the external sytem with same LAN

    HI
    My requirement is to upload a presentation server file (For ex: C:\test.txt) from the external system with in the same LAN into my sap (system)
    Thnaks in advance
    Mallik

    HI Roger
    My requirement is to upload a file from the other system into my system (both are with in the same LAN).
    Ex: two systems are there A and B (both belongs to same LAN)
    in A system's c drive one file is there ( i.e.: C:\test.txt)
    and iam using B system and i need to upload the file from the A system in SAP
    Please do help if u have clues

  • Steps to prepare and upload  excel  files data to r/3?

    Hi abap experts,
    We have brand new installed ECC system somehow configured but with no master or transaction data loaded .It is new  empty system....We also have some legacy data in excel files...We want to start loading some data into the SAP sandbox step by step and to see how they work...test some transactions see if the loaded data are good etc initial tests.
    Few questions here are raised:
    -Can someone tell me what is the process of loading this data into SAP system?
    -Should this excel file must me reworked prepared somehow(fields, columns etc) in order to be ready for upload to SAP??
    -Users asked me how to prepared their legacy excel files so they can be ready in SAP format for upload.?Is this an abaper  job or it is a functional guy job?
    -Or should the excel files be converted to .txt files and then imported to SAP?Does it really make some difference if files are in excel or .txt format?
    -Should the Abaper determine the structure of those excel file(to be ready for upload ) and if yes,  what are the technical rules here ?
    -What tools should be used for this initial data loads? CATT , Lsmw , batch input or something else?
    -At which point we should test the data?I guess after the initial load?
    -What tools are used in all steps before...
    -If someone can provide me with step by step scenario or guide of loading some kind of initial  master data - from .xls file alignment  to the real upload  - this will be great..
    You can email me  some upload guide or some excel/txt file examples and screenshots documents to excersize....Email: [email protected]
    Your help is appreciated it.!
    Jon

    Depends on data we upload the data from file to R/3 .
    If it is regular updation then we used to get the data from application server files to R/3 since local file updation we can not set up background processing..
    If it is master data upload and that to one time upload then we use presenation server files to SAP R/3..
    See the simple example to upload the data to on master custom table from XLS File
    Program    : ZLWMI151_UPLOAD(Data load to ZBATCH_CROSS_REF Table)
    Type       : Upload program
    Author     : Seshu Maramreddy
    Date       : 05/16/2005
    Transport  : DV3K919574
    Transaction: None
    Description: This program will get the data from XLS File
                 and it upload to ZBATCH_CROSS_REF Table
    REPORT ZLWMI151_UPLOAD no standard page heading
                           line-size 100 line-count 60.
    *tables : zbatch_cross_ref.
    data : begin of t_text occurs 0,
           werks(4) type c,
           cmatnr(15) type c,
           srlno(12) type n,
           matnr(7) type n,
           charg(10) type n,
           end of t_text.
    data: begin of t_zbatch occurs 0,
          werks like zbatch_cross_ref-werks,
          cmatnr like zbatch_cross_ref-cmatnr,
          srlno like zbatch_cross_ref-srlno,
          matnr like zbatch_cross_ref-matnr,
          charg like zbatch_cross_ref-charg,
          end of t_zbatch.
    data : g_repid like sy-repid,
           g_line like sy-index,
           g_line1 like sy-index,
           $v_start_col         type i value '1',
           $v_start_row         type i value '2',
           $v_end_col           type i value '256',
           $v_end_row           type i value '65536',
           gd_currentrow type i.
    data: itab like alsmex_tabline occurs 0 with header line.
    data : t_final like zbatch_cross_ref occurs 0 with header line.
    selection-screen : begin of block blk with frame title text.
    parameters : p_file like rlgrap-filename obligatory.
    selection-screen : end of block blk.
    initialization.
      g_repid = sy-repid.
    at selection-screen on value-request for p_file.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                PROGRAM_NAME = g_repid
           IMPORTING
                FILE_NAME    = p_file.
    start-of-selection.
    Uploading the data into Internal Table
      perform upload_data.
      perform modify_table.
    top-of-page.
      CALL FUNCTION 'Z_HEADER'
      EXPORTING
        FLEX_TEXT1       =
        FLEX_TEXT2       =
        FLEX_TEXT3       =
    *&      Form  upload_data
          text
    FORM upload_data.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                FILENAME                = p_file
                I_BEGIN_COL             = $v_start_col
                I_BEGIN_ROW             = $v_start_row
                I_END_COL               = $v_end_col
                I_END_ROW               = $v_end_row
           TABLES
                INTERN                  = itab
           EXCEPTIONS
                INCONSISTENT_PARAMETERS = 1
                UPLOAD_OLE              = 2
                OTHERS                  = 3.
      IF SY-SUBRC <> 0.
        write:/10 'File '.
      ENDIF.
      if sy-subrc eq 0.
        read table itab index 1.
        gd_currentrow = itab-row.
        loop at itab.
          if itab-row ne gd_currentrow.
            append t_text.
            clear t_text.
            gd_currentrow = itab-row.
          endif.
          case itab-col.
            when '0001'.
              t_text-werks = itab-value.
            when '0002'.
              t_text-cmatnr = itab-value.
            when '0003'.
              t_text-srlno = itab-value.
            when '0004'.
              t_text-matnr = itab-value.
            when '0005'.
              t_text-charg = itab-value.
          endcase.
        endloop.
      endif.
      append t_text.
    ENDFORM.                    " upload_data
    *&      Form  modify_table
          Modify the table ZBATCH_CROSS_REF
    FORM modify_table.
      loop at t_text.
        t_final-werks = t_text-werks.
        t_final-cmatnr = t_text-cmatnr.
        t_final-srlno = t_text-srlno.
        t_final-matnr = t_text-matnr.
        t_final-charg = t_text-charg.
        t_final-erdat = sy-datum.
        t_final-erzet = sy-uzeit.
        t_final-ernam = sy-uname.
        t_final-rstat = 'U'.
        append t_final.
        clear t_final.
      endloop.
      delete t_final where werks = ''.
      describe table t_final lines g_line.
      sort t_final by werks cmatnr srlno.
    Deleting the Duplicate Records
      perform select_data.
      describe table t_final lines g_line1.
      modify zbatch_cross_ref from table t_final.
      if sy-subrc ne 0.
        write:/ 'Updation failed'.
      else.
        Skip 1.
        Write:/12 'Updation has been Completed Sucessfully'.
        skip 1.
        Write:/12 'Records in file ',42 g_line .
        write:/12 'Updated records in Table',42 g_line1.
      endif.
      delete from zbatch_cross_ref where werks = ''.
    ENDFORM.                    " modify_table
    *&      Form  select_data
          Deleting the duplicate records
    FORM select_data.
      select werks
             cmatnr
             srlno from zbatch_cross_ref
             into table t_zbatch for all entries in t_final
             where werks = t_final-werks
             and  cmatnr = t_final-cmatnr
             and srlno = t_final-srlno.
      sort t_zbatch by werks cmatnr srlno.
      loop at t_zbatch.
        read table t_final with key werks = t_zbatch-werks
                                    cmatnr = t_zbatch-cmatnr
                                    srlno = t_zbatch-srlno.
        if sy-subrc eq 0.
          delete table t_final .
        endif.
        clear: t_zbatch,
               t_final.
      endloop.
    ENDFORM.                    " select_data
    and also you can use .txt file upload using Function module - GUI_UPLOAD
    if it is application server then use open datset command.
    Thanks
    Seshu

  • When I try to upload a file it goes through the correct proceedure, but does not change the remote file i.e.Index.htm

    Hi
    I have an uploading problem to the server. The problem is when I try to upload a file it goes through the correct proceedure,
    but does not change the remote file i.e.Index.htm, or three stages1.htm.
    My Localroot folder is C:\Gods Plan Web\
    The site map layout is C:\Gods Plan Web\Index.htm
    The folder for the remote site is /public_html/
    Should the local root folder mirror the remote site, i.e./public_html/
    if this is so, what should I put into the
    (a) Local Root Folder box?
    (b) site map layout box?
    The FTP is performing well other than changing the intended file.

    You should be uploading only the contents of your local root to the public_html folder (remote root).
    The index.html you use as your site's home page needs to be in your site root. If you look at your Files window in DW, you should have something like the following...
    Site - Whatever you named your site
         index.html
         images
         pages
              page1.html
              page2.html
    If you have any folder between Site - and the index.html page, like...
    Site - Whatever you named your site
         mywebsite
              index.html
    It will upload to the public_html while still in that folder, so to find your page online, you would need to type something like...
    www.mydomain.com/mywebsite
    public_html should NOT appear within your local files and if it existed there, would cause a redundancy if uploaded. You would need to type www.yourdomain.com/public_html to see the uploaded pages.
    If you could post a screen shot of your expanded Files window while connected to the server (just connect and click the Expand button in Files, don't drill down into any of the directories), we may be able to see the issue.

  • How to upload Excel file in BI using function module in abap program

    How to upload Excel file in BI using function module in abap program?

    Hi Anuj,
    To upload the file , you can try a standard program "RSEPSFTP" .
    while you execute the program , a selection screen appears in which the inputs should be give as
    RFC destination - The target server name
    FTP command- PUT
    local file - your file name
    local directory - path of your local file
    remote file - your target file name
    remote directory - where it has to be stored
    Hope this is useful for you
    Thanks & regards
    Anju

Maybe you are looking for