Encrypted File Transfer via Sockets in Python

  Рет қаралды 23,545

NeuralNine

NeuralNine

Күн бұрын

Пікірлер
@dankeroner
@dankeroner Жыл бұрын
"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
@Dyanosis
@Dyanosis 7 ай бұрын
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)".
@uncannyRishabh
@uncannyRishabh 2 жыл бұрын
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
@kmazz3666
@kmazz3666 2 жыл бұрын
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.
@khadijanaz404
@khadijanaz404 2 жыл бұрын
same issue
@lengors7327
@lengors7327 2 жыл бұрын
Are you running the server on the windows or on the mac machine? Also, which firewall were you messing with?
@khadijanaz404
@khadijanaz404 2 жыл бұрын
@@lengors7327 window
@uncannyRishabh
@uncannyRishabh 2 жыл бұрын
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 🤡
@tips1483
@tips1483 2 жыл бұрын
Love the video, I'd love to see this with an encryption implementation similar to SSL!
@paulthomas1052
@paulthomas1052 2 жыл бұрын
Great tutorial - really enjoying your sessions. Thanks :)
@mtahiralauddin
@mtahiralauddin 2 жыл бұрын
Your content is always good
@safakkoklu6414
@safakkoklu6414 8 ай бұрын
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.
@roamsoffical
@roamsoffical 2 жыл бұрын
More Encrypted like content, its very cool.
@pyalgoGPT
@pyalgoGPT 2 жыл бұрын
It will be best of both world if a Flet app is made ,which provides this feature !
@atsbmnt7279
@atsbmnt7279 2 жыл бұрын
very nice @NeuralNine Thank you
@pythonmini7054
@pythonmini7054 Жыл бұрын
It only works on txt file not on docx files
@marcboutilier7044
@marcboutilier7044 Жыл бұрын
Did you make sure that client.send() has the proper end or not? Like: client.send("Example.docx") Just curious
@oliverli9630
@oliverli9630 Жыл бұрын
awesome!!!!
@alexandruspinu2484
@alexandruspinu2484 2 жыл бұрын
Neat
@JNET_Reloaded
@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!
@Dyanosis
@Dyanosis 7 ай бұрын
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
@JNET_Reloaded Жыл бұрын
btw mkv is total shit i always stick with mp4, least then it plays on the player side!
Massively Speed Up Requests with HTTPX in Python
7:34
NeuralNine
Рет қаралды 24 М.
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 168 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
Makefiles in Python For Professional Automation
13:43
NeuralNine
Рет қаралды 45 М.
SHA: Secure Hashing Algorithm - Computerphile
10:21
Computerphile
Рет қаралды 1,2 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 834 М.
Secret Key Exchange (Diffie-Hellman) - Computerphile
8:40
Computerphile
Рет қаралды 987 М.
File Transfer via Sockets in Python
14:44
NeuralNine
Рет қаралды 64 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 353 М.
threading vs multiprocessing in python
22:31
Dave's Space
Рет қаралды 599 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 164 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 190 М.
How a Clever 1960s Memory Trick Changed Computing
20:05
LaurieWired
Рет қаралды 453 М.