1 ENABLE 2 LOG Enables or disables the display of all protocol commands sent to the remote host. Default: DISABLE LOG. DCL Format ENABLE LOG DISABLE LOG UNIX Format debug 3 Example FTP> ENABLE LOG Bell off. Debugging on (debug=1). FTP> ENABLE REPLY Reply on. Verbose mode on. FTP> PUT PRICES.TXT YEAR.PRICES ---> PORT 1,2,3,4,7,138 200 PORT command successful. ---> STOR PRICES.TXT 150 Opening ASCII mode data connection for small.txt (1,2,3,4,7,138). 226 Transfer complete. local: WORK1$:[samson]prices.txt;1 remote: year.prices 609 bytes sent in 00:00:00.02 seconds (179.36 Kbytes/s) FTP> GET LAKE.IBIS LAKE_IBIS.DAT ---> PORT 1,2,3,4,7,138 200 PORT command successful ---> RETR lake.ibis 150 Opening ASCII mode data connection for lake.ibis (1.2.3.4,193) 226 Transfer complete local: LAKE_IBIS.DAT remote:lake.ibis 4 bytes received in 00:00:00.03 seconds (0.13 Kbytes/s) FTP> Turns on the display of commands sent to the remote host. Shows all the commands sent to the remote host during the execution of PUT and GET. 2 PARSE Enables or disables the expansion of remote file names during file transfers. o PUT operations: expansion is done by the local host. o GET operations: expansion is done on the remote host. During GET operations, an expansion of a directory name might be different from the expansion of other file names. The result depends on the operating systems of the remote and local hosts. DCL Format ENABLE PARSE DISABLE PARSE UNIX Format glob 3 Examples 1.FTP> ENABLE PARSE FTP> PUT BIRDS*.TXT Enables parsing and the expansion of wildcards. Copies all local files starting with the characters BIRDS and ending with .TXT to the remote host. 2.FTP> ENABLE PARSE FTP> GET *.DOC Because parsing is enabled, the remote host expands the wildcard. All remote files ending in .DOC are copied to the local system. The command is equivalent to the following: FTP> ENABLE PARSE FTP> MGET *.DOC 2 PORT_COMMAND Enables or disables the sending of the FTP protocol PORT command to the remote host. By default, FTP sends a PORT command when establishing a connection. If this command fails, FTP uses the default data port (20). Disable the sending of the PORT command when you communicate with remote hosts that ignore PORT commands. Default: ENABLE PORT_COMMAND. DCL Format ENABLE PORT_COMMAND DISABLE PORT_COMMAND UNIX Format sendport 3 Example FTP> ENABLE PORT_COMMAND FTP> PUT CODE.TXT 200 PORT command successful 150 Opening data connection for CODE.TXT (130.180.10.8,1182) 226 Transfer complete local: DISK$PROJECT6:[MANAGEMENT]CODE.TXT;9 remote: CODE.TXT 3634 bytes sent in 00:00:00.04 seconds (88.72 Kbytes/s) FTP enters a PORT command before the file transfer. 2 REPLY Enables or disables the display of all responses from the remote host. Default: ENABLE REPLY. DCL Format ENABLE REPLY DISABLE REPLY UNIX Format debug 3 EXAMPLES 1.FTP> ENABLE REPLY Reply on. Verbose mode on. FTP> get birds.txt dogs.txt 200 PORT command successful. 150 Opening ASCII mode data connection for birds.txt (130,180,10,8,1570) (2405 bytes). 226 Transfer complete. local: WORK1$:[SAMSON]DOGS.TXT;1 remote: birds.txt 2405 bytes received in 00:00:00.03 seconds (60.22 Kbytes/s) FTP> Enables the display of all the responses from the remote host. Copies birds.txt from the remote host to the local file dogs.txt, and shows all the executed FTP commands in progress. 2.FTP> DISABLE REPLY Bell off. Reply off. Verbose off. FTP> get birds.txt dogs.txt FTP> Disables the display of all the responses from the remote host. Copies birds.txt from the remote host. 2 TRANSFER_VERIFICATION Enables or disables the display of # for each 1000 bytes of transferred data. Default: DISABLE TRANSFER_VERIFICATION. DCL Format ENABLE TRANSFER_VERIFICATION DISABLE TRANSFER_VERIFICATION UNIX Format hash 3 Example FTP> ENABLE TRANSFER_VERIFICATION Bell off. Hash mark printing on (1024/hash mark). FTP> GET FUTURES.DIS FUTURES_H2.DIS 200 PORT command successful 150 Opening data connection for futures.dis (11.20.99.100,26) ############### 226 Transfer complete. local: FUTURES_H2.DIS remote: futures.dis 15596 bytes received in 00:00:00.11 seconds (138.45 Kbytes/s) FTP> Enables the display of # for each 1000 bytes of transferred data. Copies futures.dis to FUTURES_H2.DIS, showing when 1000 bytes are transferred. 2 VMS_PLUS Enables or disables VMS Plus Mode. This lets you specify a transfer mode based on file type (for example, ASCII or image). With VMS Plus Mode disabled, FTP does not send the FTP command SITE. (Older implementations of the FTP server do not support this command.) The FTP client uses the SITE command to identify itself (its SITE type) to the remote host. The SITE type of an FTP client can be one of the following: o +VMS+ - The client is in VMS Plus mode. o NONE - The client is not in VMS Plus mode. Defaults: o When you use FTP to connect to an OpenVMS host running TCP/IP Services, VMS Plus Mode is enabled. o When you use FTP to connect to a non-OpenVMS host or to an Open VMS system running software that does not recognize VMS Plus Mode, VMS Plus Mode is disabled. DCL Format ENABLE VMS_PLUS DISABLE VMS_PLUS UNIX Format There is no UNIX equivalent for the ENABLE or DISABLE VMS_PLUS command.