星期六, 5月 23, 2009

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
Edit the LMHOSTS file (in %systemroot%system32driversetc)
Add line
MicrosoftFTP #PRE
e.g. 207.46.133.140 MicrosoftFTP #PRE
Save the file
Open a CMD.EXE session. Enter command:
nbtstat -R
This purges and reloads the name table cache
Type command:
net view MicrosoftFTP
You should see information on the site
Now map a drive (to share data)
net use * MicrosoftFTPdata /user:anonymous
All done. It will pass a drive letter for the connection
張貼留言