Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Problem with security for psftp session.

Thread Tools

Problem with security for psftp session.

Incorrect filenames in download link.
Posts: n/a
Hello: I use a W2000+ASP.NET , and I want to execute an external command from
a .NET DLL, the line is something like this:

psftp.exe root172.168.0.108 -pw root -b bat.txt

psftp is a secure ftp console program, and the bat.txt file contains all the
necessary commands to get a file from the server and quit the session.

If I execute this line from a console, everything goes well, connects to the
server, gets the file and return to the console, but I'm trying to do the
same from a DLL or ASPX page in various ways, popen, ` `, exec...

Always is the same, it seems it does nothing, and I'm sure the psftp.exe and
bat.txt files are in the same dir of the script.

Any idea? Thanks in Advance.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing higher security level from higher security level Cisco 0 07-11-2005 10:20 PM
Going from higher security level interface to lower security interface- HELP!!! - AM Cisco 4 12-28-2004 09:52 PM
IT-Security, Security, e-security COMSOLIT Messmer Computer Support 0 09-05-2003 08:34 AM
How secure is the security from my security form? Aaron Java 1 08-04-2003 06:16 PM
MCSA: Security MCSE: Security question Rick Sears MCSE 0 07-29-2003 08:02 PM