LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 04-11-2006, 08:16 AM   #1
LQ Newbie
Registered: Feb 2006
Location: Netherlands
Distribution: Mint 17 mate
Posts: 18

Rep: Reputation: 0
apache wwwrun php and ftp

I am running a linux server with suse enterprise server 9.
We configured apache with php.
Through a php application a file is written by apache in a specific directory.
This file I want to send (using /usr/bin/ftp ) to an external adress.

The file is owned by the user wwwrun, group www.

After the ftp the file is being renamed to another directory.

All seems to go wel, but nothing is send by ftp.

If I perform the action with my own user it works like a charm.

Is there some obscure apache instruction that prevents the use of /usr/bin/ftp???
Old 04-13-2006, 03:54 AM   #2
LQ Newbie
Registered: Feb 2006
Location: Netherlands
Distribution: Mint 17 mate
Posts: 18

Original Poster
Rep: Reputation: 0
Problem solved.

The problem was not in apache, php or ftp, it was a file-naming issue.
FTP actually took place.

Sorry for any inconveniences.


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
php apache or php cgi - php learner rblampain Linux - Security 3 12-18-2004 12:10 AM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 05:57 PM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 12:51 PM
wwwrun user rights issue tantric Linux - Software 0 03-25-2004 10:48 AM
Webmail with IMAP Apache, PHP, uh.. FTP ;) MasterC Member Success Stories 7 08-06-2003 08:27 PM

All times are GMT -5. The time now is 05:06 AM.

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