Hi guys,
Is there a way to run/open a file (let's say a PDF using Acrobat Reader) from an FTP folder without copying it first to your harddrive? (just like when you edit a file through FTP, but in this case just run it)
Thanks.
Run/Open directly from FTP
Moderators: Hacker, petermad, Stefan2, white
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Well, that kind of sort of did it. I wrote a tiny application that I associated with the pdf file extension (and this would work for any kind of extension) and now TC is downloading the file, and is passing it to my app and I start the application (ShellExecute).
If anybody thinks they could use this tiny app just let me know...
Kosszi szepen,
Peter
If anybody thinks they could use this tiny app just let me know...
Kosszi szepen,
Peter
Well, if anybody wants it they can get it from here:
http://student.claytonstate.net/~csu10711/shellstart.exe
and the source from here:
http://student.claytonstate.net/~csu10711/shellstart.dpr
(It's nice if you set it as your default external viewer because in this way you don't have to configure any other type of viewer... it works pretty much automatically
-- if you ask me, this should be the default behavior
)
http://student.claytonstate.net/~csu10711/shellstart.exe
and the source from here:
http://student.claytonstate.net/~csu10711/shellstart.dpr
(It's nice if you set it as your default external viewer because in this way you don't have to configure any other type of viewer... it works pretty much automatically


- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Sorry, I really dont get the point, isnt this what the Enter key is for? As far i understand, your application issues ShellExecute on any file.I wrote a tiny application that I associated with the pdf file extension (and this would work for any kind of extension) and now TC is downloading the file, and is passing it to my app and I start the application (ShellExecute).
I switched to Linux, bye and thanks for all the fish!
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary