Issue #3308744 by andypost, bbrala: Fix magic connection property access from \Drupal\Core\FileTransfer\FileTransfer::__get() (cherry picked from commit 7db1fcdb)