Uploading se38 pogram  from upload button give some extra syntax , copy ok

Uploading se38 pogram  from upload button give some extra syntax ,
while simply copy and pest program in abap editor window work properly?
how!
syntax come while uploading is \par, \car ,etc...
regards,

The thing is that.. abap editor can't identify some characters.
So we upload word document into editor.. it will not work properly...
For example, the comment " ( Double Quote or Single Quote) can't be identified if we upload through word document..
This is the reason..
Reward if helpful..
Regards,
Sankar.

Similar Messages

  • Uploaded my pictures from my iPhone to my MacBook- Some of the videos I made show that they imported and play sound, but no picture- are they gone?

    I Uploaded my pictures from my iPhone to my MacBook… Some of the videos I made show that they imported and play sound, but no picture… are they gone?Becuase they offer to delete what was imported, so to save space i did... Is there anything I can do to restore the picture?

    Do your videos play in QuickTime Playerwhen you reveal one of them in the Finder with "File > Reveal > Original"? Try to open the revealed movie in QuickTime and see if it plays.
    Check the format of the movie. You can see it in the Inspector in QuickTime Player from the "WIndow" menu: Window > Show Inspector.
    iPhoto does not support all movie formats and codecs that QuickTime player can play, and not all frame rates.
    See: Using AVCHD video with iPhoto '11
    If the movie does not play in QuickTime Player either, install QuickTime 7 for more codecs.

  • IOS 7 is prevented from uploading to Photo Stream by some apps

    I have found that some apps such as LINE and Facebook Camera prevent iOS 7 from uploading photoos to my Photo Stream.
    The phenominum is the followings:
    1. Take some photos by camera app of iPhone.
    2. Uploading the photos to LINE or Facebook by the apps.
    3. These photos won't appear in my Photo Stream.
    I turned off the Photo Stream in Preference and then turned on it.
    However, the photos never appeared in my Photo Stream.
    I don't think I had experienced this phenominun until I updated to iOS 7.
    I guess it might be a bug of iOS 7.

    That's probably what I'm going to do as well, until either Apple gets its PhotoStream act (back?) together, or until I switch all to Loom. Since I use Aperture mainly for organizing my pics, and only occasionally edit Sony RAW files (hence no LightRoom), this kind of solution becomes increasingly probable – and attractive, too, since my Aperture library is by far the largest disk space user, even though I have all originals on an external SSD.
    About the only thing I'd probably miss, is a native non-webbrowser photo app on OSX. On the other hand, I certainly will not miss Aperture's 1.5GB+ RAM usage, and all-too-frequent crashes under Maverick.

  • I can't upload my photos from iPhoto to facebook.  The "publish" button is grayed out.

    I can't upload my photos from iPhoto to facebook.  The "publish" button is grayed out.  I was able to do it in the past.  Help! Thank you.

    I try to order the album of my wedding and can't upload it on the final step after having complete everything.
    Is it too big ? what can be the issue ?
    What happens when you try to upload the album? Are there any error messages?
    Which iPhoto version are you using?
    Are you ordering from the correct Print Products Store for your country?  Check the settings in iPhoto > Preferences > Advanced:

  • Hello !  pls give some ti[ps how to use bapi's for data uploading?

    hello !
      pls give some ti[ps how to use bapi's for data uploading?
    regards,
    Arjun

    Hi,
    See the below report extract:
    where it_data is having uploaded data.
    LOOP AT<b> it_data</b> INTO wa_data.
        line_count = sy-tabix.
        "Date Validation
        CONCATENATE wa_data-uplft_date4(4) wa_data-uplft_date2(2) wa_data-uplft_date+0(2)
        INTO wa_data-uplft_date.
        "READ TABLE it_ekko INTO wa_ekko WITH KEY lifnr = wa_data-vendor.
        LOOP AT it_ekko_temp INTO wa_ekko_temp WHERE lifnr = wa_data-vendor.
          IF wa_ekko_temp-kdatb <= wa_data-uplft_date AND wa_ekko_temp-kdate >= wa_data-uplft_date.
            MOVE-CORRESPONDING wa_ekko_temp TO wa_ekko.
            APPEND wa_ekko TO it_ekko.
          ENDIF.
        ENDLOOP.
        "IF sy-subrc = 0 AND wa_ekko-kdatb <= wa_data-uplft_date AND wa_ekko-kdate >= wa_data-uplft_date.
        LOOP AT it_ekko INTO wa_ekko.
          wa_data_header-pstng_date = wa_data-uplft_date.
          wa_data_header-doc_date = sy-datum.
          wa_data_header-bill_of_lading = wa_data-bill_of_lad.
          wa_data_header-ref_doc_no = wa_data-del_no.
          CONCATENATE wa_data-header_text1 '-'
                      wa_data-header_text2 '-'
                      wa_data-header_text3 '-'
                      wa_data-header_text4
                      into wa_data_header-HEADER_TXT.
          IF wa_data-indicator = 'Y'.
            wa_data_item-material = '000000000000200568'.
          ELSE.
            wa_data_item-material = '000000000000200566'.
          ENDIF.
          LOOP AT it_ekpo INTO wa_ekpo WHERE ebeln = wa_ekko-ebeln AND matnr = wa_data_item-material.
            "Collect Item Level Data
            wa_data_item-plant = '1000'.
            wa_data_item-stge_loc = '1001'.
            wa_data_item-move_type = '101'.
            wa_data_item-vendor = wa_data-vendor.
            wa_data-qnty = wa_data-qnty / 1000.
            wa_data_item-entry_qnt = wa_data-qnty.
            wa_data_item-po_pr_qnt = wa_data-qnty.
            wa_data_item-entry_uom = 'KL'.
            wa_data_item-entry_uom_iso = 'KL'.
            wa_data_item-orderpr_un = 'KL'.
            wa_data_item-orderpr_un_iso = 'KL'.
            wa_data_item-no_more_gr = 'X'.
            wa_data_item-po_number = wa_ekpo-ebeln.
            wa_data_item-po_item = wa_ekpo-ebelp.
            wa_data_item-unload_pt = wa_data-unload_pt.
            wa_data_item-mvt_ind = 'B'.
            APPEND wa_data_item TO it_data_item.
            CLEAR wa_data_item.
          ENDLOOP.
          CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              goodsmvt_header = wa_data_header
              goodsmvt_code   = goodsmvt_code
              testrun         = 'X'
            TABLES
              goodsmvt_item   = it_data_item
              return          = return.
          READ TABLE return INTO wa_return WITH KEY type = 'S'.
          IF sy-subrc <> 0.
            DESCRIBE TABLE return LINES sy-tfill.
            IF sy-tfill = 0.
              CALL FUNCTION <b>'BAPI_GOODSMVT_CREATE'</b>   
            EXPORTING
                  goodsmvt_header = wa_data_header
                  goodsmvt_code   = goodsmvt_code
                  testrun         = ' '
                TABLES
                  goodsmvt_item   = it_data_item
                  return          = return.
              CALL FUNCTION <b>'BAPI_TRANSACTION_COMMIT'</b>
               EXPORTING
                 WAIT          = 'X'
              IMPORTING
                RETURN        =
            ENDIF.
          ENDIF.
          LOOP AT return INTO wa_return.
            WRITE: 'Messsage TYPE  ', wa_return-type,
                  /,'ID  ', wa_return-id,
                  /, 'Number  ', wa_return-number,
                  /, 'Message  ', wa_return-message,
                  /, 'Long Text  ', wa_return-message_v1,
                                    wa_return-message_v2,
                                    wa_return-message_v3,
                                    wa_return-message_v4,
                 /, 'Failed at line', line_count.
          ENDLOOP.
          CLEAR: wa_ekko, wa_ekpo, wa_data, it_data_item[], wa_data_header.
        ENDLOOP.
    Reward if useful!

  • 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

  • Data Upload into SAP from Microsoft Excel

    Hi Guys: I created a function module from a BDC program and made it RFC enabled. When I execute this in SAP, it works fine and creates a customer. But when I try to trigger it from Excel, it gives me the error “Object Variable or With Block Variable not set”.  Please HELP!...
    Here is my VB code
    Option Explicit
    ' Declaration for the necessary objects
    Dim objBAPICortrol, objConnection, objCreateCustomer, objAcctGr, objCoCode, objReturn As Object
    Dim objSalesOrg, objDistCh, objDiv, objName, objStreet, objPostalCode, objCity, objRegion, objCountry As Object
    Dim objCountycode, objCityCode, objReconAcnt, objPaymentHist, objCustPrPro, objCustStGrp, objIncoTerms, objSDPayTerms, objAcntAssGrp, objTaxClass As Object
    Dim vLastRow, vRows As Integer
    Private Sub CommandButton2_Click()
    ' Create an Email in Outlook
    Application.Dialogs(xlDialogSendMail).Show
    End Sub
    Private Sub CommandButton3_Click()
    ' Getting the last filled Row in Column A
    vLastRow = Cells(Rows.Count, "A").End(xlUp).Row
    ' Setting the necessary variables for R/3 connection
    Set objBAPICortrol = CreateObject("SAP.Functions")
    Set objConnection = objBAPICortrol.connection
    ' Establish a connection
    If objConnection.Logon(0, False) Then
        MsgBox "Connection Established"
    End If
    On Error Resume Next
    ' Assign the Parameters
    Set objCreateCustomer = objBAPICortrol.Add("Z_RFC_CUSTOMER_CREATE_XLS")
    Set objAcctGr = objCreateCustomer.Exports("KTOKD_005")
    Set objCoCode = objCreateCustomer.Exports("BUKRS_001")
    Set objSalesOrg = objCreateCustomer.Exports("VKORG_002")
    Set objDistCh = objCreateCustomer.Exports("VTWEG_003")
    Set objDiv = objCreateCustomer.Exports("SPART_004")
    Set objName = objCreateCustomer.Exports("NAME1_006")
    Set objStreet = objCreateCustomer.Exports("STRAS_007")
    'Set objHouseNumber = objCreateCustomer.Exports("House Number")
    Set objPostalCode = objCreateCustomer.Exports("PSTLZ_009")
    Set objCity = objCreateCustomer.Exports("ORT01_008")
    Set objRegion = objCreateCustomer.Exports("REGIO_011")
    Set objCountry = objCreateCustomer.Exports("LAND1_010")
    Set objCountycode = objCreateCustomer.Exports("COUNC_013")
    'Set objPhone = objCreateCustomer.Exports("Phone")
    'Set objContact = objCreateCustomer.Exports("Contact")
    'Set objFax = objCreateCustomer.Exports("Fax")
    'Set objEmail = objCreateCustomer.Exports("Email")
    'Set objDirections = objCreateCustomer.Exports("Directions")
    Set objCityCode = objCreateCustomer.Exports("CITYC_014")
    Set objReconAcnt = objCreateCustomer.Exports("AKONT_015")
    Set objPaymentHist = objCreateCustomer.Exports("XZVER_017")
    Set objCustPrPro = objCreateCustomer.Exports("KALKS_019")
    Set objCustStGrp = objCreateCustomer.Exports("VERSG_020")
    Set objIncoTerms = objCreateCustomer.Exports("INCO1_021")
    Set objSDPayTerms = objCreateCustomer.Exports("ZTERM_023")
    Set objAcntAssGrp = objCreateCustomer.Exports("KTGRD_024")
    Set objTaxClass = objCreateCustomer.Exports("TAXKD_01_025")
    ' Now looping through all values create customer
    ' The data begin row is set to 2
    For vRows = 2 To vLastRow
    ' Set the Parameter Values
    objAcctGr.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 1).Value
    objCoCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 2).Value
    objSalesOrg.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 3).Value
    objDistCh.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 4).Value
    objDiv.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 5).Value
    objName.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 6).Value
    objStreet.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 7).Value
    'objHouseNumber.value = ThisWorkbook.ActiveSheet.Cells(vRows, 8).Value
    objPostalCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 9).Value
    objCity.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 10).Value
    objRegion.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 11).Value
    objCountry.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 12).Value
    objCountycode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 13).Value
    'objPhone.value = ThisWorkbook.ActiveSheet.Cells(vRows, 14).Value
    'objContact.value = ThisWorkbook.ActiveSheet.Cells(vRows, 15).Value
    'objFax.value = ThisWorkbook.ActiveSheet.Cells(vRows, 16).Value
    'objEmail.value = ThisWorkbook.ActiveSheet.Cells(vRows, 17).Value
    'objDirections.value = ThisWorkbook.ActiveSheet.Cells(vRows, 18).Value
    objCityCode.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 19).Value
    objReconAcnt.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 20).Value
    objPaymentHist.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 21).Value
    objCustPrPro.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 22).Value
    objCustStGrp.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 23).Value
    objIncoTerms.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 24).Value
    objSDPayTerms.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 25).Value
    objAcntAssGrp.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 26).Value
    objTaxClass.Value = ThisWorkbook.ActiveSheet.Cells(vRows, 27).Value
    ' Function call
    objCreateCustomer.call
    ' Get return parameters & display in excel
    Set objReturn = objCreateCustomer.Imports("RETURN")
    ActiveSheet.Cells((vLastRow + vRows), 1) = objReturn.Value("MESSAGE")
    ' Error handling
    If Err Then
        MsgBox Err.Description
    End If
    Next vRows
    End Sub

    Hello,
    Whatz impossible ??
    Yes you can export the data from excel to SAP using VBA, but you need to create fome RFC in SAP as well that will handle the data you will send.
    1. Create a RFC function in R/3 that will read a file from specific location and perform the respective transaction.
    2. Create your excel file with respective file format and call the RFC function in SAP passing the parameters as file name and other required details.
    3. SAP coding for RFC will be a single time activity and then onwads you can just create excel file for upload and use VBA code to initiate the RFC call.
    Hope this make some sence. Tell me if you have more queries.
    Regards,
    Vishal
    Reward points.. if helpful

  • How to get the complete path name when uploading a file from servlet

    Hi,
    I write a servlet to upload a file from html page
    <intput type=file name=fileupload>I am using
    import org.apache.commons.fileupload.to upload file. i want to get the all fields in the form and file name and content of the file also.
    It give the file name only
    String filename= fileItem.getName();
    o/p krish.jpgBut i want complete path naem like
    d:/krishna/images/funny/krish.jpgI serach the API org.apache.commons.fileupload.*
    But i did nt find the method to get it.
    plz help me , which api or method to use here..

    Krishna_Rao_chintu wrote:
    But i need path and have to do some calculations on it.No, you don't. If you have requirements which say you do then the requirements are wrong. You couldn't do anything useful with the path on the client system even if you could get it.
    is there any alternatives in java
    I need path and have to calculate MD5, Presumably you need to calculate MD5 on the contents of the file and not on the name of the file.
    and convert the file to binary format.... etc oprations on itSorry, "convert a file to binary format" is basically meaningless.
    but we can get the content of the file using
    byte [] get()/ getString() methods
    If i get content is there any performance degrades?
    ie if the content is lengthy is it take more time?Take more time than what? Degrading performance from what? It's certainly true that it would be quicker to not upload the file, but that's a pointless comparison. If you have some other process to compare with, let us know what it would be.

  • HI all pls give me diff btwn upload ws_upload and GUI Upload

    HI All,
             pls give me difference  between
            upload
            ws_upload and
            GUI Upload
    Thanks & regards .
    Bharat Kumar

    Hi,
    WS_* Function modules are replaced by GUI_* FMs from 4.7 SAP version.
    GUI_* modules have additional parameters when compared with WS_* FMs.
    Both FM are used for uploading data .
    But ws_upload is obsolete now .
    WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD.
    The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
    WS_UPLOAD, GUI_UPLOAD FMs are used in BDCs.
    WS_UPLOAD loads files from the Presentation Server to Internal ABAP Tables.
    This is used upto SAP 4.6 version.
    GUI_UPLOAD is used to loads a file from the PC to the server. The data can be
    transferred in binary or text format. Numbers and data fields can be
    interpreted according to the user settings.
    You can check this for some info
    http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm
    http://www.sapdevelopment.co.uk/file/file_otherpc.htm
    Regards,
    Priyanka.

  • Can't upload any files from my mac to the Internet

    I am new to Macbook, and this obviously never happened before
    So, the problem is:
    I can't upload any files from my Mac anywhere (Facebook, Instagram, etc)
    I can't attach files to e-mails.
    any files that are on my desktop, folders - they just turn in grey and I can't choose them.
    The only way I can do it is by going to "ALL FILES" where I have to search through all the files that are on my Mac
    Keep in mind that this is a glitch, because earlier it was all fine and normal
    To see what I mean I am uploading a skreen shot of attemp of uploading files to Fb.
    Can anybody help? Can it be some sort of virus?

    Okay I had the same problem but I figured it out.  When you go to choose file, all the links are greyed out.  Use two fingers simulatiously and click down on the file you want, then choose "quick look" from the option menu.  This will open a preview of your document and make the open button usable.  Close the preview, and then select the open button. 
    The site I was trying to use says it only supports IE, so maybe that is what causes the problem.
    Hope it works for you!

  • Uploading a file from a J2ME application

    Ok, obviously this is either not interesting, or no one really knows what to do, I would love any ideas even if they dont work, just anything that would help would be great :)
    I am extremely new to servlet programming and reasonably new to J2ME. I want to upload a file from my device to a central server. I am not sure how to go about starting this. I have a html form that requests a file and posts it to the servlet fine, but I am not sure how I would get my J2ME application to do the same. Do I replicate the html from with in the program? Any help would be much appreciated.
    My basic servlet and Java code is:
    Java
    public String sendPostRequest(String urlstring) throws IOException {
                  HttpConnection hc = null;
                  DataInputStream dis = null;
                  DataOutputStream dos = null;
                  String message = "";
                  // the request body
                  FileSystem fs = new FileSystem();
                  byte[] file = fs.returnFile("c:/other/dot/helloworld.txt");
                  if(file != null){
                       String fileString = ("file=" + new String(file));
                       try {
                         // an HttpConnection with both read and write access
                         hc = (HttpConnection)Connector.open(urlstring, Connector.READ_WRITE);
                         // set the request method to POST
                         hc.setRequestMethod(HttpConnection.POST);
                         // set request type
                         // Could possibly need to be "application/x-www-form-urlencoded"????????????????????????????????
                         hc.setRequestProperty("Content-Type", "multipart/form-data");
                         hc.setRequestProperty("Content-Length", fileString.length()+ "" );
                         // obtain DataOutputStream for sending the request string
                         dos = hc.openDataOutputStream();
                         byte[] requestBody = fileString.getBytes();
                         // send request string to Web server
                         for (int i = 0; i < requestBody.length; i++) {
                           dos.writeByte(requestBody);
                   // flush it out
                   dos.flush();
                   // obtain DataInputStream for receiving server responses
                   dis = new DataInputStream(hc.openInputStream());
                   // retrieve the responses from Web server
                   int ch;
                   while ((ch = dis.read()) != -1) {
                   message = message + (char) ch;
                   } finally {
                   // free up i/o streams and http connection
                   if (hc != null)hc.close();
                   if (dis != null)dis.close();
                   if (dos != null)dos.close();
    Servlet
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.oreilly.servlet.MultipartRequest;
    public class DNTUpload extends HttpServlet{
        public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
            res.setContentType("text/html");
            PrintWriter out = res.getWriter();
            try{
                MultipartRequest multi = new MultipartRequest(req, "C:\\Servlets+JSP\\DNT", 5*1024*1024);
                Enumeration files = multi.getFileNames();
                String name = (String)files.nextElement();
                File f = multi.getFile(name);
                if(f != null){
                    out.println("<HTML>");
                out.println("<HEAD><TITLE>FileUploader</TITLE></HEAD>");
                out.println("<BODY>");
                out.println("<H1>Should have saved file</H1>");
                out.println("</BODY>");
                out.println("</HTML>");
                else{
                     res.setHeader("valserror", "ERROR");
            }catch(Exception e){
                out.println("<HTML>");
                out.println("<BODY>");
                out.println("failure!!");
                out.println("</BODY>");
                out.println("</HTML>");
    Message was edited by:
    -fluffy-

    I've only done one small j2me program and not recently, but here is a link that can give you some of the basics: http://today.java.net/pub/a/today/2005/02/09/j2me1.html
    I'm guessing, but I believe you have to use http sockets to accomplish a file transfer with a phone. Also, there are some limitations with full sockets depending on which type of phone you using to write your app to.
    Hope that helps!

  • How do I upload the contacts from my iPhone 5S to the Bluetooth device on my Toyota RAV4.  The car manual says to consult the phone's bluetooth instruction manual, but I don't have one.

    How do I upload the contacts from my iPhone 5S to the Bluetooth device on my Toyota RAV4?  The car manual says to consult the phone's Bluetooth instruction manual, but I don't have a manual for that.

    That is very strange... I wonder if it has something to do with the firmware or some sort of error. I haven't ran into this but at the shop I work at I've ran into several firmware errors on iPhone 4 all the way through the 5s. Maybe its something as simple as putting a different part of the code into iTunes... I know you can something of this extent. I would look up error 1669, I know you have tried a number of things but look it up on the forum and see what fixes are available so that you may be able to restore it properly without all this garbage you are running into. Just a thought for you.

  • How to upload the file from website into R/3

    Dear Experts,
              I want to post the data in r/3 using bdc.but flat file is available in some website for eg.'www.sap.com'.how to retrieve the flat file from the website and how to upload the data from website to r/3.
    It is very urgent please help me.
    Thanks & Regards,
    Ashok.

    Hi Ashok,
        We cannot directly pulled data from website. we need to activate webservices and rfcs. Better you could asked to your Basis guy that he knows or not. If not then do sdn you will get the appropriate answer. I can only say that its possible and we can download from website.
    Regds,
    Rakesh

  • To upload a file from client machine to server machine

    Hi everybody!
    Could anyone plz help me. I am struck in a problem
    I want to transfer a file from client's machine to server but I am not able to upload
    It is tranferring the file only to the local machine
    I am using orielley package It is transferring files only to my local machine but not to the server .Can anyone correct it. It's very urgent
    how to write the relative path for server
    I am using this path and it is not uploading
    MultipartRequest multi = new MultipartRequest(request, "../<administrator>:<dev2daask>@dev2:C:/123data/", 5 * 1024 * 1024);
    Here is my code:
    <%@ page import="java.util.*" %>
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="com.oreilly.servlet.MultipartRequest"%>
    <%
    try {
    // Blindly take it on faith this is a multipart/form-data request
    // Construct a MultipartRequest to help read the information.
    // Pass in the request, a directory to saves files to, and the
    // maximum POST size we should attempt to handle.
    // Here we (rudely) write to the server root and impose 5 Meg limit.
    MultipartRequest multi = new MultipartRequest(request, "../<administrator>:<dev2daask>@dev2:C:/123data/", 5 * 1024 * 1024);
    out.println("<HTML>");
    out.println("<HEAD><TITLE>UploadTest</TITLE></HEAD>");
    out.println("<BODY>");
    out.println("<H1>UploadTest</H1>");
    // Print the parameters we received
    out.println("<H3>Params:</H3>");
    out.println("<PRE>");
    Enumeration params = multi.getParameterNames();
    while (params.hasMoreElements()) {
    String name = (String)params.nextElement();
    String value = multi.getParameter(name);
    out.println(name + " = " + value);
    out.println("</PRE>");
    // Show which files we received
    out.println("<H3>Files:</H3>");
    out.println("<PRE>");
    Enumeration files = multi.getFileNames();
    while (files.hasMoreElements()) {
    String name = (String)files.nextElement();
    String filename = multi.getFilesystemName(name);
    String type = multi.getContentType(name);
    File f = multi.getFile(name);
    out.println("name: " + name);
    out.println("filename: " + filename);
    out.println("type: " + type);
    if (f != null) {
    out.println("length: " + f.length());
    out.println();
    out.println("</PRE>");
    catch (Exception e) {
    out.println("<PRE>");
    out.println("</PRE>");
    out.println("</BODY></HTML>");
    %>

    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

  • My ipod was connecting to my home wi-fi just fine until I uploaded new music from my Itunes on my laptop. Now my ipod and my iphone will not connect to my wireless network. I've tried resetting the network settings etc... Nothing seems to work. Help!

    My ipod (version 6.1.3) was connectiong to my home wi-fi just fine until I uploaded new music from my itunes via my laptop. Now my ipod and my iphone will not connect to my wireless network. I've uplugged my wireless network and reset my network settings etc... nothing seems to work. Please help!

    Does the iOS devices connect to other networks?
    Does the iOS devices see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar
    Since both iPhone and iPod stopped connecting I suspect a problem with your network.

Maybe you are looking for