Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get the creating date of files ftp python

connection = ftplib.FTP(**ftpCredentials)
modifiedTime = connection.sendcmd('MDTM ' + fileName)
# successful response: '213 20120222090254'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #creating #date #files #ftp #python
ADD COMMENT
Topic
Name
6+8 =