[ 
https://issues.apache.org/jira/browse/SSHD-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012413#comment-18012413
 ] 

Thomas Wolf commented on SSHD-1346:
-----------------------------------

Did you see the [answer I 
posted|https://www.mail-archive.com/dev@mina.apache.org/msg42943.html] when you 
asked this on the mailing list?

AFAIK there is nothing in the SFTP protocol where the client announces the file 
size before uploading the file.

> File size limit
> ---------------
>
>                 Key: SSHD-1346
>                 URL: https://issues.apache.org/jira/browse/SSHD-1346
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Mateusz Nowacki
>            Priority: Major
>
> I work in a project where we use sftp apache mina. One of the requirements is 
> to add a limitation on the size of files transferred. This parameter is not 
> always available and depends on the client and version used (for example 
> winscp in older versions does not provide this parameter).
>  
> Is there any way to read the file size before it is fully uploaded to the 
> server?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to