[ 
https://issues.apache.org/jira/browse/SSHD-963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

barry-gq updated SSHD-963:
--------------------------
    Description: 
background:

I have a project to process some data with apache sshd-sftp

 

I use filezilla to upload a file and turn on the option to preserve the 
timestamp of the transferred file,but modifytime is not set correctly

 

java code description:

After uploading a file, the server code can receive the accesstime and 
modifytime normally, but when the client processes version V3, there is only 
one flags parameter, which makes it impossible to set modifytime correctly.The 
two codes of the picture are: pciture 1:AbstractSftpSubsystemHelper :: 
setFileAttributes, pciture 2:AbstractSftpClient :: writeAttributes

 

 

  was:
I use filezilla to upload a file and turn on the option to preserve the 
timestamp of the transferred file,but modifytime is not set correctly

 

java code description:

After uploading a file, the server code can receive the accesstime and 
modifytime normally, but when the client processes version V3, there is only 
one flags parameter, which makes it impossible to set modifytime correctly.The 
two codes of the picture are: pciture 1:AbstractSftpSubsystemHelper :: 
setFileAttributes, pciture 2:AbstractSftpClient :: writeAttributes

 

 


> Uploading a file with filezilla,preserve timestamps of transferred files, but 
> setting fileAttributes failed
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SSHD-963
>                 URL: https://issues.apache.org/jira/browse/SSHD-963
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: barry-gq
>            Priority: Blocker
>             Fix For: 1.7.0
>
>         Attachments: 1.png, 2.png
>
>
> background:
> I have a project to process some data with apache sshd-sftp
>  
> I use filezilla to upload a file and turn on the option to preserve the 
> timestamp of the transferred file,but modifytime is not set correctly
>  
> java code description:
> After uploading a file, the server code can receive the accesstime and 
> modifytime normally, but when the client processes version V3, there is only 
> one flags parameter, which makes it impossible to set modifytime 
> correctly.The two codes of the picture are: pciture 
> 1:AbstractSftpSubsystemHelper :: setFileAttributes, pciture 
> 2:AbstractSftpClient :: writeAttributes
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to