1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Added support for the RNFR/RNTO commands

This commit is contained in:
Daniel Stenberg 2003-04-01 07:10:08 +00:00
parent f65f120d50
commit 47970b9e6f

View File

@ -81,6 +81,8 @@ my %commandok = (
'SIZE' => 'loggedin|twosock', 'SIZE' => 'loggedin|twosock',
'PWD' => 'loggedin|twosock', 'PWD' => 'loggedin|twosock',
'QUIT' => 'loggedin|twosock', 'QUIT' => 'loggedin|twosock',
'RNFR' => 'loggedin|twosock',
'RNTO' => 'loggedin|twosock',
'DELE' => 'loggedin|twosock' 'DELE' => 'loggedin|twosock'
); );
@ -104,7 +106,9 @@ my %displaytext = ('USER' => '331 We are happy you popped in!',
'QUIT' => '221 bye bye baby', # just reply something 'QUIT' => '221 bye bye baby', # just reply something
'PWD' => '257 "/nowhere/anywhere" is current directory', 'PWD' => '257 "/nowhere/anywhere" is current directory',
'REST' => '350 Yeah yeah we set it there for you', 'REST' => '350 Yeah yeah we set it there for you',
'DELE' => '200 OK OK OK whatever you say' 'DELE' => '200 OK OK OK whatever you say',
'RNFR' => '350 Received your order. Please provide more',
'RNTO' => '250 Ok, thanks. File renaming completed.',
); );
# callback functions for certain commands # callback functions for certain commands