Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: How to get files information( e.g. file name, modified date ) in zip package in remote stfp server?

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.
realconanin

How to get files information( e.g. file name, modified date ) in zip package in remote stfp server?

Requirement:
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?