Trouble with ftp batch file.
Posted: 09 Dec 2011 04:08
I made a bact file for the ease of using ftp.exe through cmd prompt.
@echo off
echo user username> ftpcmd.dat
echo pasword>> ftpcmd.dat
echo bin>> ftpcmd.dat
echo put %1>> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat server
del ftpcmd.dat
it works on some machines, but on others i get this error.
< was unexpected at this time.
C:\WINDOWS\system32><html><head><meta http-equiv="refresh" content="0;url=http://search.suddenlink.net/index.php?origURL=http://hiddenforprivacyiaddedthis"/></head><body><script>window.location="http://search.suddenlink.net/index.php?origURL="+escape(
i don't understand what is going on. any help wouldbe awesome.
thi s error is coming from a xp sp3 machine.
@echo off
echo user username> ftpcmd.dat
echo pasword>> ftpcmd.dat
echo bin>> ftpcmd.dat
echo put %1>> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat server
del ftpcmd.dat
it works on some machines, but on others i get this error.
< was unexpected at this time.
C:\WINDOWS\system32><html><head><meta http-equiv="refresh" content="0;url=http://search.suddenlink.net/index.php?origURL=http://hiddenforprivacyiaddedthis"/></head><body><script>window.location="http://search.suddenlink.net/index.php?origURL="+escape(
i don't understand what is going on. any help wouldbe awesome.
thi s error is coming from a xp sp3 machine.