linux curl upload file ftp
# curl -T backup-file.tar.gz ftp://username:[email protected]/backup/@echo off
set localdir=C:\something
set ftphost=your.ftp.host.com
set ftpuser=yourftpuser
set ftppass=yourftppassword
set ftpdir=target/directory/on/server
setlocal enableDelayedExpansion
for /F %%x in ('dir /B/D %localdir%') do (
set FILENAME=%localdir%\%%x
curl -T !FILENAME! ftp://%ftphost%/%ftpdir%/ --user %ftpuser%:%ftppass%
)
Also in C++:
- sed replace line with no line
- how to install wps office in ubuntu
- rsync ssh
- how to uninstall heroku cli
- jupyter install user environment
- free memory linux command
- Redis::CommandError: MISCONF Redis is configured to save RDB snapshot
- powershell command shutdown computer
- - laravel/installer is locked to version v3.2.0 and an update of this package was not requested.
- certbot nginx new domain
- supervisord install ubuntu
- [!] Android Studio (version 4.1.0) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality.
- install mcrypt extension centos 7
- how to find where python modules are installed
- origin branch still showing in vscode though deleted
- git overwrite local changes
- uninstall anaconda ubuntu
- unzip command in ubuntu
- How to use .AppImage on Manjaro
- using tail command in linux
- how to install django in virtual environment in ubuntu
- what if there is no run option for a .run file in ubuntu
- shell script sh
- git remove staged area