"pip install pycrypto" failed "pip install pycryptodome " worked perfectly close the file after reading it to prevent encoding and decoding errors with open('"file", "rb") as f: data = f.read() f.close() .... .... .... Thanks for the content bruv
@Dyanosis7 ай бұрын
But you're using "with", which handles closing the file for you. Also f doesn't exist in the outer scope, only the scope of the with... so f.close() in your example does nothing. That'd be like saying that, in Java, you still need to close a file/resource that was opened with "try(some_resource)".
@uncannyRishabh2 жыл бұрын
No matter what I do, I cannot send any kind of messages or files remotely from windows to my mac machine. I have tried opening the ports on the firewall, disabling the firewall, while keeping the IP address as my public IP, I even tried changing the port to 8080 (i thought this would make the transfer possible via http but didnt work).. am I missing something, please help me out. Thanks in advance
@kmazz36662 жыл бұрын
Are the files you are sending compatible with mac? Windows programs are not compatible with mac. It wont understand the data it's decrypting. Or are you talking about just establishing the connection itself? You'll have to forward the port on your router if you're trying to connect outside of your local network.
@khadijanaz4042 жыл бұрын
same issue
@lengors73272 жыл бұрын
Are you running the server on the windows or on the mac machine? Also, which firewall were you messing with?
@khadijanaz4042 жыл бұрын
@@lengors7327 window
@uncannyRishabh2 жыл бұрын
I figured it out guys, my ISP is blocking requests to my forwarded ports (I did port forwarding on my router), but I realised it later that it was my ISP. And now I'm back to developing Android apps 🤡
@tips14832 жыл бұрын
Love the video, I'd love to see this with an encryption implementation similar to SSL!
@paulthomas10522 жыл бұрын
Great tutorial - really enjoying your sessions. Thanks :)
@mtahiralauddin2 жыл бұрын
Your content is always good
@safakkoklu64148 ай бұрын
That is not a good approach for sending big files. Storing the recieved data in variable consumes your ram equals to the file size. You may want to write recieved data chunk on disk as soon as you get and empty the variable.
@roamsoffical2 жыл бұрын
More Encrypted like content, its very cool.
@pyalgoGPT2 жыл бұрын
It will be best of both world if a Flet app is made ,which provides this feature !
@atsbmnt72792 жыл бұрын
very nice @NeuralNine Thank you
@pythonmini7054 Жыл бұрын
It only works on txt file not on docx files
@marcboutilier7044 Жыл бұрын
Did you make sure that client.send() has the proper end or not? Like: client.send("Example.docx") Just curious
@oliverli9630 Жыл бұрын
awesome!!!!
@alexandruspinu24842 жыл бұрын
Neat
@JNET_Reloaded Жыл бұрын
wheres the link to the code whats the point in having github if your not going to make a repo for every project on yt makes no fkin sense!
@Dyanosis7 ай бұрын
Someone needs a chill pill and to learn how to talk to other people even though the internet gives you "anonymity". Besides, there's this lovely feature called "pause" for videos. Maybe you've heard of it? You can pause the video and copy what he's written. It's better, for your learning, if you're forced to write/type out what he did so you better understand what you're using rather than just copy/pasting and not understanding a thing.
@JNET_Reloaded Жыл бұрын
btw mkv is total shit i always stick with mp4, least then it plays on the player side!