FTP.exe in DOS - "connection closed by remote host"

16/11/2005 - 05:42 por Daniel Devadoss | Informe spam
Dear friends,


This is Daniel here just joined your group.
My system is Win Xp os and want to upload files in dos to an ftp server



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

Preguntas similare

Leer las respuestas

#1 Cyber
16/11/2005 - 10:00 | Informe spam
This is happening on every host you try to connect or just an especific one?
I've been reproducing your procedure on my FTP site from a DOS sesion
without any problem.
Sorry but I can help you.

PS. This is group in spanish, so please don't post in English.





"Daniel Devadoss" escribió en el mensaje
news:
Dear friends,


This is Daniel here just joined your group.
My system is Win Xp os and want to upload files in dos to an ftp server



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

Respuesta Responder a este mensaje
#2 Víctor Cespón
16/11/2005 - 15:12 | Informe spam
FTP servers usually have a session timeout period, a few minutes

And the command to upload a file is PUT, not SEND

"Daniel Devadoss" wrote:

Dear friends,


This is Daniel here just joined your group.
My system is Win Xp os and want to upload files in dos to an ftp server



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


email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida