Execute file remotely via FTP

P

Powerchordpunk

Guest
#1
I need to execute a batch file which will execute another application remotely via ftp. I have a server which supports the SITE EXEC command (which allows me to execute programs remotely). I can use this command to execute batch files which then execute other programs, but the problem I have lies in the fact that my ftp server starts as a system process.

Normally, when you locally execute a batch file that in turn starts 1 or more programs, the batch file not being a system process but rather a process for a specific user, starts the program(s) as specific user processes, for the same user that executed the batch file.

I want to have the program i want start for a specific user, executed remotely, but i can't do that now, since all programs executed remotely end up being a system process.

For example (a rather bad example), I can start edonkey as a system process remotely via ftp from school if i forget to turn it on before i leave, but this means that when I get home, I can't work with the program since its a system process, started by a batch file executed by a system process (ftp server).

Is there any solution to my predicament so I can execute remotely so programs start as a process for a specific user using the file transfer protocol? Right now, all I can do successfully is print jobs w/ notepad because i know the command line and it doesn't matter if its a system process. Is there some batch file command that specifically starts a program as a process for a specific user?

Thanks for your help. sorry for confusing you if i did.
 
S

sailgreg

Guest
#2
If the computer is windows, adding runas (username) (program name) in front of the program name will work if it works like the Run Box :p

On linux I dont know how :(
 
L

Luna64

Guest
#3
Lol, a silly pirate trying to get good stuff by using an FTP server.

Lame....


I remember the days when that used to be popular. Goes along with the whole HTTP pirate thing.
 
B

Burpster

Guest
#4
lol ....FTP is far superior to P2P ...tho a tad bit more complicated these days :)

just as a footnote http is also alive and well :)
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,971
Messages
673,299
Members
89,016
Latest member
Poseeut