| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ProFTPD: Supported FTP Commands</title> |
| 5 | </head> |
| 6 | |
| 7 | <body bgcolor=white> |
| 8 | |
| 9 | <hr> |
| 10 | <center><h2><b>ProFTPD: Supported FTP Commands</b></h2></center> |
| 11 | <hr> |
| 12 | |
| 13 | <p> |
| 14 | <b>Supported FTP Commands</b><br> |
| 15 | <ul> |
| 16 | <li><a name="ABOR"><b><code>ABOR</code></b></a><br> |
| 17 | </li> |
| 18 | |
| 19 | <p> |
| 20 | <li><a name="ALLO"><b><code>ALLO</code></b></a><br> |
| 21 | Short for <b>ALLO</b>cate.<br> |
| 22 | </li> |
| 23 | |
| 24 | <p> |
| 25 | <li><a name="APPE"><b><code>APPE</code></b></a><br> |
| 26 | Short for <b>APPE</b>nd.<br> |
| 27 | </li> |
| 28 | |
| 29 | <p> |
| 30 | <li><a name="AUTH"><b><code>AUTH</code></b></a><br> |
| 31 | Short for <b>AUTH</b>enticate (supported by <a href="../contrib/mod_tls.html"><code>mod_tls</code></a>)<br> |
| 32 | </li> |
| 33 | |
| 34 | <p> |
| 35 | <li><a name="CDUP"><b><code>CDUP</code></b></a><br> |
| 36 | Short for <b>C</b>hange <b>D</b>irectory <b>UP</b>, this command is used |
| 37 | to move the client's "location" on the server up one level in |
| 38 | the filesystem hierarchy.<br> |
| 39 | </li> |
| 40 | |
| 41 | <p> |
| 42 | <li><a name="CLNT"><b><code>CLNT</code></b></a><br> |
| 43 | Short for <b>CL</b>ie<b>NT</b>, this command is used by clients to |
| 44 | offer/provide any freeform identification they desire to the server. |
| 45 | </li> |
| 46 | |
| 47 | <p> |
| 48 | <li><a name="CSID"><b><code>CSID</code></b></a><br> |
| 49 | Short for <b>C</b>lient/<b>S</b>server <b>ID</b>entification, this command |
| 50 | is used by clients and servers to offer/provide identification information |
| 51 | to the other side. |
| 52 | </li> |
| 53 | |
| 54 | <p> |
| 55 | <li><a name="CWD"><b><code>CWD</code></b></a><br> |
| 56 | Short for <b>C</b>hange <b>W</b>orking <b>D</b>irectory.<br> |
| 57 | </li> |
| 58 | |
| 59 | <p> |
| 60 | <li><a name="DELE"><b><code>DELE</code></b></a><br> |
| 61 | Short for <b>DELE</b>te, this command is used by the client to tell the |
| 62 | server to delete a file.<br> |
| 63 | </li> |
| 64 | |
| 65 | <p> |
| 66 | <li><a name="EPRT"><b><code>EPRT</code></b></a><br> |
| 67 | Short for <b>E</b>xtended <b>P</b>o<b>RT</b>, an enhanced version of |
| 68 | the <a href="#PORT"><code>PORT</code></a> command that can handle IPv6 |
| 69 | addresses.<br> |
| 70 | </li> |
| 71 | |
| 72 | <p> |
| 73 | <li><a name="EPSV"><b><code>EPSV</code></b></a><br> |
| 74 | Short for <b>E</b>xtended <b>P</b>a<b>S</b>si<b>V</b>e, an enhanced |
| 75 | version of the <a href="#PASV"><code>PASV</code></a> command that can |
| 76 | handle IPv6 addresses.<br> |
| 77 | </li> |
| 78 | |
| 79 | <p> |
| 80 | <li><a name="FEAT"><b><code>FEAT</code></b></a><br> |
| 81 | Short for <b>FEAT</b>ures, this command is used by the client to request |
| 82 | a descriptive list of server-supported features.<br> |
| 83 | </li> |
| 84 | |
| 85 | <p> |
| 86 | <li><a name="HASH"><b><code>HASH</code></b></a><br> |
| 87 | This command is used by clients to request the checksum, or "hash", of |
| 88 | a file on the server. This command is available when the |
| 89 | <a href="../contrib/mod_digest.html"><code>mod_digest</code></a> module |
| 90 | is compiled/loaded.<br> |
| 91 | </li> |
| 92 | |
| 93 | <p> |
| 94 | <li><a name="HELP"><b><code>HELP</code></b></a><br> |
| 95 | </li> |
| 96 | |
| 97 | <p> |
| 98 | <li><a name="HOST"><b><code>HOST</code></b></a><br> |
| 99 | This command is the equivalent of HTTP's "Host" header for FTP, providing |
| 100 | the ability to have name-based virtual hosting. |
| 101 | </li> |
| 102 | |
| 103 | <p> |
| 104 | <li><a name="LANG"><b><code>LANG</code></b></a><br> |
| 105 | </li> |
| 106 | |
| 107 | <p> |
| 108 | <li><a name="LIST"><b><code>LIST</code></b></a><br> |
| 109 | </li> |
| 110 | |
| 111 | <p> |
| 112 | <li><a name="MDTM"><b><code>MDTM</code></b></a><br> |
| 113 | Short for <b>M</b>o<b>D</b>ification <b>T</b>i<b>M</b>e, this command |
| 114 | is used by the client to request the modification time of a file on the |
| 115 | server. This command is defined formally in <a href="http://www.faqs.org/rfcs/rfc3659.html">RFC 3659</a>, and is a commonly implemented FTP command. |
| 116 | <i>Note</i> that this command <b>cannot</b> be used to change the |
| 117 | modification time of the file on the server; it only <i>reports</i> on the |
| 118 | file's modification time. The <a href="#MFMT"><code>MFMT</code></a> |
| 119 | command is used to <i>change</i> a file's modification time.<br> |
| 120 | </li> |
| 121 | |
| 122 | <p> |
| 123 | <li><a name="MFMT"><b><code>MFMT</code></b></a><br> |
| 124 | Short for <b>M</b>odify <b>F</b>act: Last <b>M</b>odified <b>T</b>ime, |
| 125 | supported by <a href="../modules/mod_facts.html"><code>mod_facts</code></a>. |
| 126 | Some clients use this command to change the last modified timestamp on |
| 127 | a newly uploaded file so that the timestamp on the server matches the |
| 128 | timestamp of that file on the client. |
| 129 | </li> |
| 130 | |
| 131 | <p> |
| 132 | <li><a name="MKD"><b><code>MKD</code></b></a><br> |
| 133 | Short for <b>M</b>a<b>K</b>e <b>D</b>irectory.<br> |
| 134 | </li> |
| 135 | |
| 136 | <p> |
| 137 | <li><a name="MLSD"><b><code>MLSD</code></b></a><br> |
| 138 | Short for <b>M</b>achine <b>L</b>i<b>S</b>ting, <b>D</b>irectory, supported |
| 139 | by <a href="../modules/mod_facts.html"><code>mod_facts</code></a>. Unlike |
| 140 | the <a href="#LIST"><code>LIST</code></a> command, whose response format |
| 141 | was never specified, the <code>MLSD</code> command has a strictly defined |
| 142 | response format (see <a href="http://www.faqs.org/rfcs/rfc3659.html">RFC 3659</a> for details). This format was designed to be easily machine parseable, |
| 143 | for automated processing of directory listing formats; the format was also |
| 144 | designed to be platform-agnostic, and thus portable. |
| 145 | </li> |
| 146 | |
| 147 | <p> |
| 148 | <li><a name="MLST"><b><code>MLST</code></b></a><br> |
| 149 | Short for <b>M</b>achine <b>L</b>i<b>ST</b>ing, supported by |
| 150 | <a href="../modules/mod_facts.html"><code>mod_facts</code></a>. This |
| 151 | command is similar to <a href="#MLSD"><code>MLSD</code></a> in that it |
| 152 | uses the same response format. Unlike <code>MLSD</code>, the response for a |
| 153 | <code>MLST</code> is sent back on the control connection rather than |
| 154 | using a data connection, and <b>is for a single file only</b>. |
| 155 | </li> |
| 156 | |
| 157 | <p> |
| 158 | <li><a name="MODE"><b><code>MODE</code></b></a><br> |
| 159 | There are three mode types defined by <a href="http://www.faqs.org/rfcs/rfc969.html">RFC 959</a>; <code>proftpd</code> only supports one (<i>i.e.</i> <b>S</b>tream). |
| 160 | </li> |
| 161 | |
| 162 | <p> |
| 163 | <li><a name="NLST"><b><code>NLST</code></b></a><br> |
| 164 | Short for <b>N</b>ame <b>L</b>i<b>ST</b>.<br> |
| 165 | </li> |
| 166 | |
| 167 | <p> |
| 168 | <li><a name="NOOP"><b><code>NOOP</code></b></a><br> |
| 169 | Short for <b>NO OP</b>eration. This command has no functionality, and |
| 170 | is often used as a session keepalive mechanism.<br> |
| 171 | </li> |
| 172 | |
| 173 | <p> |
| 174 | <li><a name="OPTS"><b><code>OPTS</code></b></a><br> |
| 175 | Short for <b>OPT</b>ion<b>S</b>. This command is used to specify |
| 176 | optional parameters for the command to follow the <code>OPTS</code> |
| 177 | command, if that command supports such optional parameters.<br> |
| 178 | </li> |
| 179 | |
| 180 | <p> |
| 181 | <li><a name="PASS"><b><code>PASS</code></b></a><br> |
| 182 | Short for <b>PASS</b>word, the client uses this command to convey the |
| 183 | password of the user attempting to log into the server.<br> |
| 184 | </li> |
| 185 | |
| 186 | <p> |
| 187 | <li><a name="PASV"><b><code>PASV</code></b></a><br> |
| 188 | Short for <b>PAS</b>si<b>V</b>e, the client uses this command to ask the |
| 189 | server for a port to which the client should connect, indicating a |
| 190 | passive data transfer.<br> |
| 191 | </li> |
| 192 | |
| 193 | <p> |
| 194 | <li><a name="PBSZ"><b><code>PBSZ</code></b></a><br> |
| 195 | Short for <b>P</b>rotection <b>B</b>uffer <b>S</b>i<b>Z</b>e. Used |
| 196 | to determine the size of a buffer needed for secure handshaking (supported |
| 197 | by <a href="../contrib/mod_tls.html"><code>mod_tls</code></a>)<br> |
| 198 | </li> |
| 199 | |
| 200 | <p> |
| 201 | <li><a name="PORT"><b><code>PORT</code></b></a><br> |
| 202 | The client uses this command to tell the server to what client-side port |
| 203 | the server should contact; use of this command indicates an active data |
| 204 | transfer.<br> |
| 205 | </li> |
| 206 | |
| 207 | <p> |
| 208 | <li><a name="PROT"><b><code>PROT</code></b></a><br> |
| 209 | Short for <b>PROT</b>ection. Used to set the protection level on the |
| 210 | data channel (supported by |
| 211 | <a href="../contrib/mod_tls.html"><code>mod_tls</code></a>)<br> |
| 212 | </li> |
| 213 | |
| 214 | <p> |
| 215 | <li><a name="PWD"><b><code>PWD</code></b></a><br> |
| 216 | Short for <b>P</b>rint <b>W</b>orking <b>D</b>irectory.<br> |
| 217 | </li> |
| 218 | |
| 219 | <p> |
| 220 | <li><a name="QUIT"><b><code>QUIT</code></b></a><br> |
| 221 | </li> |
| 222 | |
| 223 | <p> |
| 224 | <li><a name="RANG"><b><code>RANG</code></b></a><br> |
| 225 | Short for <b>RANG</b>e, this command is used by clients to request |
| 226 | that a specific <em>range</em> of bytes be transferred for files, including |
| 227 | uploads and downloads; supported by |
| 228 | <a href="../modules/mod_xfer.html"><code>mod_xfer</code></a> and defined by |
| 229 | <a href="https://tools.ietf.org/html/draft-bryan-ftp-range-08">this IETF |
| 230 | Draft</a>. |
| 231 | </li> |
| 232 | |
| 233 | <p> |
| 234 | <li><a name="REST"><b><code>REST</code></b></a><br> |
| 235 | Short for <b>REST</b>art, this command is used by the client to tell the |
| 236 | server that it would like to restart a previous data transfer, either |
| 237 | upload or download.<br> |
| 238 | </li> |
| 239 | |
| 240 | <p> |
| 241 | <li><a name="RETR"><b><code>RETR</code></b></a><br> |
| 242 | Short for <b>RETR</b>ieve, this command is used by the client to inform |
| 243 | the server of the file the client would like to download. On many FTP |
| 244 | client, this is implemented using the client-specfic "get" |
| 245 | command.<br> |
| 246 | </li> |
| 247 | |
| 248 | <p> |
| 249 | <li><a name="RMD"><b><code>RMD</code></b></a><br> |
| 250 | Short for <b>R</b>e<b>M</b>ove <b>D</b>irectory, this command is used |
| 251 | to have the server delete the requested directory from its filesystem.<br> |
| 252 | </li> |
| 253 | |
| 254 | <p> |
| 255 | <li><a name="RNFR"><b><code>RNFR</code></b></a><br> |
| 256 | Short for <b>R</b>e<b>N</b>ame <b>FR</b>om.<br> |
| 257 | </li> |
| 258 | |
| 259 | <p> |
| 260 | <li><a name="RNTO"><b><code>RNTO</code></b></a><br> |
| 261 | Short for <b>R</b>e<b>N</b>ame <b>TO</b>.<br> |
| 262 | </li> |
| 263 | |
| 264 | <p> |
| 265 | <li><a name="SITE"><b><code>SITE</code></b></a><br> |
| 266 | This command is used for site-specific commands. See below for descriptions |
| 267 | of <code>proftpd</code>'s SITE commands.<br> |
| 268 | </li> |
| 269 | |
| 270 | <p> |
| 271 | <li><a name="SIZE"><b><code>SIZE</code></b></a><br> |
| 272 | </li> |
| 273 | |
| 274 | <p> |
| 275 | <li><a name="SSCN"><b><code>SSCN</code></b></a><br> |
| 276 | Short for <b>S</b>et <b>S</b>ecured <b>C</b>lient <b>N</b>egotiation, this |
| 277 | non-standard command is used by FTPS clients to tell a server to use TLS |
| 278 | when performing a site-to-site transfer. For more details, see |
| 279 | <a href="http://www.raidenftpd.com/kb/kb000000037.htm">here</a>. |
| 280 | </li> |
| 281 | |
| 282 | <p> |
| 283 | <li><a name="STAT"><b><code>STAT</code></b></a><br> |
| 284 | </li> |
| 285 | |
| 286 | <p> |
| 287 | <li><a name="STOR"><b><code>STOR</code></b></a><br> |
| 288 | Short for <b>STOR</b>e, this command is used by the client to tell the |
| 289 | the server that the client will be uploading data for a file to stored |
| 290 | on the server using the filename given. On many FTP clients, this |
| 291 | is implemented using the client-specific "put" command.<br> |
| 292 | </li> |
| 293 | |
| 294 | <p> |
| 295 | <li><a name="STOU"><b><code>STOU</code></b></a><br> |
| 296 | Short for <b>STO</b>re <b>U</b>unique, it requests that the file being |
| 297 | stored on the server be given a unique filename. The server chooses the |
| 298 | unique name for the stored file, and reports the name chosen back to |
| 299 | the client. On some FTP clients, this ability is enabled using the |
| 300 | client-specific "sunique" command.<br> |
| 301 | </li> |
| 302 | |
| 303 | <p> |
| 304 | <li><a name="SYST"><b><code>SYST</code></b></a><br> |
| 305 | </li> |
| 306 | |
| 307 | <p> |
| 308 | <li><a name="TYPE"><b><code>TYPE</code></b></a><br> |
| 309 | </li> |
| 310 | |
| 311 | <p> |
| 312 | <li><a name="USER"><b><code>USER</code></b></a><br> |
| 313 | An FTP client uses this command to inform the server of the name of the |
| 314 | user requesting an FTP session.<br> |
| 315 | </li> |
| 316 | |
| 317 | <p> |
| 318 | <li><a name="XCUP"><b><code>XCUP</code></b></a><br> |
| 319 | This is an X-variant of the <a href="#CDUP"><code>CDUP</code></a> command, |
| 320 | and has the same functionality.<br> |
| 321 | </li> |
| 322 | |
| 323 | <p> |
| 324 | <li><a name="XCWD"><b><code>XCWD</code></b></a><br> |
| 325 | This is an X-variant of the <a href="#CWD"><code>CWD</code></a> command, |
| 326 | and has the same functionality.<br> |
| 327 | </li> |
| 328 | |
| 329 | <p> |
| 330 | <li><a name="XMKD"><b><code>XMKD</code></b></a><br> |
| 331 | This is an X-variant of the <a href="#MKD"><code>MKD</code></a> command, |
| 332 | and has the same functionality.<br> |
| 333 | </li> |
| 334 | |
| 335 | <p> |
| 336 | <li><a name="XPWD"><b><code>XPWD</code></b></a><br> |
| 337 | This is an X-variant of the <a href="#PWD"><code>PWD</code></a> command, |
| 338 | and has the same functionality.<br> |
| 339 | </li> |
| 340 | |
| 341 | <p> |
| 342 | <li><a name="XRMD"><b><code>XRMD</code></b></a><br> |
| 343 | This is an X-variant of the <a href="#RMD"><code>RMD</code></a> command, |
| 344 | and has the same functionality.<br> |
| 345 | </li> |
| 346 | </ul> |
| 347 | |
| 348 | <p> |
| 349 | <b>Supported <code>SITE</code> commands</b><br> |
| 350 | <ul> |
| 351 | <li><a name="SITE_CHGRP"><b><code>CHGRP</code></b></a><br> |
| 352 | Short for <b>CH</b>ange <b>GR</b>ou<b>P</b>. |
| 353 | <p> |
| 354 | Example: |
| 355 | <pre> |
| 356 | SITE CHGRP ftpgroup script.cgi |
| 357 | </pre> |
| 358 | </li> |
| 359 | |
| 360 | <p> |
| 361 | <li><a name="SITE_CHMOD"><b><code>CHMOD</code></b></a><br> |
| 362 | Short for <b>CH</b>ange <b>MOD</b>e. |
| 363 | <p> |
| 364 | Example: |
| 365 | <pre> |
| 366 | SITE CHMOD 755 script.cgi |
| 367 | </pre> |
| 368 | </li> |
| 369 | |
| 370 | <p> |
| 371 | <li><a name="SITE_HELP"><b><code>HELP</code></b></a><br> |
| 372 | </li> |
| 373 | |
| 374 | <p> |
| 375 | <li><a name="SITE_MKDIR"><b><code>MKDIR</code></b></a><br> |
| 376 | Similar to the <a href="#MKD"><code>MKD</code></a> command, this |
| 377 | <code>SITE</code> can be used to create a directory. It will, unlike |
| 378 | <code>MKD</code>, also create any directories in the path that do |
| 379 | not exist. |
| 380 | <p> |
| 381 | Example: |
| 382 | <pre> |
| 383 | SITE MKDIR /path/to/some/dir/that/is/not/there/ |
| 384 | </pre> |
| 385 | Supported by the <a href="../contrib/mod_site_misc.html"><code>mod_site_misc</code></a> module. |
| 386 | </li> |
| 387 | |
| 388 | <p> |
| 389 | <li><a name="SITE_RMDIR"><b><code>RMDIR</code></b></a><br> |
| 390 | Similar to the <a href="#RMD"><code>RMD</code></a> command, this |
| 391 | <code>SITE</code> can be used to remove a directory. It will, unlike |
| 392 | <code>RMD</code>, also delete any files in the directory. |
| 393 | <p> |
| 394 | Example: |
| 395 | <pre> |
| 396 | SITE RMDIR /path/to/some/dir/with/files/ |
| 397 | </pre> |
| 398 | Supported by the <a href="../contrib/mod_site_misc.html"><code>mod_site_misc</code></a> module. |
| 399 | </li> |
| 400 | |
| 401 | <p> |
| 402 | <li><a name="SITE_SYMLINK"><b><code>SYMLINK</code></b></a><br> |
| 403 | Used to create a symbolic link (<i>a.k.a.</i> a symlink) from |
| 404 | the source path (<em>src</em>) to the destination path (<em>dest</em>). |
| 405 | <p> |
| 406 | Example: |
| 407 | <pre> |
| 408 | SITE SYMLINK src dest |
| 409 | </pre> |
| 410 | Supported by the <a href="../contrib/mod_site_misc.html"><code>mod_site_misc</code></a> module. |
| 411 | </li> |
| 412 | |
| 413 | <p> |
| 414 | <li><a name="SITE_UTIME"><b><code>UTIME</code></b></a><br> |
| 415 | Used to update the access and modification timestamps on a file. |
| 416 | <p> |
| 417 | Example: |
| 418 | <pre> |
| 419 | SITE UTIME 200412312359 /path/to/some/file.txt |
| 420 | </pre> |
| 421 | Supported by the <a href="../contrib/mod_site_misc.html"><code>mod_site_misc</code></a> module. |
| 422 | </li> |
| 423 | </ul> |
| 424 | |
| 425 | <p> |
| 426 | <b>Unsupported FTP Commands</b><br> |
| 427 | <ul> |
| 428 | <li><a name="ACCT"><b><code>ACCT</code></b></a><br> |
| 429 | Short for <b>ACC</b>oun<b>T</b><br> |
| 430 | </li> |
| 431 | |
| 432 | <p> |
| 433 | <li><a name="MACB"><b><code>MACB</code></b></a><br> |
| 434 | Short for <b>MAC</b>intosh <b>B</b>inary. This command is not defined in |
| 435 | any RFC, and is something of a hack added by Apple in order to support |
| 436 | transfers of the resource forks of Mac files.<br> |
| 437 | </li> |
| 438 | |
| 439 | <p> |
| 440 | <li><a name="REIN"><b><code>REIN</code></b></a><br> |
| 441 | </li> |
| 442 | |
| 443 | <p> |
| 444 | <li><a name="SMNT"><b><code>SMNT</code></b></a><br> |
| 445 | </li> |
| 446 | |
| 447 | <p> |
| 448 | <li><a name="STRU"><b><code>STRU</code></b></a><br> |
| 449 | Short for <b>STRU</b>cture. <code>proftpd</code> only supports a |
| 450 | <code>STRU</code> parameter of type <b>F</b> (for "file"), |
| 451 | and so does not support this command.<br> |
| 452 | </li> |
| 453 | </ul> |
| 454 | |
| 455 | <p><a name="FAQ"> |
| 456 | <b>Frequently Asked Questions</b> |
| 457 | |
| 458 | <p><a name="MoveDirectoriesAcrossDevices"> |
| 459 | <font color=red>Question</font>: I can use the <code>RNFR</code> and |
| 460 | <code>RNTO</code> commands to <i>move</i> a file, even across different |
| 461 | disks/mount points. And I can use <code>RNFR</code>/<code>RNTO</code> to move |
| 462 | a directory, <b>but</b> I <b>cannot</b> move a directory across different |
| 463 | disks/mount points. Is this a bug?<br> |
| 464 | <font color=blue>Answer</font>: No, it is not a bug. Why not? Ultimately, |
| 465 | it is because the FTP specifications do not guarantee (or even <i>discuss</i>) |
| 466 | that an FTP implementation must support renaming of directories across |
| 467 | mount points. |
| 468 | <p> |
| 469 | |
| 470 | <p> |
| 471 | ProFTPD implements the <code>RNFR</code>/<code>RNTO</code> functionality |
| 472 | by using the <code>rename(2)</code> system call. And <code>rename(2)</code> |
| 473 | is documented to <b>not</b> work across mount points. |
| 474 | |
| 475 | <p> |
| 476 | "But then why does it work when I rename a file across mount points?" you |
| 477 | ask. Good question. The answer is that for <b>files only</b>, ProFTPD |
| 478 | detects the <code>rename(2)</code> error for renaming across mount points, |
| 479 | and then <i>copies</i> the file in question to the new location, deleting |
| 480 | the old location when the copy completes successfully. |
| 481 | |
| 482 | <p> |
| 483 | "Great!" you say, "Now do the same thing for directories!" Unfortunately, for |
| 484 | directories, the answer is not that simple. Here are some things to consider |
| 485 | when copying directories: what if the directory contains sockets, FIFOs, |
| 486 | devices, and other irregular file types which cannot be easily copied/moved? |
| 487 | Should copying/moving of directories automatically use root privileges in |
| 488 | order to preserve the ownership on files that do not belong to the logged-in |
| 489 | user? What if the copying/deleting of files fails in the midde: what should |
| 490 | then happen to the copied (and remaining) files/directories? |
| 491 | |
| 492 | <p> |
| 493 | Since there are no easy answers as yet to the above questions, ProFTPD now |
| 494 | detects the <code>rename(2)</code> error for renaming across mount points |
| 495 | for a <b>directory</b>, and rejects the <code>RNTO</code> command, showing |
| 496 | something like: |
| 497 | <pre> |
| 498 | RNFR directory |
| 499 | 350 File or directory exists, ready for destination name |
| 500 | RNTO /other/mount/directory |
| 501 | 550 Rename /other/mount/directory: Is a directory |
| 502 | </pre> |
| 503 | That "Is a directory" error indicates that ProFTPD cannot rename a directory |
| 504 | across the mount points you requested. (That particular error message can, |
| 505 | and will, be made more informative.) |
| 506 | |
| 507 | <p> |
| 508 | <hr> |
| 509 | <font size=2><b><i> |
| 510 | © Copyright 2000-2022 The ProFTPD Project<br> |
| 511 | All Rights Reserved<br> |
| 512 | </i></b></font> |
| 513 | <hr> |
| 514 | |
| 515 | </body> |
| 516 | </html> |