FTPCD Change to a new directory on an FTP site |
Top Previous Next |
This script command sets the current remote directory and writes the path to the console window. Any time Robo-FTP is connected to a remote site it has a current remote directory. By contrast, Robo-FTP always has a current working folder on the local PC.
The path of the current remote directory is saved in a internal script variable named %currentsitedir.
This is an example of the FTPCD command:
FTPCD "/newdirectory" DISPLAY %currentsitedir
Like FTPCD, the FTPPWD script command also populates %currentsitedir and writes the path to Robo-FTP's main console window, but it does not change the current remote directory. The WORKINGDIR command sets current local working folder and writes its path to the console window.
Related command(s): FTPPWD, FTPLIST, FTPMAKEDIR, FTPDELDIR, FTPDELETE, FTPRENAME, WORKINGDIR See Also: %currentsitedir, %currentlocaldir |