Home

 

Examples

 

Technical

 TextMaestro

 

2003 TextMaestro Technologies

 

  Examples

  Example 1

  Example 2

  Example 3

  Example 4

  Example 5

  Example 6

  Example 7

  Example 8

  Example 9

  Example 10

  Example 11

  Example 12

  Example 13

  Example 14

  Example 15

  Example 16

  Example 17

  Example 18

  Example 19

  Example 20

  Example 21

 

 

Example 8: Create New Files

Suppose current session has some files mapped to remote host host121.

 

 

To create a new file, click on one item above and then right click. A pop-up menu will appear. Choose New file as shown below:

 

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,

File attribute

Reference file

(InfoContact.htm)

New file

(my_vector.h)

Local directory

C:\Test\html_files\

C:\Test\html_files\

Remote host

host121.ipowerweb.com

host121.ipowerweb.com

Remote directory

/public_html/html_files/

/public_html/html_files/

User

it_is_me

it_is_me

Password

*****

*****

 

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,

File attribute

Reference file

(InfoContact.htm)

New file

(my_vector.h)

Local directory

C:\Test\html_files\

C:\MyTest\NewTest\LookAtMe\

Remote host

host121.ipowerweb.com

host121.ipowerweb.com

Remote directory

/public_html/html_files/

/public_html/html_files/

User

it_is_me

it_is_me

Password

*****

*****

 

 

 

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:

File attribute

Reference file

(InfoContact.htm)

New file

(my_vector.h)

Local directory

C:\Test\html_files\

C:\Test\html_files\

Remote host

host121.ipowerweb.com

host121.ipowerweb.com

Remote directory

/public_html/html_files/

/public_html/new_project/html_files/experi/

(a UNIX example)

 

 

$USER1:[PUBLIC_FILES.MYPROJ.NEWATTEMPT]

(a VMS example)

User

it_is_me

it_is_me

Password

*****

*****

 

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:

(4) Now simply select these files, and hit on To Local (F4) button, and all the files will be brought to your local area.

 

 

Top