Test if upload is enabled without a file
                Hellooo,
I want to test if an SFTP server is read-only or accepts uploads.
The first thing that comes to mind is of course to upload a file and see if it returns an error however I do not want to have to create a dummy file to upload.
Is there any way to feed a variable or otherwise trick
-David
            
        I want to test if an SFTP server is read-only or accepts uploads.
The first thing that comes to mind is of course to upload a file and see if it returns an error however I do not want to have to create a dummy file to upload.
Is there any way to feed a variable or otherwise trick
$session.PutFiles instead of using an existing filepath or is there any other way to solve this?
-David