I am new to FTP and Powershell. I have setup an FTP server on my local machine as mentioned : here .. I'm trying to upload files to it from a Powershell script and I have succeeded from my local machine.
But when I try to run the script from Azure Automation, I get: "Unable to connect to the remote server" error . I also tried my script to enable Passive Mode as shown here
I also tried sharing my ftp folder on network drive for all users, disabled all firewalls, setup FTP Firewall Support in IIS with my public IP address and full data channel port range, but I still get the same error. Please help.