Index: /trunk/zoo-services/ogr/ogr2ogr/service.c
===================================================================
--- /trunk/zoo-services/ogr/ogr2ogr/service.c	(revision 48)
+++ /trunk/zoo-services/ogr/ogr2ogr/service.c	(revision 49)
@@ -79,4 +79,5 @@
     const char  *pszDataSource = NULL;
     const char  *pszDestDataSource = NULL;
+    const char  *pszwebDestData = NULL;
     char        **papszLayers = NULL;
     char        **papszDSCO = NULL, **papszLCO = NULL;
@@ -123,4 +124,18 @@
     if(tmpMap!=NULL){
       sprintf(tempPath,"%s",tmpMap->value);
+    }
+    
+    tmpMap=NULL;
+    char serverAddress[1024];
+    tmpMap=getMapFromMaps(conf,"main","serverAddress");
+    if(tmpMap!=NULL){
+      sprintf(serverAddress,"%s",tmpMap->value);
+    }
+    
+    tmpMap=NULL;
+    char tmpurl[1024];
+    tmpMap=getMapFromMaps(conf,"main","tmpurl");
+    if(tmpMap!=NULL){
+      sprintf(tmpurl,"%s",tmpMap->value);
     }
 
@@ -341,4 +356,6 @@
       pszDestDataSource=(char*)malloc(sizeof(char)*(strlen(tempPath)+strlen(tmpMap->value)+4));
       sprintf((char*)pszDestDataSource,"%s/%s",tempPath,tmpMap->value/*,ext*/);
+      pszwebDestData=(char*)malloc(sizeof(char)*(strlen(serverAddress)+strlen(tmpurl)+strlen(tmpMap->value)+4));
+      sprintf((char*)pszwebDestData,"%s%s/%s",serverAddress,tmpurl,tmpMap->value/*,ext*/);
     }
 
@@ -811,5 +828,5 @@
 	outputs=(maps*)malloc(sizeof(maps*));
     outputs->name="GeneratedFile";
-    outputs->content=createMap("value",(char*)pszDestDataSource);
+    outputs->content=createMap("value",(char*)pszwebDestData);
     addMapToMap(&outputs->content,createMap("dataType","string"));
     outputs->next=NULL;
