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