PDA

View Full Version : ftp hangs?


meissnersdc
06-10-2004, 10:56 AM
I want to be able to upload all my files to the host from the command line.
So within a makefile I run
ftp -i -n -s:myscript.txt

the scipt is simple...

open ftp.mysitecom
user blahblah foofoo
cd dems
lcd msd\dems
mput *.aspx
quit

The problem is that the mput command seems to hang for about 10 seconds and then the remote host closes the connection.
Any idea why mput is doing this?


Karl


Computer Consultant - www.meissnersd.com

bruce
06-10-2004, 12:09 PM
this behavior usually happens if you have a firewall or antivirus software installed.

try disable those and see if it helps.

[b]quote:Originally posted by meissnersdc


I want to be able to upload all my files to the host from the command line.
So within a makefile I run
ftp -i -n -s:myscript.txt

the scipt is simple...

open ftp.mysitecom
user blahblah foofoo
cd dems
lcd msd\dems
mput *.aspx
quit

The problem is that the mput command seems to hang for about 10 seconds and then the remote host closes the connection.
Any idea why mput is doing this?


Karl


Computer Consultant - www.meissnersd.com
</blockquote id="quote"></font id="quote">