vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   FTP file types restricted? (https://vborg.vbsupport.ru/showthread.php?t=71026)

AnhTuanCool 10-26-2004 08:15 PM

FTP file types restricted?
 
Hi all,

I just want to ask how to restrict the FILE TYPES that upload through FTP? Is there anyway to? If yes then please guide me how to do it. Thanks in advanced :)

Colin F 10-26-2004 08:19 PM

That would probably depend on what FTP server you are using. I'm sure there are some that allow this.

AnhTuanCool 10-26-2004 08:41 PM

FTP server? And so can we set it somewhere?

Dean C 10-26-2004 08:44 PM

Are you running this FTP off your home computer? Explain the situation.

AnhTuanCool 10-26-2004 09:44 PM

All right, I have a host (of course not my computer) and I've made and share a subdomain(led to a sub directory) for someone for hosting part of my host, set up a FTP account for them to access that subdomain, familiar person so I do not restrict so much, just want to make sure they won't upload some illegal file types like exe or mp3, so I want to restrict their account won't be able to upload some file types like I explain above. My host has Cpanel and I can access WHM of the server if I want. How can I do that? :)

Colin F 10-27-2004 03:58 AM

Quote:

Originally Posted by AnhTuanCOol
All right, I have a host (of course not my computer) and I've made and share a subdomain(led to a sub directory) for someone for hosting part of my host, set up a FTP account for them to access that subdomain, familiar person so I do not restrict so much, just want to make sure they won't upload some illegal file types like exe or mp3, so I want to restrict their account won't be able to upload some file types like I explain above. My host has Cpanel and I can access WHM of the server if I want. How can I do that? :)

That'll be kind of hard... as you can't set the settings of your ftp anywhere I guess.

You could make a script that checks for those restricted filetypes and deletes them, and run that script on a cron tab.

AnhTuanCool 10-27-2004 04:30 AM

Oh yah, I'll try that out, thank you Colin F ;)

PS: I've just looked at the Cron Jobs and it says "Enter Command to run: " so what kind of command should be in there, I mean FTP commands, or SSH..., or run a script?

Colin F 10-27-2004 08:21 AM

Quote:

Originally Posted by AnhTuanCOol
Oh yah, I'll try that out, thank you Colin F ;)

PS: I've just looked at the Cron Jobs and it says "Enter Command to run: " so what kind of command should be in there, I mean FTP commands, or SSH..., or run a script?

A script probably...

AnhTuanCool 10-27-2004 08:22 PM

Hmmm k, I'll try it out, thanks again, great ;)


All times are GMT. The time now is 06:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01087 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete