You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need my DAG to check for a file in a shared folder in the Windows operating system.
A suitable solution was to use the FileSensor tool.
I use this tool as follows:
There are no problems when using folders in the local file system.
I was setting up a connection via the web interface Admin -> Connections.
I set Connection Type to File (path) and everything worked.
However, to access remote resources in Windows, you must use the SMB protocol. I have installed additional packages in the airflow image apache-airflow-providers-samba because it is not available by default.
I need my DAG to check for a file in a shared folder in the Windows operating system.
A suitable solution was to use the
FileSensor tool
.I use this tool as follows:
There are no problems when using folders in the local file system.
I was setting up a connection via the web interface
Admin -> Connections
.I set
Connection Type
toFile (path)
and everything worked.However, to access remote resources in Windows, you must use the SMB protocol. I have installed additional packages in the airflow image
apache-airflow-providers-samba
because it is not available by default.My connection settings are following:
But this does not give any result. The file is still not visible.
Please help me, is it the wrong connection setup?
The text was updated successfully, but these errors were encountered: