Jun-25-2020, 08:40 AM
//xx.xx.xx.xx//d$//ftpAutoLogin//jflow-data-files-poc
is not a path on a regular file system, it's a network resource with a different protocol.Just mount the samba share as drive letter and then you can use regular file system operations like
open
or os.listdir()
.If you want to use the samba protocol directly, you have to look for smbprotocol on PyPi or similar packages.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!