| How To FTP Files using POWER Queue Views: |
| Introduction: This page explains how to FTP files using POWER QueueViews. This view exposes all entries, or members, in any class within a specific queue. Other queues are neither visible nor accessible thorugh this type of view. In other words, the client is locked into a specific queue such as RDR, LST or PUNCH. |
| Sample POWER Queue View: The following sample file view will be used to demonstrate working with POWER files. Assume the administrator already coded the following File View and saved it under the name of PWRLST.FTPC: |
| FTPing Files using Queue Views: To FTP files, we must first point to the desired class subdirectory because files actually reside there. To do so, follow the following steps: 1) Move into the View subdirectory itself (i.e., CD /PWRLST) , then 2) Move into the desired CLASS subdirectory (i.e., CD Z), then 3) FTP your file(s). Procedure: 1) Move into the View subdirectory itself: Line-mode clients: issue CD /PWRLST Grphical clients: click on the PWRLST subdirectory Icon. Graphical clients automatically issue a DIR as soon as you click on a subdirectory icon. If you are using a line-mode client, as I am, and care to issue a DIR, then here is what you get back from the server: Our PWRLST subdirectory points to 36 more subdirectories (i.e., CLASSES). 2) Move into the Desired CLASS subdirectory: Line-mode clients: issue CD class where class is a a single letter or digit Grphical clients: click on the Desired CLASS subdirectory Icon. Graphical clients automatically issue a DIR as soon as you click on a subdirectory icon. If you are using a line-mode client, as I am, and care to issue a DIR, then here is what you get back from the server: 3) FTP your file(s): You can now download and upload files as you wish. |
| ftp> dir 200 Command okay. 150 File status okay, about to open data connection. drw-rw-rw- 1 vse none 0 Aug 12 11:17 A . . drw-rw-rw- 1 vse none 0 Aug 12 11:17 Z drw-rw-rw- 1 vse none 0 Aug 12 11:17 0 . . drw-rw-rw- 1 vse none 0 Aug 12 11:17 9 226 Closing data connection. ftp: 1836 bytes received in 0.27Seconds 6.80Kbytes/sec. ftp> |
| ftp> dir L* 200 Command okay. 150 File status okay, about to open data connection. -rw-rw-rw- 1 vse none 0 Aug 12 11:17 LIBR.22214 -rw-rw-rw- 1 vse none 0 Aug 12 11:17 LIBR.22452 226 Closing data connection. ftp: 183 bytes received in 0.33Seconds 0.55Kbytes/sec. ftp> |
| tp> ftp> cd /PWRLST 250 Requested file action okay, completed. |
| tp> ftp> cd a 250 Requested file action okay, completed. |
| Shortcut: If you are using a line-mode client, then you can, if you wish, combine all steps in a single command. For example, you can issue: PUT client_file /PWRLST/A/entry_name |
| XFER = begin TYPE = RCV TGT_AM = SAM TGT_TYPE = POWER TGT_FILE = LST <<== Lock the client to LST queue. TGT_RECL = 80 TGT_DISP = H <<<--- MUST CODE, or OVERRIDE, on uploads to LST or PUN queues.... XFER = end |
![]() |