You would have to download only a ZIP central directory (at the and of the ZIP archive) and decode it. But WinSCP does not support partial file downloads.
I need download a huge size zip package from remote sftp server at the specific time of one day.
And before download, I need to check the files information( e.g. file name, modified date ) in
zip package to make sure the zip package is what I want.
Now I use Session.GetFileInfo( zipFilePath ) to get the zip file information.
Anyone have idea to the next step without download the zip file?