Cross-protocol URL mapping
View Patent ↗A system and method is described for mapping a first uniform resource locator (URL) for a file of a first protocol server to a second URL for the file of a second protocol server comprising capturing entry of the first URL, comparing the first URL to a base URL of the first protocol server, removing a portion of the first URL that does not match the base URL, obtaining a root directory of the file of the second protocol server, adding the portion of the first URL to the root directory to create the second URL.
1. A method comprising:
capturing entry of a first uniform resource locator (URL) for a file of a first protocol server;
comparing said first URL to a base URL of said first protocol server;
when a base portion of the first URL matches the base URL of the first protocol server, removing a portion of said first URL that does not match said base URL of the first protocol server;
obtaining a root directory of said file of a second protocol server;
adding said portion of said first URL to said root directory to create a second URL; and
retrieving said file using said second URL and providing said retrieved file to a web development environment for editing, wherein said web development environment provides a user interface that enables editing of a file.
2. The method of claim 1 further comprising:
requesting a user for entry of said base URL of said first protocol server.
3. The method of claim 1 wherein said root directory is obtained from a user.
4. The method of claim 1 wherein said root directory is obtained automatically from the development environment.
5. The method of claim 1 wherein said first protocol server and said second protocol server are located on a same physical computer system.
6. The method of claim 1 further comprising:
receiving via said user interface of said web development environment, user input editing the retrieved file.
7. A computer system configured to:
acquire entry of a first URL for a file on a first protocol server;
compare said first URL to a base URL of said first protocol server;
remove a non-matching part of said first URL responsive to said code for comparing when the first URL matches the base URL;
acquire a root directory for said file on a second protocol server;
concatenate said non-matching part of said first URL to said root directory to create a second URL of said second protocol server; and
retrieve the file using the second URL and provide the file to the web development environment, said web development environment providing a user interface that enables editing of the file.
8. The computer system of claim 7 further configured to:
prompt a user to enter said base URL of said first protocol server.
9. The computer system of claim 7 wherein said root directory is obtained from a user.
10. The computer system of claim 7 wherein said root directory is automatically obtained from a development application.
11. The computer system of claim 7 wherein said first protocol server and said second protocol server are run from a single physical computer system.
12. A method in a web page authoring environment for automatically converting Web addresses into file transfer addresses comprising:
capturing entry of a Web page address;
removing address elements of said Web page address beyond a base portion of said Web page address corresponding to a parent Web site address when the base portion of the Web page address is found in a mapping database;
adding said removed address elements to a base file transfer address corresponding to said parent Web site address to create a second URL; and
retrieving a file using the second URL and providing the file to the web page authoring environment for editing.
13. The method of claim 12 further comprising:
prompting a user to enter said parent Web site address.
14. The method of claim 12 further comprising:
comparing said Web page address to said parent Web site address prior to said removing.
15. The method of claim 12 further comprising:
obtaining said base file transfer address from one of:
the Web page authoring environment; and
a user.