0

I would like to write a python script to get all the files of a SP Library and print the date of the file, using SharePlum but alternatives are welcome too. Something like:

folder = site.Folder('Shared Documents/test')
    allfiles = folder.files
    for file in allfiles:
        print(file['Date'])

1 Answers1

0

I try to get the created time of the file for your reference: enter image description here

folder = site.Folder('Shared Documents/images')
print(folder)
allfiles = folder.files
for file in allfiles:
    print(file["TimeCreated"])
Amos
  • 2,030
  • 1
  • 5
  • 9