Hello,
I have been able to connect to FTP via the command line,
but I wrote a batch script for automatic login, connection, and download as follows:
@echo off
rem echo ftp >> Downftp.tmp
rem echo wait 00:01 >> DownFtp.tmp
echo open 58.213.121.80 >> DownFtp.tmp
rem echo wait 00:01 >>DownFtp.tmp
echo anonymous >> DownFtp.tmp
rem echo wait 00:01 >> DownFtp.tmp
echo anonymous >> DownFtp.tmp
rem echo wait 00:01 >> DownFtp.tmp
echo get startfile.TXT D:\startfile.TXT >> DownFtp.tmp
rem echo wait 00:02 >> DownFtp.tmp
echo close >> DownFtp.tmp
rem echo wait 00:01 >> DownFtp.tmp
echo bye >> DownFtp.tmp
rem echo EOF >> DownFtp.tmp
Run DownFtp.tmp
rem del DownFtp.tmp
if exist D:\startfile.TXT @echo the net is connected ok!
pause
if exist D:\startfile.TXT del D:\startfile.TXT
:end
Running this batch script fails to connect to FTP,
I don't know the reason,
Please give advice!