- Microsoft Ftp Download
- Microsoft Ftp Site
- Microsoft Ftp Server
- Ftp Download Window
- Microsoft Ftp Download Site
For a Microsoft Office 2000 version of this article, see
212491.


For a Microsoft Office 97 version of this article, see
159317.
IN THIS TASK
Summary
In the upper-right corner of the Office program window, click the Microsoft Office Button, and then click Open. In the Look In list, click Add/Modify FTP Locations. In the Name of FTP Site box, type the name of the FTP server. For example, if the FTP site is located on the Internet, type the name by using this format: ftp://ftp.microsoft.com. Download File Using FTP Microsoft ships a redistributable msinet.ocx with a number of products including Visual Basic 5.0, 6.0, Office 2000 Developer, Visual FoxPro 6.0, Visual C 5.0, 6.0. This file hosts Microsoft Internet Transfer Control which implements a number of protocols including HTTP and FTP.
This step-by-step article describes how to open documents from, and save documents to, a File Transfer Protocol (FTP) Web site by using Microsoft Office programs.
Open a File from an FTP Site
To open a file from an FTP site, follow these steps:
For Office 2003 and earlier versions of Office:
On the File menu, click
Open.In the Look In list, click
Add/Modify FTP Locations.In the Name of FTP Site box, type the name of the FTP server.
For example, if the FTP site is located on the Internet, type the name by using this format:ftp://ftp.microsoft.com
If the FTP site is part of your company's intranet, type the name by using this format:ftp://server name/folder
If the FTP site supports anonymous authentication, click the Anonymous option.
If you must have a user account on the FTP site, click the User option, and then type your name in the User list. Then, type your password (if you have one) in the
Password box.Click Add.
Click OK.
The FTP site appears in the list of sites where you can open or save files.
For 2007 Office programs:
In the upper-right corner of the Office program window, click the Microsoft Office Button, and then click Open.
In the Look In list, click
Add/Modify FTP Locations.In the Name of FTP Site box, type the name of the FTP server.
For example, if the FTP site is located on the Internet, type the name by using this format:ftp://ftp.microsoft.com
If the FTP site is part of your company's intranet, type the name by using this format:ftp://server name/folder
If the FTP site supports anonymous authentication, click the Anonymous option.
If you must have a user account on the FTP site, click the User option, and then type your name in the User list. Then, type your password in the
Password box if you have a password.Click OK.
Save a File to an FTP Site
For Office 2003 and earlier versions of Office:
On the File menu, click Save As.
For 2007 Office programs:
On the File menu, click
Save As.In the Save In list, click the name of the FTP location.
The path should look similar to the following:ftp://ftp.microsoft.com If you have not defined an FTP site, see the 'Open a File from an FTP Site' section of this article.
If you have appropriate access permissions to the FTP site, you should be able to save files to the FTP site.

Troubleshooting
To verify your connection to the FTP site, follow these steps:
Click Start, and then click
Run.Type the name of the FTP site.
For example, type:ftp://ftp.microsoft.com
If your Web browser starts and you can see the contents of the FTP site, you have the correct access to the site.
This feature requires that you have open and save permissions on the FTP site.
References
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

Microsoft Ftp Download
310723 How to configure FTP folders and permissions for domain authentication in IIS
306781 How to access FTP sites directly by using Internet Explorer 5.5
Microsoft Ftp Site
290298 OFFXP: How to publish a Web document to an FTP site
Microsoft ships a redistributable msinet.ocx with a number of products including Visual Basic 5.0, 6.0, Office 2000 Developer, Visual FoxPro 6.0, Visual C++ 5.0, 6.0. This file hosts Microsoft Internet Transfer Control which implements a number of protocols including HTTP and FTP. You need to know the commands that initiate the operations.
The code snippet given below shows how to use Microsoft Internet Transfer Control to download a file from a machine. To use the code, make sure that you add a reference to Microsoft Internet Transfer Control. To add a reference to it
Microsoft Ftp Server
- Select Tools | References....
- Select Microsoft Internet Transfer Control from the available references.
- If it is not available, click the Browse... button. You will be presented with the Add Reference dialog box.
- Locate and select MSINET.OCX. This file is usually present in the System folder.
- Click Open to dismiss the Add Reference dialog box.
- Click OK.
FunctionDownloadFile(ByVal HostName As String, _
ByVal UserName As String, _
ByVal Password As String, _
ByVal RemoteFileName As String, _
ByVal LocalFileName As String) As Boolean
Dim FTP As Inet
Set FTP = New Inet
With FTP
.Protocol = icFTP
.RemoteHost = HostName
.UserName = UserName
.Password = Password
.Execute .URL, 'Get ' + RemoteFileName + ' ' + LocalFileName
Do While .StillExecuting
DoEvents
Loop
DownloadFile = (.ResponseCode = 0)
End With
Set FTP = Nothing
End Function
Some points to keep in mind
- The function returns True if the operation succeeds otherwise it returns False.
- If the specified file (LocalFileName) is already present on the machine, the function will fail. It does not overwrite the existing file.
Ftp Download Window
See Also
Microsoft Ftp Download Site
Upload File Using FTP
