This is the first time I am using the netrw plugin, I am able to open files on remote server using
:e scp://username@ipaddress//path/to/folder/
followed by selecting the correct file and opening it.
After I finish editing it when I try to write back the changes I get the E382: error specified in the title.
let g:netrw_cygwin =0
let g:netew_use_nt_rcp=0
let g:netrw_scp_cmd = "\"E:\\Program Files\\PuTTY\\pscp.exe\" -pw password123"