You are here: Re: Help - Files created in PHP not viewable via FTP « PHP Programming Language « IT news, forums, messages
Re: Help - Files created in PHP not viewable via FTP

Posted by Alistair Baillie SS2002 on 05/24/05 12:32

If you request the file manually by typing in GET <filename> <saveto> does
it download?

If so, your directory permissions are wrong. IF not, check what the
directory is set to, and try setting it to 666, or failing that try 777 to
see if that works at all.

- Ali

"rmeyer233" <rmeyer233@yahoo.com> wrote in message
news:1116911957.207196.151170@z14g2000cwz.googlegroups.com...
> I'm a bit of a newb, so bear with me folks..
>
> I've created a simple web app for users to upload images, which are
> then copied to a web directory using the PEAR HTTP_Upload library
> (which uses move_uploaded_file()). Once copied, I'm setting the mode of
> the files to 0666, so they should be read/writable by any user. When I
> request the files by HTTP or in another PHP script, they show up fine.
> However, the files do not show up in a FTP client. No funky .filenames
> here, just a uniquely generated name like 27298429292d74ee94.jpg.
>
> Unfortunately, the hosting site I have to use only allows FTP access. I
> can't get in via telnet or SSH to check if the files are viewable using
> those methods.
>
> Any ideas why the files aren't showing up via FTP? Thanks for any
> suggestions.
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация