FTP.exe in DOS - "connection closed by remote host"
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS FTP Server > FTP.exe in DOS - "connection closed by remote host"




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-15-05 12:54 PM

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.comnone)):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






[ Post a follow-up to this message ]



    Re: FTP.exe in DOS - "connection closed by remote host"  
Daniel Devadoss


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-15-05 12:54 PM

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.comnone)):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






[ Post a follow-up to this message ]



    Re: FTP.exe in DOS - "connection closed by remote host"  
Bernard Cheah [MVP]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 07:51 AM

Not much clue, does it happen with other ftp client software?
Also status code in IIS ftp log file ?

--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/


"Daniel Devadoss" <danieldevadoss@hotmail.com> wrote in message
news:1132059678.261796.297090@z14g2000cwz.googlegroups.com...
> My operating system is Windows XP professional
>
>
> Daniel Devadoss wrote: 
>







[ Post a follow-up to this message ]



    Re: FTP.exe in DOS - "connection closed by remote host"  
Mr. Backup


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-08-05 10: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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register