I use pscp to copy a file from Windows to Unix and I run it using VBA.
After pscp command how will I ensure that file is transferred successfully?
shell "pscp -P 22 -pw abcd test.csv [email protected]:/u01/test"
I use pscp to copy a file from Windows to Unix and I run it using VBA.
After pscp command how will I ensure that file is transferred successfully?
shell "pscp -P 22 -pw abcd test.csv [email protected]:/u01/test"
Test
pscpexit code.0is success,1is error.For examples of code that test exit code of an application, see: