|
Home > Archive > IIS FTP Server > August 2006 > FTP Troubles
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| jinkster@gmail.com 2006-07-28, 1:24 pm |
| I am having trouble with FTP in IIS 6 on server 2003 standard edition.
Here is what is happening:
I can setup users with virtual ftp directories, people can upload and
download smaller files. But anytime I have a file that is over around 8
or 10 megs the file doesnt complete the upload when using a program
such as SmartFTP, WS_FTP, or CuteFTP. Essentially the upload gets stuck
at 99%, all the bytes have transferred, but if you dont cancel the
upload when it is stuck at 99% it will restart from the beginning again
and just go into a loop, transferring the file up, transferring all the
bytes, waiting a few minutes, restarting again, etc, etc.
It doesnt seem to matter which FTP program you use, so I am thinking it
is something to do with IIS.
Downloading files from the server is no problem, that works fine.
I have tried connecting in both Passive, and Active, and it doesnt make
any difference the same thing happens.
I have tried uploading with ftp.exe and that works fine, that was what
originally got me thinking it was an issue with passive mode, so I
tried connecting with active mode but it does the same thing.
I am ok with using ftp.exe myself, but that is not an option for the
three or four clients I have that use FTP on a regular basis.
(Note: I am using ASCII mode data connection in the FTP Programs, same
as ftp.exe)
If anyone has any suggestions I would greatly appreciate it.
Thanks,
Jamie
| |
| Robin Walker [MVP] 2006-07-28, 1:24 pm |
| jinkster@gmail.com wrote:
> I can setup users with virtual ftp directories, people can upload and
> download smaller files. But anytime I have a file that is over around
> 8 or 10 megs the file doesnt complete the upload when using a program
> such as SmartFTP, WS_FTP, or CuteFTP. Essentially the upload gets
> stuck at 99%, all the bytes have transferred,
My belief is that this is not an IIS problem. I think you will find that
there is a corporate firewall or router involved here, either at the client
end or the server end, and it is timing out the FTP control TCP connection,
which is idle during data transfers. That is why it only affects long
transfers.
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
| |
| jinkster@gmail.com 2006-07-29, 7:18 pm |
| Thanks for the suggestion Robin,
I increased the connection timeout for the FTP sites in IIS to 5,400
seconds (90 minutes) and tested it with an 11 meg file. It took about 4
minutes to upload, and the same thing happened again.
Can you think of anything else that may be causing this to happen?
Thanks,
Jamie
Robin Walker [MVP] wrote:
> jinkster@gmail.com wrote:
>
>
> My belief is that this is not an IIS problem. I think you will find that
> there is a corporate firewall or router involved here, either at the client
> end or the server end, and it is timing out the FTP control TCP connection,
> which is idle during data transfers. That is why it only affects long
> transfers.
>
> --
> Robin Walker [MVP Networking]
> rdhw@cam.ac.uk
| |
| Robin Walker [MVP] 2006-07-29, 7:18 pm |
| jinkster@gmail.com wrote:
> Thanks for the suggestion Robin,
> I increased the connection timeout for the FTP sites in IIS to 5,400
> seconds (90 minutes) and tested it with an 11 meg file. It took about
> 4 minutes to upload, and the same thing happened again.
As I said before, I do not think this is an IIS problem, and you will not
solve it by making adjustments to IIS. The time-out is not occurring in
IIS. It will be a timeout somewhere in a firewall or router, which is
seeing an idle connection on the FTP control connection.
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
| |
| jinkster@gmail.com 2006-08-01, 7:28 am |
| Thanks Robin,
All I am running is Windows Internet Connection Firewall. The machine
is not behind a router. I have looked around in the settings on Windows
firewall to see if I can see a session timeout setting, but I couldnt
see one.
I do have all the ICMP settings unchecked including "Allow outgoing
time exceeded". Do you think that might have something to do with it?
As I mentioned before I can upload large files with no problem using
ftp.exe, so I can't understand why I can't use a FTP program with a GUI
to do the same thing.
Thanks again,
Jamie
Robin Walker [MVP] wrote:
> jinkster@gmail.com wrote:
>
>
> As I said before, I do not think this is an IIS problem, and you will not
> solve it by making adjustments to IIS. The time-out is not occurring in
> IIS. It will be a timeout somewhere in a firewall or router, which is
> seeing an idle connection on the FTP control connection.
>
> --
> Robin Walker [MVP Networking]
> rdhw@cam.ac.uk
| |
| Robin Walker [MVP] 2006-08-01, 7:28 am |
| jinkster@gmail.com wrote:
> All I am running is Windows Internet Connection Firewall. The machine
> is not behind a router. I have looked around in the settings on
> Windows firewall to see if I can see a session timeout setting, but I
> couldnt see one.
>
> As I mentioned before I can upload large files with no problem using
> ftp.exe, so I can't understand why I can't use a FTP program with a
> GUI to do the same thing.
Your mention of "Windows Internet Connection Firewall" implies that you have
not yet applied 2003 Service Pack 1, which you should do, in order to obtain
the new Windows Firewall. Then, using the new Windows Firewall, you need to
set a Program Exception for C:\WINDOWS\system32\inetsrv\inetinfo.exe so that
IIS can open Passive-mode ports. There is no easy way to do this safely
with ICF, other than opening a huge range of ports for incoming passive-mode
connections.
--
Robin Walker [MVP Networking]
rdhw@cam.ac.uk
|
|
|
|
|