LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   put a file in ftp://.... and run it from my computer to creat another file (https://www.linuxquestions.org/questions/linux-newbie-8/put-a-file-in-ftp-and-run-it-from-my-computer-to-creat-another-file-847722/)

ozminh 12-01-2010 11:03 AM

put a file in ftp://.... and run it from my computer to creat another file
 
sorry for my poor english.
i made a site www.##.com
i want to put a program file in that and run it from my computer to create another file, not create file in my computer then send to the host.
can i do that?
thanks in advance.

frankbell 12-01-2010 09:05 PM

If the www.##.com site is on a hosting service, this would depend on the permissions that the hosting service allows to its users. If my previous sentence is correct, you really need to ask the hosting service.

My guess is that most hosting services would not give a user executable permissions.

If I were a hosting service that lots of folks relied on, I sure wouldn't let remote users run programs on my servers. It takes only one bad apple to ruin the barrel.

gd2shoe 12-01-2010 10:04 PM

The original question is muddled and hard to understand.

Do you own the server?
Do you have root access on the server?
Is this really an ftp question, or is it an http question?
Do you want the program to run on the server or client system?
Do you want the output to be stored on the server or client system?
What kind of program is it? What is its ultimate purpose?
When you say "my computer" do you mean your personal workstation or the client system?
When you say "the host" do you mean the server, or the client?

I'm sorry, but you're going to need to rephrase your question. You're not likely to get a useful response until you do.

frankbell, while that is certainly true, many hosting services today lease out virtual computers to isolate bad-apples. Many even give their customers root access. Even some of those who don't virtualize are cavalier enough to allow php to run server-side. You're right, though, that this could be a problem for him.

frankbell 12-01-2010 10:07 PM

Quote:

Originally Posted by gd2shoe (Post 4177749)
frankbell, while that is certainly true, many hosting services today lease out virtual computers to isolate bad-apples. Many even give their customers root access. Even some of those who don't virtualize are cavalier enough to allow php to run server-side. You're right, though, that this could be a problem for him.

Thanks for the info.

I think your phrasing, "cavalier enough," is right on.

ozminh 12-02-2010 01:01 AM

how can i change permissions for a file and execute it?
i want to work with 'www.../a/s/d' like a local directory.

gd2shoe 12-02-2010 02:36 AM

You didn't answer any of my questions. I can think of about a dozen things you might be trying to do.

If you're trying to execute a program on your computer without downloading it first, why? Just download it and run it.
If you're trying to mount an ftp URI in your filesystem, I'd check out FUSE and CurlFtpFS. I haven't used it, but it's a place to start.

Both of these scenarios are unlikely, but I just can't tell what you're trying to do or why. If you want a good answer, please tell us what you're trying to do.

If you're not writing much because you're having trouble with English, then use http://translate.google.com. Type a longer post in your native tongue, and then use Google translate to put it in English.

ozminh 12-02-2010 08:14 PM

thank you for your help.

gd2shoe, i'm trying with FUSE and CurlFtpFS. thanks.

gd2shoe 12-03-2010 12:23 AM

You're welcome, I guess. I wish you the best of luck. I just hope you're not setting up a Rube Goldberg device.


All times are GMT -5. The time now is 11:15 PM.