Hi Mark,

I use the following batch file to do command line ftp without user
interaction, you could also insert the code into your autoexec.bat.
You "call" this batch file from other batch files and pass it parameters
echoed in the batch file below. 
You can also run it from command line.
You might have to change the username and password to suit your environment.

@echo off
echo %1 - server name
echo %2 - get or put
echo %3 - filename
echo %4 - remote subdirectory
echo user anonymous password    >ftp.scr
echo cd %4                      >>ftp.scr
echo bin                        >>ftp.scr
echo %2 %3                      >>ftp.scr
echo bye                        >>ftp.scr
::
ftp -n -s:ftp.scr %1


Regards
Mark
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to