diff options
author | Damian Minkov <damencho@jitsi.org> | 2009-08-27 12:03:08 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2009-08-27 12:03:08 +0000 |
commit | 73e587302c49e4e0c2d137b3ba99213f6a0f0bd6 (patch) | |
tree | 54bc2c444a1ba4880a9e88e1191d3482674ef18f /src/net/java/sip/communicator/impl/protocol/ssh/OperationSetFileTransferSSHImpl.java | |
parent | a9846ca1adaaa4d4d08fa84bc54b21786f2899ba (diff) | |
download | jitsi-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.java | 9 |
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; + } } |