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 details)
File details
Details for the file ifolder-1.5.6.tar.gz.
File metadata
- Download URL: ifolder-1.5.6.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee93c5f66da8c7ce482ae6f8920cd7a0a93b8956f2feb07f81f11a2d98c03a97
|
|
| MD5 |
0c1f620d305b05026cc3b73fbfc76e80
|
|
| BLAKE2b-256 |
e99ba0321a3b46d843d7c9ee7b44beee34564e837091bf3011c241c7edd60f1a
|