ifolder is a python package for transferring files and folders with tcp socket
Project description
# ifolder ifolder is a python package for transferring files and folders with tcp socket.
receiver
from ifolder import Receiver
# replace this path to a valid one on this machine
toPATH = '/Users/xxxx/Desktop/copyto'
rx = Receiver()
while True:
rx.save_files_to(toPATH)
sender
from ifolder import Sender
ip = ('127.0.0.1',10086)
# files or folders to be sent. should be a list
files = [
'/Users/xxx/Desktop/TEST.pdf',
]
tx = Sender(ip)
tx.send(files)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ifolder-1.5.6.tar.gz
(5.3 kB
view hashes)