i need to be able to SFTP though VBA. I have an Access program that pulls data, manipulates it and now i have to find a way to upload the excel 07 file through SFTP.
i’ve been looking on the net for days and can’t find anything. I saw a similar topic here How to use sftp from within an MS Access database module?, and i’d love to find Mat Nadrofsky, because it seemed like he has a solution, i just cant understand any of it)))))))))))
so if someone can explain what that solution was about or has a different solution – i’d really appreciate it
thank you
In the previous SO answer you linked, Mat Nadrofsky used an sftp command line client. In this example my sftp client is pscp.exe. That client is part of the PuTTY tools: PuTTY Download Page
I want to build and run a command like this to copy sample.txt to my home directory on the remote machine:
So this procedure will build and run that command string.
You may prefer ShellAndWait instead of Shell, as David Fenton suggested in a comment on the previous answer.