FTP Change Directory

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "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 /v...")
 
Line 8: Line 8:
  
 
To use, simply drag the command into the [[Connect to FTP Server]] command.
 
To use, simply drag the command into the [[Connect to FTP Server]] command.
 +
 +
 +
<pre>
 +
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")
 +
}
 +
 +
</pre>
 +
  
  

Revision as of 18:24, 26 September 2013

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")
}


File:Changedirectoryftp.jpg


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

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox