Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
talytech
#1
Post
by talytech » 10 Nov 2008 11:00
I am trying to auto connect to FTP site and transfer a file to my local hard drive. The following code is what I have but isn't working:
Code: Select all
@echo off
cd c:\documents and settings\e3utbl\desktop\ert
ftp
open fm-nsnotrix
username
password
get span\span.txt
bye
Could someone please help me with this? What happens when I run this script the DOS window opens to the "FTP>" prompt
-
talytech
#3
Post
by talytech » 12 Nov 2008 08:31
Thank you so much. That worked!