www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: [SFTP] how to determine the creation time of the file when browsing directory.

[SFTP] how to determine the creation time of the file when browsing directory.

From: Velichko Yuriy <velichko.yuriy_at_gmail.com>
Date: Mon, 26 Aug 2013 18:18:43 +0300

Hello!

I need to get list of files in the directory, sorted by creation date.

To get list of files I use the function:

libssh2_sftp_readdir()

Is there a way to retrieve data about file creation from structure
LIBSSH2_SFTP_ATTRIBUTES, or from some one else?

PS: or the attribute "atime" - it what i need?

Thanks!

-- 
Best Regards!

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2013-08-26

the libssh2 team