If you want to share any type of file on another device then you don't need an internet connection. You can share files without any internet connection.