Discussion Board

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

    error while uploding photo to server from w810i


    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>

    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">
    Generated Tue, 13 Nov 2007 21:08:22 GMT by MUMSQUID1 (squid/2.6.STABLE12)

    thanks in advance

  2. #2
    Registered User
    Join Date
    Feb 2008

    Re: error while uploding photo to server from w810i


    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.


  3. #3
    Regular Contributor
    Join Date
    Sep 2008

    Re: error while uploding photo to server from w810i


    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.


  4. #4
    Registered User
    Join Date
    Jan 2007

    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....

    Saad Mansur

  5. #5
    Regular Contributor
    Join Date
    Mar 2008

    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.

    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