Skip to content

Error to start Process.Start("/bin/sftp", $"{args}")) #1549

Answered by ashishdhingra
LukaszGmaj asked this question in Q&A
Discussion options

You must be logged in to vote

@LukaszGmaj Although I'm not sure, the default Lambda runtime image is quite restrictive and minimal in terms of included packages. The error An error occurred trying to start process '/bin/sftp' with working directory '/var/task'. No such file or directory is quite evident. There is no program named /bin/sftp. You may try using your customer runtime image for the Lambda function, where your Docker file includes any 3rd party packages.
Answer:
Thanks,
Ashish

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@github-actions
Comment options

@LukaszGmaj
Comment options

Answer selected by github-actions
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants