| Author |
FTP.exe in DOS - "connection closed by remote host"
|
|
| Daniel Devadoss 2005-11-15, 7:54 am |
| Dear friends,
This is Daniel here just joined your group.
I am trying to upload files to a ftp server located at another location
from my client system. I use the FTP program in the DOS prompt. I do
the following.
C:\>ftp
ftp> open myserver.com
Connected to myserver.com.
220 194.55.26.100 FTP server ready
User (myserver.com none)):myusername
331 Password required for myusername.
Password:
230 User myusername logged in.
ftp>send filename.zip
(aftersometime I am getting the message)
Connection closed by remote host
ftp> dir
not connected
If I am trying to send small files I am able to transfer. If I leave
the session for some time idle then the session closes automatically.
I am able to transfer large without any difficulty from the Windows
Explorer from my system to the FTP server.
Can anyone please help me out please.
I am very desperately in need and it is very urgent as I have created
dos batch files to operate from different location to upload files
automatically.
When I try this from another system from office even then it is not
working I get the same error message.
Expecting your valuable help.
Thanks in advance for the help.
Thanks
Dani
| |
| Daniel Devadoss 2005-11-15, 7:54 am |
| My operating system is Windows XP professional
Daniel Devadoss wrote:
> Dear friends,
>
> This is Daniel here just joined your group.
>
> I am trying to upload files to a ftp server located at another location
> from my client system. I use the FTP program in the DOS prompt. I do
> the following.
>
> C:\>ftp
> ftp> open myserver.com
> Connected to myserver.com.
> 220 194.55.26.100 FTP server ready
> User (myserver.com none)):myusername
> 331 Password required for myusername.
> Password:
> 230 User myusername logged in.
> ftp>send filename.zip
> (aftersometime I am getting the message)
> Connection closed by remote host
> ftp> dir
> not connected
>
> If I am trying to send small files I am able to transfer. If I leave
> the session for some time idle then the session closes automatically.
>
> I am able to transfer large without any difficulty from the Windows
> Explorer from my system to the FTP server.
>
> Can anyone please help me out please.
> I am very desperately in need and it is very urgent as I have created
> dos batch files to operate from different location to upload files
> automatically.
>
> When I try this from another system from office even then it is not
> working I get the same error message.
>
> Expecting your valuable help.
>
> Thanks in advance for the help.
>
> Thanks
> Dani
| |
|
|
| Mr. Backup 2005-12-08, 5:56 pm |
| Sound to me like a firewall / network issue, where the DOS ftp.exe does not
keep the connection alive.
Perhaps its a PASV FTP Server and the client is under a firewall... I say
this only cause of the 192.... address you posted.
For example if you have an FTP Server under a firewall and its address is
192.168.1.100 and your public address is 200.abc.bbc.10. People from outside
connect to your server to that pub IP Address 200.... but the response from
the server would be 220 192.168.1.100 FTP server ready, this is because the
server is non routable, and a port is forwarded to it. If the server is not
in PORT Mode it would be in PASV and thus looking for a "RANGE" of ports to
accept connections on...
Sorry I am bad at wordding all of this but thats just my thoughs on it.
|
|
|
|