Index: applications/editors/josm/plugins/DirectDownload/build.xml
===================================================================
--- applications/editors/josm/plugins/DirectDownload/build.xml	(revision 30101)
+++ applications/editors/josm/plugins/DirectDownload/build.xml	(revision 30102)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="Commit message"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="6162"/>
+    <property name="plugin.main.version" value="6421"/>
 
     <!-- Configure these properties (replace "..." accordingly).
Index: applications/editors/josm/plugins/DirectDownload/src/org/openstreetmap/josm/plugins/directdownload/DirectDownload.java
===================================================================
--- applications/editors/josm/plugins/DirectDownload/src/org/openstreetmap/josm/plugins/directdownload/DirectDownload.java	(revision 30101)
+++ applications/editors/josm/plugins/DirectDownload/src/org/openstreetmap/josm/plugins/directdownload/DirectDownload.java	(revision 30102)
@@ -18,4 +18,5 @@
 import org.openstreetmap.josm.plugins.Plugin;
 import org.openstreetmap.josm.plugins.PluginInformation;
+import org.openstreetmap.josm.tools.Utils;
 import org.xml.sax.SAXException;
 
@@ -52,5 +53,5 @@
                 try {
                     URL trackDataUrl = new URL(urlString);
-                    InputStream is = trackDataUrl.openStream();
+                    InputStream is = Utils.openURLAndDecompress(trackDataUrl, true);
 
                     GpxReader r = new GpxReader(is);
@@ -77,7 +78,9 @@
                             tr("Invalid URL {0}", urlString));
                 } catch (java.io.IOException e) {
+                    e.printStackTrace();
                     JOptionPane.showMessageDialog(Main.parent,
                             tr("Error fetching URL {0}", urlString));
                 } catch (SAXException e) {
+                    e.printStackTrace();
                     JOptionPane.showMessageDialog(Main.parent,
                             tr("Error parsing data from URL {0}", urlString));
