FTP Change Directory
From UBot Studio
This command is an FTP command.
This command allows you to change from one directory on the FTP server to another.
For example, if you were in the folder /var/www/mysite.com and wanted to change to /var/www/mysite.com/files, you would only need to place "files" in the parameter.
Once you have changed the directory, you can then work with files within /var/www/mysite.com/files.
To use, simply drag the command into the Connect to FTP Server command.
plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mysite.org", 21, "myusername", "password1234", "/var/www/mysite.com/public_html/") { plugin command("FTPCommands.dll", "ftp change directory", "files") plugin command("FTPCommands.dll", "ftp delete file", "oneofmanyfiles.txt") }
Once the command is run, the change directory command will change the directory to mysite.com/file and then delete a file in that folder called oneofmanyfiles.txt