aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2009-08-27 12:03:08 +0000
committerDamian Minkov <damencho@jitsi.org>2009-08-27 12:03:08 +0000
commit73e587302c49e4e0c2d137b3ba99213f6a0f0bd6 (patch)
tree54bc2c444a1ba4880a9e88e1191d3482674ef18f /src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java
parenta9846ca1adaaa4d4d08fa84bc54b21786f2899ba (diff)
downloadjitsi-73e587302c49e4e0c2d137b3ba99213f6a0f0bd6.zip
jitsi-73e587302c49e4e0c2d137b3ba99213f6a0f0bd6.tar.gz
jitsi-73e587302c49e4e0c2d137b3ba99213f6a0f0bd6.tar.bz2
Enable filetransfer for aim. Fix compile errors.
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java b/src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java
index 828fcd6..985019e 100644
--- a/src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java
@@ -143,4 +143,13 @@ public class OperationSetFileTransferSSHImpl
logger.error("we should not be here !");
return null;
}
+
+ /**
+ * Returns the maximum file length supported by the protocol in bytes.
+ * @return the file length that is supported.
+ */
+ public long getMaximumFileLength()
+ {
+ return 2048*1024*1024;
+ }
}