Problem with security for psftp session.

Discussion in 'ASP .Net Security' started by Incorrect filenames in download link., Feb 13, 2006.

  1. 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.
     
    Incorrect filenames in download link., Feb 13, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jeff Smythe
    Replies:
    3
    Views:
    1,305
    Jeff Smythe
    Jan 2, 2004
  2. Gilles
    Replies:
    1
    Views:
    458
    William F. Robertson, Jr.
    Feb 7, 2005
  3. Aaron
    Replies:
    1
    Views:
    377
    John C. Bollinger
    Aug 4, 2003
  4. =?Utf-8?B?Um9iSEs=?=
    Replies:
    4
    Views:
    5,392
    =?Utf-8?B?Um9iSEs=?=
    Apr 11, 2007
  5. Jazzis
    Replies:
    2
    Views:
    275
    Jazzis
    Sep 23, 2003
Loading...

Share This Page