Sony XDSPD2000 User Manual (XDS-PD1000 and XDS-PD2000 Operation Manual for Fir - Page 94

Standard commands, <type-code> can be any of the following. However,

Page 94 highlights

Notes • To execute FTP commands, you must install application software such as Content Browser on your computer. • The commands supported by application software vary. • An FTP client software that supports UTF-8 is required to use Unicode characters other than ASCII characters. Command prompt FTP commands do not support UTF-8. Standard commands In the command syntax, means a space, entered by pressing the space bar, and means a new line, entered by pressing the Enter key. USER Send this command to begin the login process. Command syntax: USER Input example: USER admin PASS Send this command to complete the login process. Command syntax: PASS Input example: PASS xds-1000 QUIT Terminates the FTP connection. If a file is being transferred, terminates after completion of the transfer. Command syntax: QUIT PORT Specifies the IP address and port to which this unit should connect for the next file transfer (for data transfer from this unit). Command syntax: PORT • h1 (most significant byte) to h4 (least significant byte): IP address • p1 (most significant byte), p2 (least significant byte): Port number Input example: PORT 10,0,0,1,242,48 (IP address: 10.0.0.1, Port number: 62000) PASV This command requests this unit to "listen" on a data port (which is not its default data port). (It puts this unit into passive mode, waiting for the remote computer to make a data connection.) Command syntax: PASV TYPE Specifies the type of data to be transferred. Command syntax: TYPE can be any of the following. However, for XDS devices, data is always transferred as "I", regardless of the type-code specification. • A: ASCII - N: Non-print - T: Telnet format - C: ASA Carriage Control • E: EBCDIC - N: Non-print - T: Telnet format - C: ASA Carriage Control • I: IMAGE (Binary) (default) • L: LOCAL BYTE - SIZE: byte size Input example: TYPE I STRU Specifies the data structure. Command syntax: STRU can be any of the following. However, for XDS devices, the structure is always "F", regardless of the structure-code specification. • F: File structure (default) • R: Record structure • P: Page structure Input example: STRU F MODE Specifies the transfer mode. Command syntax: MODE can be any of the following. However, for XDS devices, the mode is always "S", regardless of the mode-code specification. • S: Stream mode (default) • B: Block mode • C: Compressed mode Input example: MODE S LIST Sends a list of files from this unit to the remote computer. Command syntax: LIST can be any of the following. • -a: Also display file names that begin with "." • -F: Append "/" to directory names. Chapter 6 File Operations 94 FTP File Operations

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161

94
FTP File Operations
Chapter 6
File Operations
To execute FTP commands, you must install application
software such as Content Browser on your computer.
The commands supported by application software vary.
An FTP client software that supports UTF-8 is required
to use Unicode characters other than ASCII characters.
Command prompt FTP commands do not support
UTF-8.
Standard commands
In the command syntax, <SP> means a space, entered by
pressing the space bar, and <CRLF> means a new line,
entered by pressing the Enter key.
USER
Send this command to begin the login process.
Command syntax: USER <SP> <user name> <CRLF>
Input example:
USER admin
PASS
Send this command to complete the login process.
Command syntax: PASS <SP> <password> <CRLF>
Input example:
PASS xds-1000
QUIT
Terminates the FTP connection. If a file is being
transferred, terminates after completion of the transfer.
Command syntax: QUIT <CRLF>
PORT
Specifies the IP address and port to which this unit should
connect for the next file transfer (for data transfer from this
unit).
Command syntax: PORT <SP> <h1,h2,h3,h4,p1,p2>
<CRLF>
h1 (most significant byte) to h4 (least significant byte): IP
address
p1 (most significant byte), p2 (least significant byte): Port
number
Input example:
PORT 10,0,0,1,242,48
(IP address: 10.0.0.1, Port number: 62000)
PASV
This command requests this unit to “listen” on a data port
(which is not its default data port). (It puts this unit into
passive mode, waiting for the remote computer to make a
data connection.)
Command syntax: PASV <CRLF>
TYPE
Specifies the type of data to be transferred.
Command syntax: TYPE <SP> <type-code (options
delimited by <SP>)> <CRLF>
<type-code> can be any of the following. However, for
XDS devices, data is always transferred as “I”, regardless
of the type-code specification.
A: ASCII
- N: Non-print
- T: Telnet format
- C: ASA Carriage Control
E: EBCDIC
- N: Non-print
- T: Telnet format
- C: ASA Carriage Control
I: IMAGE (Binary) (default)
L: LOCAL BYTE
- SIZE: byte size
Input example:
TYPE I
STRU
Specifies the data structure.
Command syntax: STRU <SP> <structure-code>
<CRLF>
<structure-code> can be any of the following. However,
for XDS devices, the structure is always “F”, regardless of
the structure-code specification.
F: File structure (default)
R: Record structure
P: Page structure
Input example:
STRU F
MODE
Specifies the transfer mode.
Command syntax: MODE <SP> <mode-code> <CRLF>
<mode-code> can be any of the following. However, for
XDS devices, the mode is always “S”, regardless of the
mode-code specification.
S: Stream mode (default)
B: Block mode
C: Compressed mode
Input example:
MODE S
LIST
Sends a list of files from this unit to the remote computer.
Command syntax: LIST <SP> <options> <SP> <path-
name> <CRLF>
<options> can be any of the following.
-a: Also display file names that begin with “.”
-F: Append “/” to directory names.
Notes