title: Siemens S7-1200: Cannot download datalog
body: <p>I have problem downloading my datalog. Already make a coding using python to automatically download the datalog everyday. And the coding works on three sites. But, on the fourth site, using the same code, I got an ERROR 404 not found. But, the files can be download manually, by clicking it.</p>
  
  <p>Already try searching for the problem in the siemens forum but to no avail.</p>
  
  <p>So, if anyone had experience with this problem and have solution please share with me. </p>
  
  <p>here is my coding;</p>
  
  <pre><code>    import subprocess
      import datetime
      import wget
      from datetime import date, timedelta
  
      yesterday = date.today() - timedelta(1)
      x = yesterday.strftime("%y%m%d")
      print ("Downloading F_" + x + ".csv")
  
      datetime_object = datetime.datetime.now()
  
      url = 'http://{PLC_IP}/FileBrowser/Download?Path=/DataLogs/F_' + x + '.csv'
  
      filename = wget.download(url)
  
      filename
  </code></pre>
  
  <p>Thank you.</p>