this is really old school, but i need to write a batch file to automate ftp put/get. the ftp command file is done, now i'm working on making the .bat work a little better.
the .bat is quite simple. it loops 50 times. in each loop, it rasdials, ftp the same file from the same server, rasdial /disconnect, wait 5sec.
as the .bat runs, i would like to see something like this:
"9:40 Attempt 4 of 50. Dialing. FTP. Disconnecting."
as you may have guessed, I would like to see "Dialing" "FTP" "Disconnecting" when it does that.
can anyone suggest how I may accomplish this? The DOS references on the web (even wiki) do no seem to talk about how to concatenate results onto 1 line.
how i wish this were unix ... :/ then this can be easily done by "\\c" (i think).
the .bat is quite simple. it loops 50 times. in each loop, it rasdials, ftp the same file from the same server, rasdial /disconnect, wait 5sec.
as the .bat runs, i would like to see something like this:
"9:40 Attempt 4 of 50. Dialing. FTP. Disconnecting."
as you may have guessed, I would like to see "Dialing" "FTP" "Disconnecting" when it does that.
can anyone suggest how I may accomplish this? The DOS references on the web (even wiki) do no seem to talk about how to concatenate results onto 1 line.
how i wish this were unix ... :/ then this can be easily done by "\\c" (i think).