![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
ftp-loader is a tool to download from and upload data files to FTP server. It is intended to use in projects with large data files. Data files are bad candidates for version control managment systems. They are better to be placed at FTP server and be downloaded on demand.
The suggested workflow is the following. Data files are placed in folders added to gitignore. ftp-config.toml file is used to maintain list of data files and their locations both at project folder and FTP. This is default name, but other *.toml files can be used to split file index into separate parts. Files can be compressed.
pip install ftp-loader
ftp-loader -h
Shows help.
ftp-loader [--overwrite] [ftp-config.toml]
Downloads and extracts data from FTP server. Index file name is optional. Default index file - ftp-config.toml.
ftp-loader --upload [--overwrite] [ftp-config.toml]
Compresses and uploads data to FTP server. Index file name is optional. Default index file - ftp-config.toml.
--overwrite
Option instructs to overwrite existing files.
--check FTP_URL
Checks user's initial path at ftp server.
--base-path BASE_PATH
Specifies initial path at ftp.
When user logs in its path can be different from the path to FTP root. In this case path to FTP's root must be specified. This can be done in two ways.
By specifying --base-path parameter in command line.
By setting base path in the configuration file. The configuration file must have
name .ftp-loader-config.json
located at the user's home directory.
It must contain "hosts" key with a dictionary of hosts and corresponding paths.
For example:
{
"hosts": {
"server.ftp.ru": "/home/path1"
}
}
Index file must contain the following parameters:
FTP server URL.
url = "server.ftp.ru"
Path to project's folder at FTP. For now only Unix-style is supported.
path = "/projects/test-data"
List of files to be transferred. It is a list of file groups. Each group contain 3 or 4 parameters:
[[files]]
dst = "work" # Destination folder name.
src = "storage" # Source folder name relative to 'path'.
arch = "bz2" # Optional. Archive type. Supported archive formats:
# gz, bz2
names = [ # list of file names.
file1.txt,
file2.csv
]
Every group of files starts with [[files]]
header. The number of groups
is arbitrary.
Example of index file can be found in tests folder - ftp-config.toml.
FAQs
A package to download project data files from FTP
We found that ftp-loader 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.