|
|
|
2003 TextMaestro Technologies
|
Example 8
|
The following dialog will appear:
Enter the name of your choice, say my_vector.h, and hit OK. You will obtain a new file my_vector.h on the file list, and a physical file where InfoContact.htm is located, as shown below:
Here InfoContact.htm is called the reference file. The new file (my_vector.h) contains the same file attributes as the reference file. That is,
However, you could enter this in the dialog box:
In this case, you would still see my_vector.h on the main list as above, but the new file would be physically created in C:\MyTest\NewTest\LookAtMe\ directory. (If the directory does not exist it will be created on demand). That is,
Instead of explicit local path with the filename, you could also specify remote path, as an example:
or perhaps a VMS specification of remote directory,
as In either case, you will see my_vector.h in the main list, and a local file would be created in the area of the reference file; but the remote directories of the new file would differ from that of the reference file. The attributes of the two files would look like this:
Note that using full remote path and filename in New File dialog allows you to map a file on the session without going to the remote host. If someone gives you the path and file name, or you copy it from a telnet session, then you can simply create a new file with that specification and then FTP it using F4, or simply double click on it and it will be FTP-ed and opened in corresponding application.
Fastest way to get files from a remote host Suppose you need to look into the following files for some certain reason: /public_html/repository/del_block_tmt_library.txt /public_html/all_html_example/InfoEx_13_Text_Script.htm /public_html/csci234/prog_01.htm /public_html/Test/my_vector.h /public_html/Test/supp/im_ex_01_05.gif
You could navigate the remote host for each file and bring it to the local area. Or you could do this. (1) Click on the reference file (InfoContact.htm). (2) Copy above filenames with full paths on the Output window.
(3) Right click on the reference file, and make selection as below:
This is a powerful step. It will parse the text from the Output window and for each line it will create a new local file. Then it will add the file to the session utilizing the full remote path as specified in the Output window. As an example you will see this:
|