Set a cap to a folder (size in gb)

System manufacturer / System product name
August 12, 2009 at 05:57:26
Specs: Microsoft Windows Server 2008, 3.214 GHz / 2047 MB
Hi all,

I was setting up a ftp server on a server that has two 1 TB harddisks. Now the problem is that when you use explorer (or firefox etc) to open the ftp folder it says "An error occured opening that folder on the FTP Server. Make sure you have permission to acces that folder. Details: The operation timed out". Ive googled this problem and it seems that it is scanning all 2 TB and so exceeds the maximum allowed time.

So I was wondering if it is possible to set a cap to a folder in windows. So the ftp folder only gets 300gb to save data.

I hope you understand my problem and if I need to give more info plz tell me.

Grtz
Taxos


See More: Set a cap to a folder (size in gb)

Report •


#1
August 12, 2009 at 07:26:42
Test the FTP server by connecting to it using a command prompt. Below is an example of me logging in to my FTP server. The only difference is that my server is running Unix but the concept is the same.

C:\>ftp 192.168.1.104
Connected to 192.168.1.104.
220 queyosepa.queyosepa.local FTP server (Version 6.00LS) ready.
User (192.168.1.104:(none)): guapo
331 Password required for guapo.
Password:
230 User guapo logged in.
ftp> ls -asl
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
total 682270
2 drwxr-xr-x 7 donoli wheel 1536 Aug 12 10:18 .
2 drwxr-xr-x 3 root wheel 512 Dec 28 2007 ..
0 -rw------- 1 donoli wheel 0 Aug 12 10:18 .ICEauthority
0 -rw------- 1 donoli wheel 0 Aug 12 10:16 .Xauthority
2 -rw------- 1 501 501 171 Oct 16 2008 ._README
2 -rwxr-x--- 1 501 501 171 Oct 16 2008 ._lm2ntcrack.pl
4 -rw------- 1 donoli wheel 2806 Apr 15 22:39 .bash_history

How do you know when a politician is lying? His mouth is moving.


Report •

#2
August 12, 2009 at 07:45:45
Got this reply:

C:\Windows\system32>ftp 192.168.1.100
Connected to 192.168.1.100.
220 Microsoft FTP Service
User (192.168.1.100:(none)): X
331 Password required for X.
Password:
230 User x logged in.
ftp> ls -asl
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
08-07-09 05:23PM 48 desktop.ini
08-07-09 05:24AM 0 It Works.txt.txt
08-12-09 02:43PM 4339712 test.msi
226 Transfer complete.
ftp: 158 bytes received in 0.00Seconds 158.00Kbytes/sec.

But the problem isnt that Im unabble to connect. For example when using a program like cuteftp or something similar it works fine.
So Im sure that when I cap the folder Im able to connect just fine using windows explorer.

Thanks for your response,

Grtz
Taxos


Report •

#3
August 12, 2009 at 16:04:51
Doesn't the browser assume you are logging in anonymously & that's why it's asking if you have permissions or not?

Otherwise, it would be something like
ftp://user:password@host

I'm not sure about the cap but I'll try to find something on it.

How do you know when a politician is lying? His mouth is moving.


Report •

Related Solutions

#4
August 13, 2009 at 07:33:25
No when opening a connection to the ftp server a browser as well as explorer asks for a user name and password.
After logging in I get the same message Connection Timed out.
Server says: user X exceeded 120 seconds.

Only thing that seems to work now is using a ftp program. But I would prefer just a link in a browser.

Thanks for you help
Grtz
Taxos


EDIT:
Anonymous login is disabled


Report •

#5
August 13, 2009 at 16:03:33
I just tried to connect to my own server ftp://192.168.1.104

I got User anonymous unknown.

Then I tried:

ftp://guapo:password@192.168.1.104/

& it connected.

How do you know when a politician is lying? His mouth is moving.


Report •

#6
August 14, 2009 at 04:20:52
Yeah I tried that too and it works but it then gives the message (using firefox) 425 Error opening connection.
When connecting using a program like cuteftp it takes a long time to connect but the works.
When connecting using a command prompt as you said before everything goes really fast.

I think the problem might not be a folder cap or anything. After I changed the connection time out time in firefox, it still gave me the 425 error when trying to connect.

Thanks for your help
Grtz
Taxos

PS
After firefox or internet explorer stop connecting server says: "User X at host 192.168.1.1 has timed-out after 120 seconds of inactivity."


Report •

#7
August 14, 2009 at 06:38:52
192.168.1.1 isn't the IP address of the host. That's the IP address of the router.

How do you know when a politician is lying? His mouth is moving.


Report •

#8
August 14, 2009 at 06:51:59
My connection is as followed

Internet->Router(DMZ)->192.168.1.100(server)

Ive got a couple of dns servers up and running.

If you want I could send you the address and a user name and password so you can see it yourself.

But I don't think the problem is the connection to the server. Because when connecting with any FTP program it works fine.

Thanks for your help I really appreciate it.

Grtz
Taxos


Report •

#9
August 14, 2009 at 19:15:12
The error message you posted didn't have that IP address. Maybe it was a typo, which is fine. I just thought I would mention it.

How do you know when a politician is lying? His mouth is moving.


Report •

#10
August 15, 2009 at 08:22:21
Could that be the problem that the servers doesn't get the IP address from the person that tries to connect to the ftp?

If so, is it then a server problem or a client problem?


Report •

#11
August 15, 2009 at 20:12:28
I'm sure that the client's IP address is sent to the server. I don't see why it wouldn't be sent.

How do you know when a politician is lying? His mouth is moving.


Report •

#12
August 16, 2009 at 06:23:52
Well you saw in the error the server gave that it sees the connecting IP as the IP of the router.
However the server does see a connection from the correct IP if the client uses a ftp program.

I still think it is a connection time out that happens somewhere when trying to connect.


Report •

#13
August 16, 2009 at 17:31:29
A timeout is one thing & the wrong IP is another. They aren't synonymous. They are two totally different errors.

Try to connect to the FTP server from the same machine that hosts it using the browser.

How do you know when a politician is lying? His mouth is moving.


Report •

#14
August 17, 2009 at 06:33:12
Ok tried what you said:
Server PC
speedservers.nl : error
localhost (127.0.0.1): To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer.
192.168.1.100 (computer IP) : works
Error message: User x at host 127.0.0.1 has timed-out after 120 seconds of inactivity.

PC on localnetwork
Speedservers.nl: error
Error message: User x at host 192.168.1.1 has timed-out after 120 seconds of inactivity.
192.168.1.100: error
Erros message: User x at host 192.168.1.101 has timed-out after 120 seconds of inactivity.

Using ftp program:
Speedservers.nl: works (Takes a long time tough)
192.168.1.100: works (also takes a long time)


Hope you can get something out of this.
Thanks for your support

Grtz
Taxos


Report •

#15
August 20, 2009 at 11:49:25
Ok I finally done it.

If you disable passive ftp in internet options you are able to connect.

Open a explorer->tools->internet options and then disable passive ftp use.

Hope this helps other people with the same problem

Thanks for your help guapo really appreciated it.

Grtz
Taxos


Report •

#16
August 20, 2009 at 15:57:21
You're welcome & I'm glad to hear it's working. Thanks for posting the solution.

How do you know when a politician is lying? His mouth is moving.


Report •

#17
August 21, 2009 at 01:18:09
Many thanks to ur post. I love it.

[url=http://simulationpretpersonnel.com][color=#FFFFFF][u]demande simulation pret personnel en ligne[/u][/color][/url][color=#FFFFFF] - Pret personnel en ligne et de comparer les meilleurs taux afin de... La demande de prĂȘt personnelen ligne[/color][url=http://simulationpretpersonnel.com][color=#FFFFFF][u]demande simulation pret personnel en ligne[/u][/color][/url]


Report •

#18
August 21, 2009 at 03:40:15
The only problem is if your using windows 7-E you dont have internet explorer installed so you cant disable passive ftp.

You need or a ftp program (which automatically switches from passive to active ftp) or you need to install internet explorer.

Grtz
Taxos


Report •


Ask Question