InetTransferLib - http - can I get the file LastModified attrib before download?

  • Thread starter Thread starter Robin
  • Start date Start date
R

Robin

Hi

Yesterday I managed to implement the http part of "InetTransferLib" (as a
Class Module rather than an add-in), and it works superbly (see elsewhere in
this NG).

Pushing my luck, I now wonder if there is a way to get the file LastModified
attribute before a file is downloaded. Downloading causes this to be
updated and I need to know what it was prior to download.

Any ideas gratefully accepted!

Regards

Robin
 
Ok - this has been solved. For internal SharePoint sites (where the issue
arose), I didn't need to use HTTP or "InetTransferLib", since:

http://SomeServer/SomeFolder/SomeFile

is equivalent to

\\SomeServer\SomeFolder\SomeFile

Using the alternative straight address, the file behaves like part of the
internal file system and I can use FileSystemObject DateLastModified in the
way I wanted to.

:-)

R
 
Back
Top