<p>This is ASP classic, not .Net.  We have to get a way to SFTP into a server to upload and download a couple of files, kicked off by a user.</p>

<p>What have other people used to do SFTP in ASP classic?  Not necessarily opposed to purchasing a control.</p>

[{'answer_id': 894, 'author': 'John Downey', 'author_id': 200, 'author_profile': 'https://Stackoverflow.com/users/200', 'pm_score': 4, 'selected': True, 'text': '<p>If you have the ability to use WScript.Shell then you can just execute pscp.exe from the <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" rel="noreferrer">Putty</a> package. Obviously this is less then ideal but it will get the job done and let you use SCP/SFTP in classic ASP.</p>\n'}, {'answer_id': 2867, 'author': 'Xetius', 'author_id': 274, 'author_profile': 'https://Stackoverflow.com/users/274', 'pm_score': 2, 'selected': False, 'text': "<p>The way I have done this is to create a command script file and pass this on the command line via the  /b command to psftp.exe.  I have also tried this in Perl and have yet to find a neater way of doing it.</p>\n\n<p>There is an issue with this method, in that you already have to have accepted the RSA finger-print.  If not, then the script will either wait for user input to accept it or will skip over it if you are running in full batch mode, with a failure.  Also, if the server changes so that it's RSA finger-print changes (e.g. a cluster) then you need to re-accept the finger-print again.</p>\n\n<p>Not an ideal method, but the only one I know.</p>\n\n<p>I shall be watching this question incase anyone knows another way.</p>\n"}, {'answer_id': 3128, 'author': 'Matt Dawdy', 'author_id': 232, 'author_profile': 'https://Stackoverflow.com/users/232', 'pm_score': 1, 'selected': False, 'text': '<p>I used to do that with FTP on Windows (create a file of commands and shell out FTP.exe).</p>\n'}, {'answer_id': 11153, 'author': 'jammus', 'author_id': 984, 'author_profile': 'https://Stackoverflow.com/users/984', 'pm_score': 1, 'selected': False, 'text': "<p>I've previously used a component from here: www.weonlydo.com.  I didn't find it the easiest piece of kit to develop against but it got the job done in a hurry.</p>\n"}, {'answer_id': 36693665, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': "<p>There is an issue with this method, in that you already have to have accepted the RSA finger-print. If not, then the script will either wait for user input to accept it or will skip over it if you are running in full batch mode, with a failure. Also, if the server changes so that it's RSA finger-print changes (e.g. a cluster) then you need to re-accept the finger-print again.</p>\n"}, {'answer_id': 65266153, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>December 2020 :</p>\n<ul>\n<li>ASP is dead, it has been superseded by ASP .Net 18 years ago.</li>\n<li>At this time, the most common way to use SFTP in .Net is to use the <a href="https://github.com/sshnet/SSH.NET/" rel="nofollow noreferrer">SSH.NET NuGet package</a>.</li>\n</ul>\n<p>Maybe this question should be closed ?</p>\n'}]
['https://Stackoverflow.com/questions/805', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/232/']