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

Author Message
realconanin

Guest


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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License