Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trying to use FTP command

2 views
Skip to first unread message

Nyk of 6

unread,
Feb 16, 2001, 3:00:19 PM2/16/01
to
I am attempting to automate the transfer of my pages to the WEB server and
FTP fails to transfer files.
This statement does not get processed !!!
ftp> ftp> put W:MSCD0000.HTM Mscd0000.htm

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.

Kasey Chang

unread,
Feb 18, 2001, 5:30:09 PM2/18/01
to
Try LCD to W:, then PUT the file over without the W:

--KC


--
Posted via CNET Help.com
http://www.help.com/

Nyk of 6

unread,
Feb 18, 2001, 5:47:00 PM2/18/01
to
Thank you KC, removing the drive letter got FTP to report that it could not
find the file.

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...

0 new messages