LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2010, 12:03 PM   #1
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Rep: Reputation: 19
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.
 
Old 12-01-2010, 10:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,784
Blog Entries: 17

Rep: Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315
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.
 
Old 12-01-2010, 11:04 PM   #3
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
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.
 
Old 12-01-2010, 11:07 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,784
Blog Entries: 17

Rep: Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315Reputation: 3315
Quote:
Originally Posted by gd2shoe View Post
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.
 
Old 12-02-2010, 02:01 AM   #5
ozminh
Member
 
Registered: Aug 2007
Posts: 73

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

Last edited by ozminh; 12-02-2010 at 02:51 AM.
 
Old 12-02-2010, 03:36 AM   #6
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
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.
 
Old 12-02-2010, 09:14 PM   #7
ozminh
Member
 
Registered: Aug 2007
Posts: 73

Original Poster
Rep: Reputation: 19
thank you for your help.

gd2shoe, i'm trying with FUSE and CurlFtpFS. thanks.
 
Old 12-03-2010, 01:23 AM   #8
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rear file names to creat a comma delimited file GRS63 Linux - Software 7 02-04-2011 01:40 AM
how to creat a log file raulapati Programming 8 10-07-2010 06:28 AM
The computer hangs when RT object file is run navderm Programming 6 12-30-2008 01:35 AM
Fail to creat new file in vim taureanyang Linux - Software 1 07-22-2005 01:32 AM
unable to put file 4GB file INSIDE iso saravkrish Linux - Software 2 03-23-2005 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration