Client JAVA Program part :
    try
                            {
                             String downloadUrl1="https://www......&downloaded=1";
                             url = new URL(downloadUrl1);
                             URLConnection myURLConnection = url.openConnection();
                             myURLConnection.connect();
                             updateMsg.setText("Success");
                             logger.debug(downloadUrl1);
                            }
                            catch (MalformedURLException e) {                              
                                // new URL() failed
                                logger.debug(e);
                            } 
                            catch (IOException e) {   
                                // openConnection() failed
                                logger.debug(e);
                            }
The Success Message is shown , the url is also printed in log file , no Exception is thrown .
Server side Program Part :
$downloaded_status_by_clnt = Sanitize::escape ( $_GET ['downloaded'] );
 if($downloaded_status_by_clnt=='1')
 {
     // Do some update                             
 }
 else
 {
    // Some file reading code
 }
 exit(0);
The update is working when I paste the URL in browser , but not working through program.
Can Anyone please suggest a solution ?
 
     
     
     
    