diff --git a/src/DDSERVICES/SOAP/DDserverWeb.php b/src/DDSERVICES/SOAP/DDserverWeb.php
index f768fb5..e5d5d85 100644
--- a/src/DDSERVICES/SOAP/DDserverWeb.php
+++ b/src/DDSERVICES/SOAP/DDserverWeb.php
@@ -348,7 +348,9 @@
  
             if ($VI->item(0)->nodeValue != NULL)
             {
-					$location = $VI->item(0)->parentNode->getElementsByTagName("LOCATION")->item(0)->nodeValue;           
+					$location = $VI->item(0)->parentNode->getElementsByTagName("LOCATION")->item(0)->nodeValue; 
+					
+					$find = 'find '.$location.'*.nc.gz -type f -printf \'%T@ %p\n\' | sort -n | tail -1 | cut -f2- -d" "';
 					$lastFile = exec($find);
 					if (!file_exists($lastFile))
 						exit('NO SUCH FILE '.$lastFile);
--
libgit2 0.21.2