Here is the solution :-
1 open twrp recovery in your phone
2 connect the data cable to your phone and your computer
3 in the recovery click on ENABLE MTP option
4 after that download MINIMAL ADB AND FASTBOOT SOFTWARE IN YOUR COMPUTER i will post the link
5 install it on your pc and copy any file you wanna past and past it in the c drive programme files x86 minimal adb folder
6 than open the cmd by shift and right click open cmd here
7 in cmd type 1st command - adb devices hit enter
2nd. adb push (file name) without breakets /sdcard/.
Done your file will be copied to twrp and now you can easily flash a rom , file etc.
---------- Post added at 05:53 PM ---------- Previous post was at 05:52 PM ----------
Solution posted
---------- Post added at 05:56 PM ---------- Previous post was at 05:53 PM ----------
Minimal adb and fastboot link
https://forum.xda-developers.com/showthread.php?t=2317790