How to use sftp from within an MS Access database module? -
i have requirement create simple database in access collect user data loaded database further reporting. there module in access db when invoked user (probably clicking button) output query delimited file. user needs mechanism (for example form button) transfer file remote server, using sftp. have idea of how accomplish this?
you can write call sftp command line client via batch file if want accomplish that.
check out shell() function in vba.
under click event of button on form add in code:
mysftpcall = "sftp <insert options here!>" call shell(mysftpcall, 1)
i've used before copy files straight across network shares etc. share data in-house access db. of course more fancy if necessary.
Comments
Post a Comment