curl ftp upload file to directory
@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:
- powershell some fonts like #include are dissapearing
- allocate memory c
- int to float c
- deallocate memory in c
- plt legend top right outside
- insertion singly linked list in c
- if statement in c
- qtableview get selected row
- find string in all files powershell
- c float to int
- C bitwise integer absolute value
- string strcat function in c
- even odd numer c
- allocating memory for 1Mb text file in C
- how to mutex lock in c
- how to login to another user in powershell
- pygame detect click
- fgets c
- curl ftp upload file to directory
- c printf right pad with space
- how to open a website in c
- C fscanf ignore commas
- how to draw a graph or histogram in c language
- table fixed header