PDA

View Full Version : Help -- FTP files on server


web6868
1-18-06, 08:03 PM
Hello,

My web server is Apache/2.0.52(Red Hat). I want to use the FTP software to transfer files on Windows. But I got the "550 Permission denied" error below.

COMMAND:> PWD
257 "/"
COMMAND:> CWD /
250 Directory successfully changed.
COMMAND:> TYPE A
200 Switching to ASCII mode.
COMMAND:> PASV
227 Entering Passive Mode (168,143,165,241,51,85)
COMMAND:> LIST
550 Permission denied.

I don't want to turn on the LIST option on my server. Is there a way that I can use the FTP software without this option? If I turn on this option, people can view all my files and directories on the web site. Thanks.

==>>===>>==>>==>>===>>==>>==>>
http://www.USWebcity.com
<<==<<==<<==<<==<<==<<==<<==<<

c0uchm0nster
1-19-06, 04:51 PM
Why not just turn off anonymous/guest access, and password protect your own account?

As for a client that doesn't run the LIST command - you're not going to find one that's a GUI (graphical user interface) - but it'd be pointless anyways because it would never be able to list directories/files...
If you run linux plenty of the linux ftp command line clients give you full control, so as long as you don't type LIST or ls or dir or equivalent into them, they won't try and run that command.

But I would really just suggest turning off anonymous access, it's the traditional, and a much more secure, way to get the result you want.

If you're concerned about people typing in a directory url such as http://www.mydomain.com/private/ and seeing a file list there are a number of ways you can prevent this. Most involve the .htaccess file. A simpler but more involved/manual method is to simply put an index.html in every directory. This way that html file will automatically load instead of a directory file listing.