Welcome to the community Vasilis.

Firstly, if you post code, please use the ‘Insert Code’ button. Please and thank you!

PLEASE READ BEFORE POSTING! Read if you're new to the PowerShell forum! .

192033ab-bb8f-4032-88a5-8e2313af0344-codebutton_small.png

Soooo … the first question anyone here is going to ask is, “What results are you seeing?”

Let’s approach the topic methodically:

  1. Are there files in the C:\temp\ftp\ folder that you want to put to ftp?
  2. If you manually run the steps in your ‘Copy’ file one by one, do you get the results you want?
    1. Do you end up with files in the From folder on your ftp server?
  3. Are there files in the ftp folder that you want to get?
  4. If you manually run the steps in your ‘Get’ file one by one, do you get the results you want?
    1. I could be misreading it, but I think you are trying to write files to ftp: then pull those same files back down, a practice/trial

Once we establish that the steps work when run manually then we can look at automating them.

@vasilarosv