FTP Delete File

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "This command is an FTP command. This command will delete a specified file at the specified server by the file's remote name. To use, simply drag the command...")
 
 
(One intermediate revision by one user not shown)
Line 5: Line 5:
 
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 delete file", "myfile.txt")
 +
}
  
[[File:deleteftp.jpg]]
+
</pre>
 +
 
 +
 
 +
[[File:deleteftp0.jpg]]
  
  
 
After the connection to the ftp server is established, the file will be found and delete from the FTP server.
 
After the connection to the ftp server is established, the file will be found and delete from the FTP server.
 +
 +
 +
== Additional Information ==
 +
 +
 +
If the file is in a different directory than you specified when connecting, you can use the [[FTP Change Directory]] command to change to that directory first, then delete the file in that directory.

Latest revision as of 17:11, 26 September 2013

This command is an FTP command.

This command will delete a specified file at the specified server by the file's remote name.

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 delete file", "myfile.txt")
}


Deleteftp0.jpg


After the connection to the ftp server is established, the file will be found and delete from the FTP server.


[edit] Additional Information

If the file is in a different directory than you specified when connecting, you can use the FTP Change Directory command to change to that directory first, then delete the file in that directory.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox