Connect to FTP Server

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 7: Line 7:
 
'''Server:''' The server being connected to. (For example ftp.mysite.org)
 
'''Server:''' The server being connected to. (For example ftp.mysite.org)
  
'''Port:''' The port for the server being connected to. (For example
+
'''Port:''' The port for the server being connected to.  
  
 
'''Username:''' The username for the server being connected to
 
'''Username:''' The username for the server being connected to
Line 13: Line 13:
 
'''Password:''' The password for the server being connected to
 
'''Password:''' The password for the server being connected to
  
'''Remote Path:''' The remote path to the server being connected to
+
'''Remote Path:''' The remote path to the server being connected to (For example /var/www/mysite.com/public_html/)
 +
 
 +
<pre>
 +
plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mysite.org", 21, "myusername", "password1234", "/var/www/mysite.com/public_html/") {
 +
}
 +
 
 +
</pre>
  
  
 
After dragging the command into the scripting area, a wizard will pop up to allow you to provide the details and test the connection before connecting to the server.
 
After dragging the command into the scripting area, a wizard will pop up to allow you to provide the details and test the connection before connecting to the server.
  
[[File:connectftp.jpg]]
+
 
 +
[[File:conftpserv.jpg]]
  
  

Latest revision as of 17:44, 26 September 2013

This command is an FTP command.

It allows you to connect to an ftp server by providing connection details such as:

Connection Type: FTP, FTPS or SFTP

Server: The server being connected to. (For example ftp.mysite.org)

Port: The port for the server being connected to.

Username: The username for the server being connected to

Password: The password for the server being connected to

Remote Path: The remote path to the server being connected to (For example /var/www/mysite.com/public_html/)

plugin command("FTPCommands.dll", "connect to ftp server", "FTP", "ftp.mysite.org", 21, "myusername", "password1234", "/var/www/mysite.com/public_html/") {
}


After dragging the command into the scripting area, a wizard will pop up to allow you to provide the details and test the connection before connecting to the server.


Conftpserv.jpg


The command is a container for other ftp commands.

This command connects to the FTP server, so that you can use the FTP Delete File command for example to delete a file, or the FTP Upload Folder command to Upload a folder to the FTP server.

In order for the other FTP commands to interact with the FTP server, the command must be contained within the Connect to FTP Server command.

You can place more than one FTP command within this command.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox