Files can be uploaded into a project from a web location
(HTTP or FTP Server) or from the local file system.
Procedure
- To specify a location for the file from the local file
system, choose from one of the following options:
- Click Browse to browse for the file,
and click Open.
- In the Location field, enter the URI
of the file on the local file system, for example: file:/C:/temp/mySchema.xsd
- To specify a location for the file from an external web
location (FTP or HTTP Server), in the Location field
enter the URI of the file using any of the following format descriptions:
- http://[username:password@]hostname[:portNumber]/location
- https://[username:password@]hostname[:portNumber]/location
- ftp://[username:password@]hostname[:portNumber]/location
The preceding format descriptions contain the following representations:- brackets [] - represent optional parameters and should not be
included in the URI
- username - specifies the user name to connect to the HTTP or FTP
server
- password - specifies the password of the specified user name to
connect to the HTTP or FTP server
- portNumber - specifies the port number to use to connect to the
HTTP or FTP server
- location - specifies the URL path to find the file. The URL must
include the name of the file as shown in the following example.
Example
To upload the
mySchema.xsd file from
the
acme.com FTP server in the
/input directory
using the username
bob with a password of
snippy1,
specify the following sting in the Location field:
- ftp://bob:snippy1@acme.com/input/mySchema.xsd