From ae6e282b6d4aed84516e97ddc9a5f349d284e975 Mon Sep 17 00:00:00 2001 From: Tobias Spitzer Date: Fri, 23 May 2014 08:01:39 +0200 Subject: Bug: Fehler beim Download wirde behoben --- Dozentenmodul/bin/gui/image/FTPDownloader_GUI.class | Bin 11192 -> 11247 bytes Dozentenmodul/src/gui/image/FTPDownloader_GUI.java | 2 +- Dozentenmodulserver/bin/sql/SQL.class | Bin 22443 -> 22455 bytes Dozentenmodulserver/src/sql/SQL.java | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dozentenmodul/bin/gui/image/FTPDownloader_GUI.class b/Dozentenmodul/bin/gui/image/FTPDownloader_GUI.class index 45ca0eae..30bcf2f4 100644 Binary files a/Dozentenmodul/bin/gui/image/FTPDownloader_GUI.class and b/Dozentenmodul/bin/gui/image/FTPDownloader_GUI.class differ diff --git a/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java b/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java index 97a29849..d09d6c03 100644 --- a/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java +++ b/Dozentenmodul/src/gui/image/FTPDownloader_GUI.java @@ -390,7 +390,7 @@ public class FTPDownloader_GUI extends JFrame implements PropertyChangeListener try { user = client.getFtpUser(); - downloadFile = client.getPathOfImage(Image.image.getImageId(), + downloadFile = user.path+"/"+client.getPathOfImage(Image.image.getImageId(), Image.image.getVersion()); } catch (TException e) { diff --git a/Dozentenmodulserver/bin/sql/SQL.class b/Dozentenmodulserver/bin/sql/SQL.class index 8d982341..df7bf1f2 100644 Binary files a/Dozentenmodulserver/bin/sql/SQL.class and b/Dozentenmodulserver/bin/sql/SQL.class differ diff --git a/Dozentenmodulserver/src/sql/SQL.java b/Dozentenmodulserver/src/sql/SQL.java index c9c4fe4a..9a746093 100644 --- a/Dozentenmodulserver/src/sql/SQL.java +++ b/Dozentenmodulserver/src/sql/SQL.java @@ -120,6 +120,7 @@ public class SQL { + "' and imageVersion='" + version + "';"); + rs.first(); String path=rs.getString("image_path"); con.close(); return path; -- cgit v1.2.3-55-g7522