Skip to main content

Transferring data between PCs library

Project description

FileSocket

Library for file transfer and remote PC control

Links

Quick usage

from pathlib import Path
from filesocket import sign_in, show_all_pc, ManagedClient, ManagingClient


# Sign in
sign_in("login", "password")

# Create managed client
client = ManagedClient(port=7999, require_token='token')
client.run()

# Get managed pc id
all_pc = show_all_pc()

# Create managing client
client = ManagingClient(device_id=all_pc[0].id, device_secure_token='token')
client.run(text_ui=False)

# Send cmd command
client.cmd_command('ipconfig')

# Send file
client.send_file(Path("local/path/to/file/to/send"), Path("path/where/to/put"))

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

filesocket-0.1.8-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page