• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 377
  • Last Modified:

sftp solution requires return codes

I am currently implementing an ftp solution to a 3rd party via scripting. Normally I would ncftpput / ncftpget as this allows the interrogation of returnm codes, however in this instance the transfer must be encrypted. Is there any equivalent using sftp i.e. sftpput.

Or can anyone suggest any other tools that may be applicable.

It is worth mentioning we only have access our side of the net work and have no control over the server we are pulling from.

Any help greatly appreciated.

1 Solution
scp should work
You can script sftp, using the -b option, as I recall. However, its ability to return error codes is very limited.

scp is probably the better way to go.
NetstoreAuthor Commented:
Cheers looks like scp will cause the least grief.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now