At a second glance, your answers add nothing, you're supposed to explain yourself here, not send people to other pages that they can find with Google if they want to.
Nevermind, if you don't want to or most likely can't provide a valuable answer, then don't.
What you posted is wrong, it's not a solution to move a file from Unix to Windows using SFTP,
so your answer is just misleading Googlers like me who end up here.
Even if your code is right, it's not easy to adapt it for the case of the users who come to this page for help because you provided the least possible amount of explanation for us to make sense it.
No wonder your answers got 0 likes.
... View more