<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

      <title>Comments on: How do I set up a file server on a PC </title>
      <link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC/</link>
      <description>Comments on Ask MetaFilter post How do I set up a file server on a PC</description>
	  	  <pubDate>Thu, 03 May 2007 16:09:26 -0800</pubDate>
      <lastBuildDate>Thu, 03 May 2007 16:09:26 -0800</lastBuildDate>
      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>

<item>
  	<title>Question: How do I set up a file server on a PC </title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC</link>	
  	<description>How do I set up a file server on a PC w/ dynamicIP and a client web GUI? I&apos;d like like to set up a server on my PC with the following features and considerations in mind:&lt;br&gt;
&lt;br&gt;
-Can be accessed by clients from a browser via http so I can use no-ip.com&apos;s redirect service since I have a dynamic IP. This service doesn&apos;t seem to work w/ FTP addresses.&lt;br&gt;
&lt;br&gt;
-Has a nice GUI that allows for clients to full download directories in the hierarchy. Something similiar to net2ftp.com&apos;s interface would be nice.&lt;br&gt;
&lt;br&gt;
-Allows for different users and groups w/ different privileges&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I currently have bulletproof FTP server running, and since I already have it configured w/ all the accounts I tried to set this up as per above in the following manner: Run Mbedthis AppWeb web server to run a local instance of net2ftp client which I downloaded from their site. This would then make a local connection to bulletproof and then I&apos;d have all of the above. Turns out this is very difficult for me. I have about 4 credits introductory java experience and years of informal computer tinkering under my belt, but basically no programing/html skills.&lt;br&gt;
&lt;br&gt;
So after hours of trying to get this to work, I&apos;ve made a little progress but I&apos;m stuck now. So I&apos;m either looking for a single program that can do all this out of the box or some instructions on how make the no-ip&amp;gt;appweb&amp;gt;local net2ftp&amp;gt;bulletproof thing work. &lt;br&gt;
&lt;br&gt;
Thanks!</description>
  	<guid isPermaLink="false">post:ask.metafilter.com,2008:site.61906</guid>
  	<pubDate>Thu, 03 May 2007 15:44:34 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
	
	<category>server</category>
	
	<category>FTP</category>
	
	<category>net2ftp</category>
	
	<category>http</category>
	
	<category>GUI</category>
	
	<category>dynamicIP</category>
	
	<category>redirect</category>
	
	<category>no-ip.com</category>
	
	<category>Mbedthis</category>
	
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931740</link>	
  	<description>This sounds more complicated than it needs to be. How about a standard web server (Apache or IIS) with &lt;a href=&quot;http://en.wikipedia.org/wiki/WebDAV&quot;&gt;WebDAV&lt;/a&gt; enabled? People could use standard WebDAV clients to interact with your files through HTTP. Windows has WebDAV client functionality included in the Explorer shell, for example.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931740</guid>
  	<pubDate>Thu, 03 May 2007 16:09:26 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: pompomtom</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931748</link>	
  	<description>I see no reason for your FTP to not work with a dynamic dns service (I&apos;ve certainly had it working before using dyndns.org). Are you sure you have the right port-forwarding arrangement on your firewall?&lt;br&gt;
&lt;br&gt;
As for the nice gui for d/l-ing whole directories... I&apos;d just use Apache, displaying directories, and leave it up to the client, but that&apos;s not really answering your requirement.&lt;br&gt;
&lt;br&gt;
For different users and priveleges, .htaccess is your friend (though this may be invalid if you&apos;re using Windows, which you haven&apos;t indicated).</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931748</guid>
  	<pubDate>Thu, 03 May 2007 16:16:03 -0800</pubDate>
  	<dc:creator>pompomtom</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931848</link>	
  	<description>Thanks for the tips, Me and My Monkey , but I must say most of the stuff you&apos;re saying is over my head. My use of acronyms may have misled you into thinking I know more than I do. If I&apos;m going to use any other software aside from BPFTP, It really needs to be an out of the box thing with minimal configuration. I dont even understand all the jargon in the Mbedthis AppWeb user manual and I was essentially shooting blind when I was editing the config txt files.&lt;br&gt;
&lt;br&gt;
Pompomtom, I forgot to indicate that I&apos;m using XP home, I guess that is pretty relevant here. As w/ Monkey above, you&apos;re kinda scaring me with the Apache talk. The dyndns thing looks promising, though I probably should have mentioned that I&apos;m looking for a free redirect service. Do you know if their WebHop Free web redirection thing has the ability to track my IP changes and redirect people form me.dyndns.com to ftp://me despite any IP changes?&lt;br&gt;
&lt;br&gt;
Thanks for the info and sorry about my omitions in the OP.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931848</guid>
  	<pubDate>Thu, 03 May 2007 17:08:16 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931850</link>	
  	<description>I should also add that, while I do require a free redirect service, I am fine with buying some new software provided it is easy to configure and has all the above features.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931850</guid>
  	<pubDate>Thu, 03 May 2007 17:11:20 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: pompomtom</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931878</link>	
  	<description>dyndns.org do &lt;a href=https://www.dyndns.com/services/dns/dyndns/&gt;free&lt;/a&gt; redirects.&lt;br&gt;
&lt;br&gt;
I&apos;m guessing your FTP issue is with your firewall(s).</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931878</guid>
  	<pubDate>Thu, 03 May 2007 17:32:29 -0800</pubDate>
  	<dc:creator>pompomtom</dc:creator>
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931970</link>	
  	<description>If you could figure out how to set up BPFTP, you can figure out how to use Apache, I think. Don&apos;t be scared! Apache is easy to install on Windows. It&apos;s not quite as easy to configure, but there&apos;s copious documentation on how to do it. Basically, you have to edit a single text file (httpd.conf), and change a few lines within that file.&lt;br&gt;
&lt;br&gt;
Web redirection services aren&apos;t going to redirect HTTP requests to FTP servers, I don&apos;t think. Also, FTP can be &lt;a href=&quot;http://slacksite.com/other/ftp.html&quot;&gt;problematic &lt;/a&gt;for people to get to.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931970</guid>
  	<pubDate>Thu, 03 May 2007 18:59:54 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931981</link>	
  	<description>I havn&apos;t had any firewall problems yet, BPFTP worked fine alone WRT the firewall. With my attempt above, I&apos;m able to get into my web server via anonymouse.org&apos;s proxy so it seems that the firewall is allowing external traffc to reach the local webserver (is that whay you call it?). &lt;br&gt;
&lt;br&gt;
Where this opperation grinds to a halt, is when it hits this redirect page that I made. The only way I could figure to do this was to start with the default config on web server. This makes it so when you go to my IP you get a sample page that says &amp;quot;welcome to the sample page&amp;quot;. I found this page in windows explorer, opened it in wordpad and replaced all the text with this code that I copied from the source of some web page:&lt;br&gt;
&lt;br&gt;
(I deleted all the &lt; &apos;s so it would appear in the post)br&gt;
&lt;br&gt;
&lt;br&gt;
!DOCTYPE HTML PUBLIC &amp;quot;-//W3C//DTD HTML 4.0 Transitional//EN&amp;quot;&amp;gt;&lt;br&gt;
html&amp;gt;&lt;br&gt;
head&amp;gt;&lt;br&gt;
title&amp;gt;Redirecting...&lt;br&gt;
meta http-equiv=&amp;quot;REFRESH&amp;quot; content=&amp;quot;0;url=http://localhost/index.php&amp;quot;&amp;gt;&lt;br&gt;
BODY&amp;gt;&lt;br&gt;
Redirecting...&lt;br&gt;
/BODY&amp;gt;&lt;br&gt;
/HTML&amp;gt;&lt;br&gt;
&lt;br&gt;
Index.php is the file that seems to get the local instance of net2ftp moving. To install n2ftp I had to copy a bunch of files to the root directory of the local server. This is the same location as the index.html file that I converted to a redirect.&lt;br&gt;
&lt;br&gt;
Long story short, I&apos;m sure this is all really sloppy webdesign but it works locally in the following manner: &lt;br&gt;
&lt;br&gt;
me.no-ip.com&amp;gt;index.html (redirect)&amp;gt;index.php (launches local net2ftp client)&amp;gt;login to bpftp via net2ftp no problem&lt;br&gt;
&lt;br&gt;
When I do it through the proxy:&lt;br&gt;
anonymouse&amp;gt;me.no-ip.com&amp;gt;index.html (redirect)&amp;gt;file not found&lt;br&gt;
&lt;br&gt;
So, I think what is happening is that it is this config makes the client look for index.php on their computer, not mine. So  what do I put in the redirect URL to make it go to my index.php (or just make the server make index.php the start page instead)?&lt;br&gt;
&lt;br&gt;
Then, after that is sorted, I have to figure out how to get the net2ftp client to communicate w/ BPFTP locally, since if net2ftp communicates w/ BPFTP over the internet, that would defeat the purpose of the no-ip.com redirect.&lt;br&gt;
&lt;br&gt;
The code below seems to be the relevant portion of the net2ftp config file. As you can see it is currently set to &amp;quot;localhost&amp;quot; I&apos;ve also tried to do it with the 192... option but I changed that to 127.0.0.1 because it looked familar (I think this is what google desktop search use.)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
// Allowed FTP servers&lt;br&gt;
// Either set it to ALL, or else provide a list of allowed servers&lt;br&gt;
// This will automatically change the layout of the login page:&lt;br&gt;
//    - if ALL is entered, then the FTP server input field will be free text&lt;br&gt;
//    - if only 1 entry is entered, then the FTP server input field will not be shown&lt;br&gt;
//    - if more than 1 entry is entered, then the FTP server will have to be chosen from a drop-down list&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;ALL&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;localhost&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;192.168.1.1&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][3] = &amp;quot;ftp.mydomain2.org&amp;quot;;&lt;/&gt;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931981</guid>
  	<pubDate>Thu, 03 May 2007 19:19:53 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#931998</link>	
  	<description>&lt;em&gt;I havn&apos;t had any firewall problems yet&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Right, but other people may not be able to access your FTP server from within their own firewalls, due to the way that FTP works. Typically, to solve that problem, you&apos;d need to configure your FTP server to use passive mode (described in the previous link) and open additional firewall ports on your end. I just did this about two days ago with BPFTP, oddly enough.&lt;br&gt;
&lt;br&gt;
&lt;em&gt;meta http-equiv=&amp;quot;REFRESH&amp;quot; content=&amp;quot;0;url=http://localhost/index.php&amp;quot;&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
As I think you&apos;ve figured out, this tells the client to request a URL on their own server rather than yours. You&apos;d replace &amp;quot;localhost&amp;quot; with the fully-qualified name of your server (whatever you&apos;re setting in no-ip.com)&lt;br&gt;
&lt;br&gt;
&lt;em&gt;Then, after that is sorted, I have to figure out how to get the net2ftp client to communicate w/ BPFTP locally, since if net2ftp communicates w/ BPFTP over the internet, that would defeat the purpose of the no-ip.com redirect.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
If both net2ftp and BPFTP are on your own machine, you can use 127.0.0.1 (your loopback IP address, which always points to your own machine) or localhost (the name that corresponds to your loopback IP address).&lt;br&gt;
&lt;br&gt;
I still think this is way more complicated than setting up Apache and WebDAV, though.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-931998</guid>
  	<pubDate>Thu, 03 May 2007 19:45:27 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932000</link>	
  	<description>Actually, I&apos;m a little confused at this point. If net2ftp is acting as a proxy - people are only connecting to that - you shouldn&apos;t have to open FTP access to the outside world at all. If, on the other hand, net2ftp is sending a message back to the client&apos;s machine telling it to go to your FTP server, you will need to open the ports for FTP.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932000</guid>
  	<pubDate>Thu, 03 May 2007 19:47:09 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932006</link>	
  	<description>&amp;quot;If you could figure out how to set up BPFTP, you can figure out how to use Apache, I think. Don&apos;t be scared!&amp;quot;&lt;br&gt;
&lt;br&gt;
Thats good to know, I thought it was more menacing. I would still prefer to make the existing attempt work in the interest of  saving time.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932006</guid>
  	<pubDate>Thu, 03 May 2007 19:50:19 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932046</link>	
  	<description>So I switched the redirect to point to the no-ip address and now people on the outside can get to the net2ftp login screen. &lt;br&gt;
&lt;br&gt;
I changed the &amp;quot;allowed FTP servers&amp;quot; setting as follows:&lt;br&gt;
&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;ALL&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;localhost&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;192.168.1.1&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][3] = &amp;quot;ftp.mydomain2.org&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;127.0.0.1&amp;quot;;&lt;br&gt;
&lt;br&gt;
With this setup (and with :21 appended to the 127..., same goes for ftp:// prepended), after you present credentials and hit login, you are asked if you want to download index.php.  This looks to me like net2ftp is opening up appweb server and getting redirected to index.php. So it&apos;s getting confused b/c there are 2 servers at 1 IP&lt;br&gt;
&lt;br&gt;
Also, in the same file, I tried to ban 127...:80 and seperatly, set it to allow only port 21 as opposed to all. I was thinking that it asked my computer for a server and it returned the http one so I figured these measures would make it ignore the http server and find the ftp. To no avail, same result: Client has the oppertunity to download index.php.&lt;br&gt;
&lt;br&gt;
I&apos;m confused. I&apos;ve attached a bit more of the n2tp config file in case there is more relavant stuff that I&apos;m missing. &lt;br&gt;
&lt;br&gt;
I am one step closer though. Any ideas on how to get n2ftp to see BP instead of appweb?&lt;br&gt;
 &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt; ?phpbr&gt;
&lt;br&gt;
//   -------------------------------------------------------------------------------&lt;br&gt;
//  |                  net2ftp: a web based FTP client                              |&lt;br&gt;
//  |              Copyright (c) 2003-2007 by David Gartner                           -------------------------------------------------------------------------------&lt;br&gt;
//  |                                                                               |&lt;br&gt;
//  |  Enter your settings and preferences below.                                   |&lt;br&gt;
//  |                                                                               |&lt;br&gt;
//  |  The structure of each line is like this:                                     |&lt;br&gt;
//  |     $net2ftp_settings[&amp;quot;setting_name&amp;quot;] = &amp;quot;setting_value&amp;quot;;                      |&lt;br&gt;
//  |                                                                               |&lt;br&gt;
//  |  BE CAREFUL WHEN EDITING THE FILE: ONLY EDIT THE setting_value, AND DO NOT    |&lt;br&gt;
//  |  ERASE THE &amp;quot; OR THE ; CHARACTERS.                                             |&lt;br&gt;
//   -------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
// Check the authorizations?&lt;br&gt;
// Set to yes or no.&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
$net2ftp_settings[&amp;quot;check_authorization&amp;quot;] = &amp;quot;yes&amp;quot;;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
// Allowed FTP servers&lt;br&gt;
// Either set it to ALL, or else provide a list of allowed servers&lt;br&gt;
// This will automatically change the layout of the login page:&lt;br&gt;
//    - if ALL is entered, then the FTP server input field will be free text&lt;br&gt;
//    - if only 1 entry is entered, then the FTP server input field will not be shown&lt;br&gt;
//    - if more than 1 entry is entered, then the FTP server will have to be chosen from a drop-down list&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;ALL&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;localhost&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;192.168.1.1&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][3] = &amp;quot;ftp.mydomain2.org&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;ftp://127.0.0.1:21&amp;quot;;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
// Banned FTP servers&lt;br&gt;
// Set the first entry to NONE, or enter a list of banned servers&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_ftpservers&amp;quot;][1] = &amp;quot;NONE&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;banned_ftpservers&amp;quot;][1] = &amp;quot;192.168.1.1&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;banned_ftpservers&amp;quot;][2] = &amp;quot;192.168.1.2&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;banned_ftpservers&amp;quot;][3] = &amp;quot;192.168.1.3&amp;quot;;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
// Banned IP addresses&lt;br&gt;
// Set the first entry to NONE, or enter a list of banned IP addresses&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_addresses&amp;quot;][1] = &amp;quot;NONE&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;banned_addresses&amp;quot;][1] = &amp;quot;192.168.1.1&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;banned_addresses&amp;quot;][2] = &amp;quot;192.168.1.2&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;banned_addresses&amp;quot;][3] = &amp;quot;192.168.1.3&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_addresses&amp;quot;][3] = &amp;quot;127.0.0.1:80&amp;quot;;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
// Allowed FTP server port&lt;br&gt;
// Set it either to ALL, or to a fixed number&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
$net2ftp_settings[&amp;quot;allowed_ftpserverport&amp;quot;] = &amp;quot;ALL&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpserverport&amp;quot;] = &amp;quot;21&amp;quot;;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
// Banned directory and filename keywords&lt;br&gt;
// Set the first entry to NONE, or enter a list of banned keywords&lt;br&gt;
// ----------------------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
//$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][1] = &amp;quot;NONE&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][1] = &amp;quot;paypal&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][2] = &amp;quot;ebay&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][3] = &amp;quot;wachoviabank&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][4] = &amp;quot;wellsfargo&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][5] = &amp;quot;bankwest&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][6] = &amp;quot;hsbc&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][7] = &amp;quot;halifax-online&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][8] = &amp;quot;lloydstsb&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;banned_keywords&amp;quot;][9] = &amp;quot;egg.com&amp;quot;;&lt;/&gt;</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932046</guid>
  	<pubDate>Thu, 03 May 2007 20:25:02 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932052</link>	
  	<description>Also, is there anything I can do in BPFTP to make it reside at a different local IP that isn&apos;t mapped to the http server?</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932052</guid>
  	<pubDate>Thu, 03 May 2007 20:35:34 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932335</link>	
  	<description>&lt;em&gt;I would still prefer to make the existing attempt work in the interest of saving time.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Honestly, I think it&apos;ll take longer than using Apache would, but I understand how you feel.&lt;br&gt;
&lt;br&gt;
&lt;em&gt;Any ideas on how to get n2ftp to see BP instead of appweb?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
This might be a silly question, but is your web server configured to run PHP scripts? If it&apos;s not, that would explain why you&apos;re just getting prompted to download index.php.&lt;br&gt;
&lt;br&gt;
&lt;em&gt;Also, is there anything I can do in BPFTP to make it reside at a different local IP that isn&apos;t mapped to the http server?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
The short answer is, probably not. You can bind multiple IP addresses to your machine, which would allow you to run different services on different addresses, but you&apos;re presumably only getting one public IP address from your network provider, so no one would be able to get to the other address unless you set up firewall rules to map both internal addresses to a single external address, which wouldn&apos;t accomplish anything for you. In any case, you don&apos;t need two IP addresses, because the external world will only be able to talk to your web server running net2ftp, which will talk directly to the FTP server for them. At least, that&apos;s my understanding about net2ftp; I&apos;ve never used it.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932335</guid>
  	<pubDate>Fri, 04 May 2007 07:48:52 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932805</link>	
  	<description>&lt;em&gt;This might be a silly question, but is your web server configured to run PHP scripts? If it&apos;s not, that would explain why you&apos;re just getting prompted to download index.php.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Doesn&apos;t the fact that this whole thing works when I access the server locally mean that appweb &lt;em&gt;is &lt;/em&gt;configured to run php scripts?</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932805</guid>
  	<pubDate>Fri, 04 May 2007 14:25:08 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932825</link>	
  	<description>I would think so.&lt;br&gt;
&lt;br&gt;
I just noticed something odd about your net2ftp config file:&lt;br&gt;
&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;ALL&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;localhost&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;192.168.1.1&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][3] = &amp;quot;ftp.mydomain2.org&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;ftp://127.0.0.1:21&amp;quot;;&lt;br&gt;
&lt;br&gt;
The enabled line has a URL, while the other lines simply have hostnames or IP addresses. I don&apos;t know why that would cause a problem remotely but not locally, but I have no experience with appweb or net2ftp.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932825</guid>
  	<pubDate>Fri, 04 May 2007 15:03:30 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932848</link>	
  	<description>&lt;em&gt;//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;ALL&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][1] = &amp;quot;localhost&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;192.168.1.1&amp;quot;;&lt;br&gt;
//$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][3] = &amp;quot;ftp.mydomain2.org&amp;quot;;&lt;br&gt;
$net2ftp_settings[&amp;quot;allowed_ftpservers&amp;quot;][2] = &amp;quot;127.0.0.1&amp;quot;;&lt;br&gt;
&lt;br&gt;
With this setup (and with :21 appended to the 127..., same goes for ftp:// prepended), after you present credentials and hit login, you are asked if you want to download index.php. This looks to me like net2ftp is opening up appweb server and getting redirected to index.php. So it&apos;s getting confused b/c there are 2 servers at 1 IP&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
As I mentioned above, this doesn&apos;t seem to matter. &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Somthing else I noticed is that, when this multiserver clusterfuck is accessed from the outside, BPFTP is talking to the Net2ftp locally. Here&apos;s the the log from bpftp. It seems like net2ftp almost gets to the directorylist and then decides that it rather just give me a PHP file:&lt;br&gt;
&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - (not logged in) (my.ip.add.ress) &amp;gt; connected to ip : my.ip.add.ress&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - (not logged in) (my.ip.add.ress) &amp;gt; sending welcome message.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - (not logged in) (my.ip.add.ress) &amp;gt; 220 Max&apos;s FTP&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - (not logged in) (my.ip.add.ress) &amp;gt; USER sweettits&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - (not logged in) (my.ip.add.ress) &amp;gt; 331 Password required for sweettits.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - (not logged in) (my.ip.add.ress) &amp;gt; PASS ********&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; logged in.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; 230 User Sweettits logged in.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; CWD &lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; asked to change directory : &apos;D:\files\ -&amp;gt; D:\files\&apos; --&amp;gt; Access allowed.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; 250 CWD command successful. &amp;quot;/&amp;quot; is current directory.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; PWD &lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; 257 &amp;quot;/&amp;quot; is current directory.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; PORT my,ip,add,ress,17,100&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; 200 Port command successful.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; LIST -a&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; 150 Opening data connection for directory list.&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; 226 Transfer ok&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; QUIT &lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; 221 Bye bye ...&lt;br&gt;
(000070) 5/4/2007 4:31:29 PM - Sweettits (my.ip.add.ress) &amp;gt; disconnected. (00:00:00)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
This is driving me nuts! So close but yet so far away! Thanks again for slogging through this with me!</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932848</guid>
  	<pubDate>Fri, 04 May 2007 15:42:53 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932884</link>	
  	<description>&lt;em&gt;It seems like net2ftp almost gets to the directorylist and then decides that it rather just give me a PHP file&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
Can you get PHP to l&lt;a href=&quot;http://us2.php.net/errorfunc&quot;&gt;og errors&lt;/a&gt;, then see what shows up in the log?</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932884</guid>
  	<pubDate>Fri, 04 May 2007 16:27:39 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#932908</link>	
  	<description>Is this the PHP log below? &lt;br&gt;
Also, there is a text file in the server temp directory that says the following: &lt;br&gt;
&amp;quot;Don&apos;t forget to chmod this directory to 777 (all permissions).&amp;quot;&lt;br&gt;
I&apos;ve not done this b/c I dont know what it means. Is this relevant?&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
LOG:&lt;br&gt;
   default:2 main  Configuration for Mbedthis AppWeb&lt;br&gt;
   default:2 main  --------------------------------------------&lt;br&gt;
   default:2 main  Host:               computer&lt;br&gt;
   default:2 main  CPU:                i386&lt;br&gt;
   default:2 main  OS:                 WIN&lt;br&gt;
   default:2 main  Version:            2.1.0.2&lt;br&gt;
   default:2 main  BuildType:          RELEASE&lt;br&gt;
   default:2 main  Started at:         Fri May 04 17:51:50 2007&lt;br&gt;
   default:2 main  Log rotation count: 0&lt;br&gt;
   default:2 main  --------------------------------------------&lt;br&gt;
   default:2 main  Set log level for all modules to 2&lt;br&gt;
   default:2 main  Document Root for Main Server:&lt;br&gt;
        &amp;quot;C:/appWeb/web&amp;quot;&lt;br&gt;
   default:2 main  Module search path:&lt;br&gt;
			&amp;quot;./bin ../bin ../bin/Debug ../bin/Release&amp;quot;&lt;br&gt;
   default:2 main  Activating module (Loadable) auth&lt;br&gt;
   default:2 main  Activating module (Loadable) cgi&lt;br&gt;
   default:2 main  Activating module (Loadable) dir&lt;br&gt;
   default:2 main  Activating module (Loadable) egi&lt;br&gt;
   default:2 main  Activating module (Loadable) esp&lt;br&gt;
   default:2 main  Activating module (Builtin) dir&lt;br&gt;
   default:2 main  Activating module (Loadable) put&lt;br&gt;
   default:2 main  Activating module (Loadable) php5&lt;br&gt;
   default:2 main  Activating module (Loadable) ssl&lt;br&gt;
   default:2 main  Activating module (Loadable) openSsl&lt;br&gt;
   default:2 main  Activating module (Loadable) copy&lt;br&gt;
   default:2 main  Activating module (Loadable) upload&lt;br&gt;
   default:2 main  Add authHandler&lt;br&gt;
   default:2 main  Add dirHandler&lt;br&gt;
   default:2 main  Add putHandler&lt;br&gt;
   default:2 main  Add egiHandler for &amp;quot;.egi&amp;quot;&lt;br&gt;
   default:2 main  Add cgiHandler for &amp;quot;.cgi .cgi-nph .bat .cmd .pl .py&amp;quot;&lt;br&gt;
   default:2 main  Add espHandler for &amp;quot;.esp .asp&amp;quot;&lt;br&gt;
   default:2 main  Add php5Handler for &amp;quot;.php&amp;quot;&lt;br&gt;
   default:2 main  Add copyHandler&lt;br&gt;
   default:2 main  Add uploadHandler&lt;br&gt;
    upload:2 main  Upload directory: c:/tmp&lt;br&gt;
   default:2 main  Add copyHandler&lt;br&gt;
   default:2 main  Document Root for 127.0.0.1:4443:&lt;br&gt;
        &amp;quot;C:/appWeb/web&amp;quot;&lt;br&gt;
httpServer:2 main  ServerName set to: my.ip.add.ress&lt;br&gt;
   default:2 main  Starting host named: my.ip.add.ress&lt;br&gt;
   default:2 main  Starting host named: 127.0.0.1:4443&lt;br&gt;
   default:2 main  Listening for HTTP on my.ip.add.ress:80&lt;br&gt;
   default:2 main  Listening for HTTP on 127.0.0.1:80&lt;br&gt;
   default:2 main  Listening for HTTPS on my.ip.add.ress:4443&lt;br&gt;
   default:2 main  Listening for HTTPS on 127.0.0.1:4443&lt;br&gt;
   default:2 main  HTTP services are ready with 4 pool threads&lt;br&gt;
   default:2 main  MPR: instructed to terminate&lt;br&gt;
   default:2 main  Stopping HTTP services.&lt;br&gt;
   default:2 main  Stopping MPR services.&lt;br&gt;
   default:2 main  MPR: instructed to terminate&lt;br&gt;
   default:2 main  Unloaded all modules&lt;br&gt;
&lt;br&gt;
- End -</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-932908</guid>
  	<pubDate>Fri, 04 May 2007 16:58:32 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: me &amp; my monkey</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#933078</link>	
  	<description>&lt;em&gt;Is this the PHP log below?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
No, that&apos;s appweb&apos;s log. You&apos;ll have to enable PHP logging, and tell it where to put its log file, I think - I&apos;m not a PHP developer. The link I posted previously should explain how to do this.&lt;br&gt;
&lt;br&gt;
&lt;em&gt;Also, there is a text file in the server temp directory that says the following:&lt;br&gt;
&amp;quot;Don&apos;t forget to chmod this directory to 777 (all permissions).&amp;quot;&lt;br&gt;
I&apos;ve not done this b/c I dont know what it means. Is this relevant?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
It&apos;s not relevant, since you&apos;re running on Windows; it&apos;s a Unix command. If you haven&apos;t customized permissions on Windows, the directory in question will be available to everyone in all likelihood.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-933078</guid>
  	<pubDate>Fri, 04 May 2007 21:11:16 -0800</pubDate>
  	<dc:creator>me &amp; my monkey</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#933218</link>	
  	<description>It seems to be working fine now, the proxy doesn&apos;t work. But when I had someone actually try to access it remotely, it worked fine.  Thanks for all the help!</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-933218</guid>
  	<pubDate>Sat, 05 May 2007 03:10:22 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>
<item>
  	<title>By: Popcorn</title>
  	<link>http://ask.metafilter.com/61906/How-do-I-set-up-a-file-server-on-a-PC#933818</link>	
  	<description>A bit of follow up for those that may come across this thread.&lt;br&gt;
&lt;br&gt;
One of the main reasons I used  the net2ftp on an http server in the first place was b/c I thought no-ip couldn&apos;t redirect to ftp as it only would let me add an IP as the redirect address, not a URL. So when I&apos;d go to me.noip.com, it would, by default send me to http://my.ip.add.ress.&lt;br&gt;
&lt;br&gt;
It turns out that if you type ftp://me.no-ip.com you get sent to ftp://my.ip.add.ress. &lt;br&gt;
&lt;br&gt;
I&apos;m kicking myself a bit, but I did learn a lot about the difference between a URL and an Domain.</description>
  	<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.61906-933818</guid>
  	<pubDate>Sun, 06 May 2007 00:54:48 -0800</pubDate>
  	<dc:creator>Popcorn</dc:creator>
</item>

    </channel>
</rss>
