Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ifolder, version 1.5.6
Filename, size File type Python version Upload date Hashes
Filename, size ifolder-1.5.6.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page