diff --git a/authkit/pom.xml b/authkit/pom.xml
index 2c9ec446..a4c8a975 100644
--- a/authkit/pom.xml
+++ b/authkit/pom.xml
@@ -74,6 +74,10 @@
xerces
xercesImpl
+
+ commons-fileupload
+ commons-fileupload
+
diff --git a/pom.xml b/pom.xml
index 23bec3ff..27b47bbe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
org.springframework.boot
spring-boot-starter-parent
3.2.1
-
+
@@ -49,10 +49,10 @@
1.10.0
3.9.0
2.11.0
- 1.22
+ 1.24.0
4.4
4.5.14
- 0.33.0
+ 0.36.0
1.70
1.8
1.1.2
@@ -62,10 +62,11 @@
2.7
3.5.0
5.6
- 10.1.1
+ 10.4.2
1.6.0
- 2.5.2.0
- 2.1.1
+ 2.5.3.0
+ 2.1.3
+ 8.2.0
22.3.1
3.10.1
3.0.0-M7
diff --git a/transfertfiles/src/main/java/tv/hd3g/transfertfiles/sftp/SFTPFile.java b/transfertfiles/src/main/java/tv/hd3g/transfertfiles/sftp/SFTPFile.java
index 648b2e39..df4ae406 100644
--- a/transfertfiles/src/main/java/tv/hd3g/transfertfiles/sftp/SFTPFile.java
+++ b/transfertfiles/src/main/java/tv/hd3g/transfertfiles/sftp/SFTPFile.java
@@ -491,6 +491,7 @@ public long getLastModifiedTime() throws IOException {
private class LocalDestFileImpl extends TransferListenerImpl implements LocalDestFile {
+ private static final String NOT_AVALIABLE = "Not avaliable";
private final OutputStream outputStream;
LocalDestFileImpl(final OutputStream outputStream,
@@ -504,9 +505,22 @@ public OutputStream getOutputStream() throws IOException {
return outputStream;
}
+ @Override
+ public long getLength() {
+ throw new UnsupportedOperationException(NOT_AVALIABLE);
+ }
+
+ @Override
+ public OutputStream getOutputStream(final boolean append) throws IOException {
+ if (append) {
+ throw new UnsupportedOperationException("Append not avaliable");
+ }
+ return outputStream;
+ }
+
@Override
public LocalDestFile getChild(final String name) {
- throw new UnsupportedOperationException("Not avaliable");
+ throw new UnsupportedOperationException(NOT_AVALIABLE);
}
@Override
@@ -516,7 +530,7 @@ public LocalDestFile getTargetFile(final String filename) throws IOException {
@Override
public LocalDestFile getTargetDirectory(final String dirname) throws IOException {
- throw new UnsupportedOperationException("Not avaliable");
+ throw new UnsupportedOperationException(NOT_AVALIABLE);
}
@Override