Search
 
SCRIPT & CODE EXAMPLE
 

C

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%
)
Comment

PREVIOUS NEXT
Code Example
C :: online c compiler for graphics 
C :: C Change Value of Array elements 
C :: check if string is number c 
C :: injection 
C :: c disable struct padding 
C :: turn on and turn off different device at the same time in rainmaker 
C :: c program boilerplate code 
C :: list fiter octobercms 
C :: C (K&R) 
C :: garbage collection and dangling reference 
C :: how we can strore a nested structure values in arrays 
C :: c michael 
C :: python to c converter online free 
C :: laarvel artisan to create controller model miigration 
C :: creating an array of arrays or 2D array dynamically 
C :: listas enlazadas/ linked lists 
C :: email dev Microsoft Outlook 2007 items all aligned left or aligned wrong 
C :: programmation c 
C :: print binary c 
C :: compile opencv program 
C :: unox reclame harmonica tabs 
Dart :: flutter flotingactionbutton position 
Dart :: datetime dart format print 
Dart :: round to decimal places dart 
Dart :: flutter remove status bar 
Dart :: BoxShadow class - painting library - Flutter API 
Dart :: hive regiter adapter enum 
Dart :: get file type from file path flutter 
Dart :: dart json encode example 
Dart :: flutter slider color 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =