Page 325 -
P. 325
mobile app development
Configure AndFTP
With AndFTP running on your phone, configure it to connect to your
computer (Hostname) using SFTP as the transfer protocol (Type). Leave the Port,
Username, Password, and Remote dir entries as they are, but change the Local dir
entry to /sdcard/sl4a/scripts.
Change this entry to
be the web name or
address of your SSH
server. Be sure to set
this to “SFTP”.
The value for
“Port” should
change to 22.
Set this to “/sdcard/sl4a/scripts”
which ensures files transferred
from your server are added to
SL4A.
Be sure to tap “Save”.
With the connection set up, tap AndFTP’s Connect button to establish a
connection to your SSH server, entering your Username and Password when
prompted.
With the connection to the server established, navigate to the server folder
containing the file(s) you want to transfer to the phone, mark the files for
download, and tap the Download button.
Your app
When the download completes, click Disconnect to terminate the connection is ready!
between the phone and your computer. If you transferred a Python program,
it should now be added to the list of scripts within SL4A.
It’s time to let Coach Kelly take a look.
you are here 4 289