Skip to content

Instantly share code, notes, and snippets.

@TheUltimateC0der
TheUltimateC0der / FTP-UploadDirectory.ps1
Created May 12, 2017 19:37 — forked from dkittell/FTP-UploadDirectory.ps1
PowerShell – FTP Upload Directory With Sub-Directories
clear
# FTP Server Variables
$FTPHost = 'ftp://192.168.1.1/html/'
$FTPUser = 'user'
$FTPPass = 'password'
#Directory where to find pictures to upload
$UploadFolder = "C:\Temp\"