Good morning , I’m new on powershell and I need help for a simple script.
What I would like to do is a script that Upload 1 o 2 files from local folder “c:\test” to a folder on my FTP server in a specifica folder called “testup”. It’s possible?
The is somebody can help me?
Thanks in advance
Hello and welcome to the forum. Generally speaking most discussion boards for Powershell (or anything) aren’t in the practice of writing code for people. If you write some code and need help with it, we can certainly do that.
Powershell itself doesn’t have any native cmdlets for interacting with FTP. I’ve seen some people use some .NET namespaces for it.
Personally I’ve used the Powershell module Posh-SSH because specifically I needed SFTP support.
You’ll need to know what type of FTP connection you’re making (FTP, FTPS, SFTP) and then you can explore your options from there. Other than that it should be fairly straightforward in Powershell.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.