Tuesday, 11 August 2009

map ftp server as network drive

How can I map to an FTP server as a drive?

 

A. Its possible to configure a machine to map to a FTP server as a drive (for instance the Microsoft site)

providing the machine runs both NetBEUI and TCP/IP. Perform the following:

Perform a NSLOOKUP for the FTP site, e.g.

nslookup ftp.microsoft.com

make a note of the IP address

1.

2. Edit the LMHOSTS file (in %systemroot%\system32\drivers\etc)

Add line

<ip address> MicrosoftFTP #PRE

e.g. 207.46.133.140 MicrosoftFTP #PRE

3.

4. Save the file

Open a CMD.EXE session. Enter command:

nbtstat -R

This purges and reloads the name table cache

5.

Type command:

net view \\MicrosoftFTP

You should see information on the site

6.

Now map a drive (to share data)

net use * \\MicrosoftFTP\data /user:anonymous

7.

8. All done. It will pass a drive letter for the connection

 

 

No comments: