ASP, require to make use of SFTP
This is ASP classic, not.Net. We need to get a means to SFTP right into a web server to post and also download and install a number of documents, started by a customer.
What have other individuals made use of to do SFTP in ASP classic? Not always opposed to acquiring a control.
The means I have actually done this is to create a command manuscript documents and also pass this on the command line using the/ b command to psftp.exe. I have actually additionally attempted this in Perl and also have yet to locate a neater means of doing it.
There is a concern with this method, because you currently need to have actually approved the RSA finger - print. Otherwise, after that the manuscript will certainly either await customer input to approve it or will certainly miss over it if you are running in complete set setting, with a failing. Additionally, if the web server adjustments to make sure that it's RSA finger - print adjustments (as an example a collection) after that you require to re - approve the finger - print once more.
Not an excellent method, yet the just one I recognize.
I will be seeing this inquiry incase any person recognizes an additional means.
I made use of to do that with FTP on windows (create a documents of commands and also fork over FTP.exe)
Xetius I attempted to upvote your own and also approve your solution also and also I obtained a caution that I required 25 representative to do that. Sorry.
If you have the capacity to make use of WScript.Shell after that you can simply execute pscp.exe from the Putty plan. Clearly this is much less after that excellent yet it will certainly get the work done and also allow you make use of SCP/SFTP in timeless ASP.