using ftp

  • Thread starter Thread starter Québec
  • Start date Start date
Q

Québec

Hi,

How do I get ftp.microsoft.com/reskit/win2000/jt.zip
using cmd prompt ftp? I dont know how to use it:

ftp> open microsoft.com 80
Connected to microsoft.com.

then i cant type any command...

Jean Pierre
Daviau
 
Québec said:
How do I get ftp.microsoft.com/reskit/win2000/jt.zip
using cmd prompt ftp? I dont know how to use it:

d:\>ftp ftp.microsoft.com
Connected to ftp.microsoft.com.
220 Microsoft FTP Service
User (ftp.microsoft.com:(none)): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230-This is FTP.Microsoft.Com
230 Anonymous user logged in.
ftp> bin
200 Type set to I.
ftp> get /reskit/win2000/jt.zip
200 PORT command successful.
150 Opening BINARY mode data connection for /reskit/win2000/jt.zip(30368 bytes).

226 Transfer complete.
ftp: 30368 bytes received in 1.00Seconds 30.37Kbytes/sec.
ftp> quit
221 Thank-You For Using Microsoft Products!

Lines starting with three digits are replies from the server.

Don't run before you can walk. IOW, get to grips with Google to locate
resources like this: http://shg.ic.ucsb.edu/project/tut/FTP/
 
Jean Pierre Daviau wrote:

[...]
How do I get ftp.microsoft.com/reskit/win2000/jt.zip
using cmd prompt ftp? I dont know how to use it:

ftp> open microsoft.com 80
Connected to microsoft.com.

then i cant type any command...

I have changed my FTP template files to do this job. The first
one is a batch file that uses the second one, which is a FTP
script.

ftp-batch.cmd (or ftp-batch.bat):

@echo off
ftp -i -d -n -s:ftp-batch.ftp

ftp-batch.ftp:

open ftp.microsoft.com
user anonymous (e-mail address removed)
binary
lcd %homepath%/Eigene Dateien
cd ResKit/win2000
get jt.zip
bye

OK, it is a little bit of overkill for just downloading one
file. But it works fine for me.

[...]


Juergen
 
Jean Pierre Daviau wrote:

[...]
ftp> open microsoft.com 80
Connected to microsoft.com.

It should be:

ftp> open ftp.microsoft.com

You don't need to write the port-number. And port 80 means HTTP, not FTP.

[...]


Juergen
 
I got it thank you very much.


Juergen Schwarze said:
Jean Pierre Daviau wrote:

[...]
ftp> open microsoft.com 80
Connected to microsoft.com.

It should be:

ftp> open ftp.microsoft.com

You don't need to write the port-number. And port 80 means HTTP, not FTP.

[...]


Juergen
 
Back
Top