User-2108767085 posted
Hi there
I am setting up an FTP site via PowerShell. I can get all the basics OK but I cant seem to figure out how to set the Advanced Settings..
Things like - Max Connections, Control Channel Timeout
I found this:
Set-WebConfigurationProperty '/system.applicationHost/sites/site[@name="Default Web Site"]' -Name Limits -Value @{MaxConnections=}
But cant make it work for my FTP site.
I have tried through the Configuration Editor as well and the string it gives me also does not work:
Add-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST/TestFTPsite' -filter "system.net/connectionManagement" -name "." -value @{maxconnection=10000}
It errors saying - Add-WebConfigurationProperty : Property TestFTPsite is not found on system.net/connectionManagement.
Any advice would be great!
Thanks