Re: Test if upload is enabled without a file
                There's no API in SFTP protocol that could by used by WinSCP (or anything else) to test, if the server is read-only.
                
            
        $session.PutFiles instead of using an existing filepath or is there any other way to solve this?