×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2006
    Posts
    9

    error while uploding photo to server from w810i

    hi,

    I am getting this error when i upload photo server
    I am sending photo by post with setting this request property

    HttpConnection.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + Defines.BOUNDARY);


    -------RESPONSE FROM SERVER--------------------------
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
    <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
    </HEAD><BODY>
    ERROR

    The requested URL could not be retrieved

    <HR noshade size="1px">


    While trying to retrieve the URL:
    http://IP ADDRESS/~akhairnar/branches/wireless/api2/upload_photo.php


    The following error was encountered:


    *




    Unsupported Request Method and Protocol




    Squid does not support all request methods for all access protocols.
    For example, you can not POST a Gopher request.

    Your cache administrator is webmaster.



    <HR noshade size="1px">
    <ADDRESS>
    Generated Tue, 13 Nov 2007 21:08:22 GMT by MUMSQUID1 (squid/2.6.STABLE12)
    </ADDRESS>
    </BODY></HTML>
    ------------------------------------------------------------------------------------


    thanks in advance
    R.PRasad

  2. #2
    Registered User
    Join Date
    Feb 2008
    Posts
    1

    Re: error while uploding photo to server from w810i

    Hi,

    Did you ever manage to get this problem fixed? I'm seeing a similar issue when uploading files to a server using a k800i. (The limit appears to be somewhere between 2000 and 2048 bytes.)

    Any info or pointers in the right direction would be very much appreciated.

    Cheers,
    Rich

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Ahmedabad
    Posts
    254

    Re: error while uploding photo to server from w810i

    Hi,

    Can you please specify what you want to do? Because if you want to just upload the photo on to the server then it can be done. I have developed such an application. Will be able to help you out if you specify what you want more clearly.

    Bye
    Sunil

  4. #4
    Registered User
    Join Date
    Jan 2007
    Posts
    34

    Re: error while uploding photo to server from w810i

    Hi Sunil,

    I want to upload an image file to a web server through my Midlet. Is it possible?

    I can get that file from the Mobile Memory, as per my knowledge. (Using JSR-75 API)..

    First I think we have to get it in Bytes form, and then upload it.


    Kindly help me in the right direction. I will be thankful.

    Any source code will b a gr8 help....

    Regards,
    Saad Mansur

  5. #5
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    51

    Re: error while uploding photo to server from w810i

    u can do that with any connection like bluetooth, http, or socket..
    yes, u can use input stream to get the data from the phone.
    my suggestion is use base 64 with ur data before u send that,,try to googling that one first.

    -regards-
    adek aidi

Similar Threads

  1. j2se server j2me client bluetooth connection problem
    By bepolat in forum Mobile Java Networking & Messaging & Security
    Replies: 6
    Last Post: 2010-07-14, 11:05
  2. TCP server packet receiving problem
    By raj_rr7 in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-07-12, 12:24
  3. Replies: 9
    Last Post: 2004-08-09, 07:31
  4. Setting up a Photo Album Server
    By baciccio in forum Mobile Java General
    Replies: 2
    Last Post: 2002-12-27, 05:22
  5. Setting up a Photo Album server
    By baciccio in forum General Messaging
    Replies: 0
    Last Post: 2002-08-06, 21:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •