transfer video file to iphone from macbook over shared internet connection

[Not a full answer; not re CLI] I don’t know if the transfer is possible in a useful manner, but look at iExplorer from Macroplant & especially its feature to use device as USB drive. Whatever limitations exist to this (e.g., no root directory access) would suggest to me that those limitations are fundamental to iOS.