Using python socket to send or convert files.
python2
socket
if you are sender copy your files to dir and run:
set your file name in sendto.py first
python tosend.py
if you are receiver you have 2 options:
- 1- Simply recv the file with orginal format
- 2- Recv the file with converted format
if you choose 1 then ask your sender to tell you orginal format and set it to receiver.py:
recv_file = open('anyName.askYourServerToTellYourFormat','wb')
and
python receiver.py
but if you choose 2:
recv_file = open('anyName.yourformat','wb')
- my website: razyar saeedian