I'm using classic ASP/VBScript and want to call secure FTP (PSFTP) to transfer a file. When I open the page it just hangs. My IIS uses an internet guest account called xxx.
I have verified that:
- the PSFTP command is constructed correctly
- the PSFTP command runs without error from the command line when I use "runas /user:xxx"
- the PSFTP process is called by the ASP page, as it appears in the task manager on the web server after the page is opened
From the above, I've concluded that this isn't an issue with file permissions, or anything else to do with the xxx account. Also, PSFTP is working. I can't understand what the problem is. I've tried using exec and run methods of the wscript.shell to launch this, and neither work.
Any suggestions would be appreciated.