We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
$ftpFile = 'ftp://destination/folder/filename.csv' $ftp = [System.Net.FtpWebRequest]::Create($ftpFile) $ftp = [System.Net.FtpWebRequest]$ftp $ftp.Method = [System.Net.WebRequestMethods+Ftp]::UploadFile $ftp.Credentials = new-object System.Net.NetworkCredential('xxxxxxx',xxxxxx') $ftp.UseBinary = $true $ftp.UsePassive = $true $content = [System.IO.File]::ReadAllBytes($file) $ftp.ContentLength = $content.Length $rs = $ftp.GetRequestStream() $rs.Write($content, 0, $content.Length) $rs.Close() $rs.Dispose()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Powershell - to delete file folders on network share||4||33|
|DFS replication issue||7||66|
|Powershell code to query find desktop PC only||8||33|
|IF statement on a PowerShell Script||2||28|
Join the community of 500,000 technology professionals and ask your questions.