Using the %currentsitedir Variable

Top  Previous  Next

 

The current remote site directory path is saved in an internal variable named %currentsitedir. Use the FTPPWD script command to force a refresh of this variable.

 

FTPPWD

DISPLAY %currentsitedir

 

The FTPCD script command is available to change the current directory on the remote site.

 

 

Related command(s): FTPPWD, FTPCD

See also: Internal Script Variables, %currentlocaldir, WORKINGDIR