Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | sftp status error/status code |
|---|---|
| Date: | 12 Apr 2007 17:47:40 -0000 |
Is there a way to receive "sftp status codes" as part of the sftp command response message on stdout, when an sftp command is issued on stdin. For instance: Issuing the "get" command interactively to an ftp server, I receive the following response on stdout: 550 filename: No such file or directory. The same command sent to an OpenSSH sftp server receives the following response: Couldn't stat remote file: No such file or directory. File "/local/abbb/foo" not found. I need to programmatically extract the status code off the stdout output. However, I haven't found a way to get the "status code" in stdout. Does anyone know of a way to get the "sftp status codes" sent to stdout, like ftp servers do? I have tried Verbose and Debug options.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Question on DNS spoofing and CheckHostIP, Robert Hajime Lanning |
|---|---|
| Next by Date: | Re: sftp status error/status code, Robert Hajime Lanning |
| Previous by Thread: | Question on DNS spoofing and CheckHostIP, Jithesh Kaveetil |
| Next by Thread: | Re: sftp status error/status code, Robert Hajime Lanning |
| Indexes: | [Date] [Thread] [Top] [All Lists] |