Bonjour je veux extraire la date de création d'un fichier localisé dans un serveur distant, je peux extraire la date de dernière modification mais j'ai besoin de la date de création du fichier :

voici mon code mais la bibliotheque que j'utilise ne permet d'extraire que la date de la date de dernière modification. est ce qu'il ya un autre moyen pour faire cela?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 
 import com.jcraft.jsch.Channel;
    import com.jcraft.jsch.ChannelSftp;
    import com.jcraft.jsch.JSch;
    import com.jcraft.jsch.JSchException;
    import com.jcraft.jsch.Session;
    import com.jcraft.jsch.SftpException;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
 
 public class mytest {
 
 
        public static void main(String args[]) throws ParseException {
 
            //===============================================================
            String hostname = "10.10.11.19";
            String username = "root";
            String password = "passwword";
            String remoteFile = "/opt/test_pyt/teeeeeeest.txt"
            String copyTo = "/home/desk/Desktop";
            JSch jsch = new JSch();
            Session session = null;
            System.out.println("Trying to connect.....");
            try {
                session = jsch.getSession(username, hostname, 22);
                session.setConfig("StrictHostKeyChecking", "no");
                session.setPassword(password);
                session.connect();
                Channel channel = session.openChannel("sftp");
                channel.connect();
                ChannelSftp sftpChannel = (ChannelSftp) channel;
                //get date of file=========================================   
                String lastModif = sftpChannel.lstat(remoteFile).getMtimeString();
 
                //I want to get creation date =============================
                creation_date= ???????????;
 
              //==============================================
                    sftpChannel.get(remoteFile, copyTo);
                    sftpChannel.exit();
                    session.disconnect();
 
 
            } catch (JSchException e) {
            } catch (SftpException e) {
            }
 
        }
    }
merci pour votre aide