944,123 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 3320
  • PHP RSS
Jan 3rd, 2007
0

Can't see files in Anonymous FTP

Expand Post »
I have a simple PHP script that creates a couple of dbase files and moves them to my anonymous FTP directory. However, I am unable to see these files when viewing that directory in a web browser. I can see them when logged with a FTP client though.

One thing that also has me baffled, and this may or may not be related, is when viewing Anonymous FTP through my browser I see a directory called 'pub'. But I don't see this when viewing through my FTP client. This leads me to believe I am looking in the wrong place but this seems pretty straight forward.

Any help is appreciated.
Similar Threads
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Jan 3rd, 2007
0

Re: Can't see files in Anonymous FTP

Is it anything to do with the permissions on the files?
pty
Reputation Points: 64
Solved Threads: 39
Posting Pro
pty is offline Offline
530 posts
since Oct 2005
Jan 3rd, 2007
0

Re: Can't see files in Anonymous FTP

Their permissions say they are readable (644).
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Jan 3rd, 2007
0

Re: Can't see files in Anonymous FTP

Which FTP server/OS are you using?
pty
Reputation Points: 64
Solved Threads: 39
Posting Pro
pty is offline Offline
530 posts
since Oct 2005
Jan 4th, 2007
0

Re: Can't see files in Anonymous FTP

OS: RedHat Enterprise 4
FTP: unknown
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Jan 10th, 2007
0

Re: Can't see files in Anonymous FTP

Maybe this won't help much, but I've tried it on two different host accounts. One worked well, the other was just like you described.

I tried changing settings etc. but nothing helped. I guess there's server misconfiguration. I think the best idea is to contact the host provider about this.
Reputation Points: 13
Solved Threads: 2
Junior Poster
php_daemon is offline Offline
138 posts
since Aug 2006
Jan 10th, 2007
0

Re: Can't see files in Anonymous FTP

Turns out anonymous FTP requires its own IP address. Once it was given one it worked just fine.
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: parse error
Next Thread in PHP Forum Timeline: Problem with two small PHP scripts?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC