Author Topic: FTP Error: Forbidden Filename  (Read 1584 times)

Offline Kit50

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
FTP Error: Forbidden Filename
« on: May 14, 2011, 01:58:02 PM »
The following list of files I am trying to upload have encountered with a "Forbidden Filename" error.

In the "data" folder
archives
auto_archive.db.php
backup
captcha.php
cat.num.php
category.db.php
comments.txt
config.php
Default.tpl
emoticons
english.clf
flood.db.php
Headlines.tpl
index.html
ipban.db.php
log.db.php
loginban.db.php
news.txt
postponed_news.txt
rss.tpl
rss_config.php
unapproved_news.txt
upimages
users.db.php

In the "archives" folder:
index.html

In the "backup" folder:
index.html

In the "emoticons" folder:
angry.gif
crying.gif
index.html
laughing.gif
sad.gif
smile.gif
tongue.gif
wassat.gif
wink.gif

In the "upimages" folder:
cutenews-banner.gif
index.html

All of these files are from a script called UTF-8 Cutenews which I have managed to successfully upload previously whenever I need to reinstall this script. I'm shocked even files like index.html are considered "forbidden".

To my curiosity, I decided to test another theory by uploading some files from a PHP template library called Smarty. I noticed that even modifier.date_format.php and function.html_select_date.php are blocked.

While I agree for the need for filtering based on your needs, I agree with this guy that you may be a little bit to aggressive in filtering.

Thanks. 

Helping Webmasters - Webmaster Forum, Website Support and T35 Hosting Support

FTP Error: Forbidden Filename
« on: May 14, 2011, 01:58:02 PM »

Offline Alex Melen

  • Co-CEO, Melen LLC
  • Administrator
  • Addict
  • *****
  • Posts: 2,809
  • Karma: +9/-0
    • View Profile
    • T35 Hosting
Re: FTP Error: Forbidden Filename
« Reply #1 on: May 15, 2011, 09:20:20 PM »
What program are you using to upload files? I tried uploading an "index.html" to a test account and had no problems.

Offline Kit50

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: FTP Error: Forbidden Filename
« Reply #2 on: May 16, 2011, 04:34:41 AM »
FileZilla 3.4 on Windows XP. Transferred using passive mode in ASCII except for the GIF files.

Offline Alex Melen

  • Co-CEO, Melen LLC
  • Administrator
  • Addict
  • *****
  • Posts: 2,809
  • Karma: +9/-0
    • View Profile
    • T35 Hosting
Re: FTP Error: Forbidden Filename
« Reply #3 on: May 17, 2011, 08:17:34 PM »
Try an ftp program instead.

Offline Kit50

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: FTP Error: Forbidden Filename
« Reply #4 on: May 18, 2011, 05:13:50 AM »
Here is the list of FTP programs I have tried prior to posting this:
- FileZilla
- Net2FTP (the same FTP web interface T35 is using)
- WinSCP
- WSFTP LE
- FireFTP

By the way, which FTP client did you use? I don't think it has got to do with the FTP client at all.

Interesting fact:
If I put a directory structure as follows:
/monkey
 ...all the files mentioned above...
it will upload onto the server

but putting as
/dat
 ...same files...

or

/data
 ...same files...

it will reject.

Are you defining the permission as dat%?

Offline Kit50

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: FTP Error: Forbidden Filename
« Reply #5 on: May 19, 2011, 05:13:13 AM »
Just an update, I uploaded the same folder name with the same contents and it was successful. Thanks again for your prompt reply on the issue.