Ask a Question related to ASP Components, Design and Development.
-
eibenk@yahoo.com #1
PSCP and ASPexec - help!
Does anyone here have experience running PSCP (secure FTP) through
ASPexec? I'm going loopy trying to figure out what I'm doing wrong.
I have a PSCP command like this (username, password, server changed):
"C:\Program Files\Putty\pscp.exe" -pw mypassword c:\testing.txt
[email]myusername@my.server.com:/Transactions/testing.txt[/email]
I can run that in a command window, and the file testing.txt shows up
in the Transactions folder on the remote server.
I have given the IUSR permission to run PSCP. When I run Filemon and
Regmon on the web server while running this page I don't see any Access
Denied errors, so I'm assuming my permissions are all right.
However, when I try to run that same command using ASPexec, the file is
not transferred even though I get an "Ok" message back from ASPexec.
My code is below (username, password, server changed). Any ideas? I'm
really stumped.
Kris
sPSCP = "-pw mypassword c:\testing.txt
[email]myusername@my.server.com:/Transactions/testing.txt[/email]"
Set Executor = Server.CreateObject("ASPExec.Execute")
Executor.Application = """C:\Program Files\Putty\pscp.exe"" " & sPSCP
Executor.ShowWindow = False
strResult = Executor.ExecuteWinApp
Response.Write "The result of this call was: " & strResult
eibenk@yahoo.com Guest
-
Running cmd.exe with ASPexec - no errors, nothing done
Hey everyone, I'm trying to run a command-line application (PuTTY's PSCP, a secure FTP client) from an ASP page. I can manually open up cmd.exe,... -
Need help with AspExec and xcopy...
Hello, im trying to xcopy files from one client to another using the AspExec component (desktop-shortcuts for a specific user....) <% client1 =...



Reply With Quote

