Hi all,

We want to use sftp in batch and we have a problem with the return code
openssh sftp retuns. If for example, you try to get/pit a file that does
not exist, you will receive a rc = 0. 

We have tested sftp -b test.txt -oBatchMode=yes [EMAIL PROTECTED]
2>debug.log

and then analyze debug.log with a perl BUT it will be a lot of work !.

Does anybody know how we can resolve this problem ? 

Thanks a lot.
Pierre. 


-----------------------------------------
Visit our website! http://www.nbb.be

"DISCLAIMER: The content of this e-mail message should not be
construed as binding on the part of the National Bank of Belgium
(NBB) unless otherwise and previously stated. The opinions
expressed in this message are solely those of the author and do not
necessarily reflect NBB viewpoints, particularly when the content
of this message, or part thereof, is private by nature or does not
fall within the professional scope of its author."

Reply via email to