Yet when I key in each of the above commands interactively the "put"
transfers the file.
Any ideas what I am doing wrong?
Thank you.
Here is the command line to invoke
FTP -s:HTML.FTP host_IP >>FTP.LOG
Here is the contents of HTML . FTP
account_username
account_password
binary
cd D
dir
put W:MSCD0000.HTM Mscd0000.htm
dir
bye
Here is the contents of the FTP . LOG
[---- Top of FTP . LOG ----]
Connected to host_IP
220 members.----.net FTP server ready.
User (host_IP:(none)):
331 Password required for username.
230 ++ Welcome to ... Network.
ftp> ftp>
binary
200 Type set to I.
ftp> cd D
250 CWD command successful.
dir
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
... files displayed
226 Transfer complete.
ftp: 813 bytes received in 0.83Seconds 0.98Kbytes/sec.
ftp> ftp> put W:MSCD0000.HTM Mscd0000.htm
dir
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
... files displayed
226 Transfer complete.
ftp: 813 bytes received in 0.32Seconds 2.54Kbytes/sec.
ftp> bye
221 Goodbye.
[---- End of FTP . LOG ----]
--
Regards,
Nyk [ http://members.home.net/njaj/ requires JS ]
[ http://members.home.net/njaj/D/Msdc.htm for links to useful sites - !js ]
mailto:nj...@NOSPAMhomeLESS.com (remove NOSPAMLESS to send email)
Defy gravity. Don't let yourself get pulled down.
--KC
--
Posted via CNET Help.com
http://www.help.com/
Once I corrected the typo the file transferred with and without the drive
specification.
Again thanks
--
Regards,
Nyk [ http://members.home.net/njaj/ requires JS ]
[ http://members.home.net/njaj/D/Msdc.htm for links to useful sites - !js ]
mailto:nj...@NOSPAMhomeLESS.com (remove NOSPAMLESS to send email)
Defy gravity. Don't let yourself get pulled down.
"Kasey Chang" <ksc...@my-deja.com> wrote in message
news:t90j7ha...@corp.supernews.com...