Discussion Locked

FTP files no content

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have setup an FTP site on an NT4 SP6 machine using IIS 4 and files traveling over broadband connection. I made used of the FTP utility on cmd prompt to upload a test file but it always comes up that it doesn't have its content with 0 kb and message comes up "netout: connection reset by peer"

I tried using WSFTP pro with a Received error connection reset...425 Can't open data connection....Retreive of folder listing failed.

I have open tcp port 21 in our firewall. Are there any other ports need to be opened?
What's wrong?

Any suggestions will be highly rated =)
Thanks in advance...

3 replies

by raffi_

It is probably your firewall. By default FTP uses two ports:
- 21 for the control connection (login, ascii, hash, etc,)
- 20 for data transfer (dir listings, 'get', 'put' etc.)

Here is the exact spec according to RFC1700:
ftp-data 20/tcp File Transfer [Default Data]
ftp-data 20/udp File Transfer [Default Data]
ftp 21/tcp File Transfer [Control]
ftp 21/udp File Transfer [Control]
The URL for RFC1700 is
http://andrew2.andrew.cmu.edu/rfc/rfc1700.html

Regards
Raffi_

This discussion is closed to new replies.