I'm using a vbscript to pscp a text file over to a Linux device on Centos 6 (httpd.conf). If I nano the file and paste in the text, apache will start just fine, but using pscp to transfer the same text file gives me errors.
- I've tried changing permissions of the file, not the issue.
- I've tried doing a Replace(text,vbcrlf,vblf), still no luck.
- I'm using FSO.OpenTextFile(file, 2, True, 0) to make sure it's ASCII
Any other replacements I need to do, or parameter I need to use with PSCP?