I hereby claim:
- I am arthurdent on github.
- I am x2a (https://keybase.io/x2a) on keybase.
- I have a public key ASCNGD9MEXiksRws6Sp0r8_XdCffRA-K3potNQ2Z_h7nqQo
To claim this, I am signing this object:
$Server = "ftp://ftp.example.com/" | |
$User = "[email protected]" | |
$Pass = "[email protected]" | |
Function Get-FtpDirectory($Directory) { | |
# Credentials | |
$FTPRequest = [System.Net.FtpWebRequest]::Create("$($Server)$($Directory)") | |
$FTPRequest.Credentials = New-Object System.Net.NetworkCredential($User,$Pass) | |
$FTPRequest.Method = [System.Net.WebRequestMethods+FTP]::ListDirectoryDetails |
I hereby claim:
To claim this, I am signing this object: