Knowledge Base

Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).

How do I rename a file on an FTP site using "raw" FTP commands?

In place of the command FTPRENAME "oldfilename.txt" "newfilename.txt" use the following commands:

FTPCMD "RNFR oldfilename.txt"
FTPCMD "RNTO newfilename.txt"

See also:

Robo-FTP script equivalents to Windows / Unix command line FTP commands

I'm trying to send a "site" command like this: FTPCMD "QUOTE SITE REC=FB LR=80 BLK=0" but it fails. What's wrong?

Article last updated: 2021-11-15

Tags: Robo-FTP, Raw FTP Commands