
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
fileup
is your go-to Python package for hassle-free uploading and sharing of files right from your command-line interface! 🖥️
You can set a time limit after which the file will be automatically removed, ensuring the security of your data. 🕒
~/.config/fileup/config.ini
To install fileup
, simply run the following command:
pip install -U fileup
Before you can start sharing your files, you'll need to create a configuration file at ~/.config/fileup/config.ini
with the following structure:
# ~/.config/fileup/config.ini
[default]
protocol = ftp # or scp
hostname = example.com # or the Host from your ~/.ssh/config
base_folder = /path/to/files # where files are stored on the server
file_up_folder = # subdirectory in URL, can be empty
url = files.example.com # the actual URL where files are accessible
[ftp]
username = my_user_name
password = my_difficult_password
[scp]
# If empty, will use your SSH config
username =
# If using SSH config, no need for these
private_key =
password =
For FTP uploads, you need to provide both username
and password
in the [ftp]
section.
For SCP uploads, you have two options:
protocol = scp
and using a hostname from your ~/.ssh/config
username
and optionally private_key
in the [scp]
sectionFor a list of available commands, type fu -h
.
In a nutshell, you can use fileup
by running:
fu filename
The command supports several options:
-t DAYS
, --time DAYS
: Set an expiration time in days (default: 90, use 0 for no expiration)-d
, --direct
: Return a direct URL without any prefixes-i
, --img
: Return the URL formatted for markdown image embeddingThis is the output of fu -h
:
usage: fu [-h] [-t TIME] [-d] [-i] filename
Publish a file.
Create a config file at ~/.config/fileup/config.ini with the following structure:
[default]
protocol = ftp # or scp
hostname = example.com # or the Host from your ~/.ssh/config
base_folder = /path/to/files # where files are stored on the server
file_up_folder = # subdirectory in URL, can be empty
url = files.example.com # the actual URL where files are accessible
[ftp]
username = my_user_name
password = my_difficult_password
[scp]
# If empty, will use your SSH config
username =
# If using SSH config, no need for these
private_key =
password =
positional arguments:
filename
options:
-h, --help show this help message and exit
-t TIME, --time TIME If time is 0 the file will never be deleted, default is 90 days.
-d, --direct
-i, --img
.ipynb
), the returned URL will be accessible via nbviewer.jupyter.orgfileup
currently supports the pbcopy
command, so the URL will be automatically copied to your clipboard on macOS systems. 📋✨
ssh
and scp
commands to be availableGive fileup
a try today and experience the convenience of effortless file sharing right from your command-line! 🎉
FAQs
Easily upload files to an FTP-server and get back the url.
We found that fileup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.