FTP CONNECT This command will allow you to connect to FTP sites.
Syntax
    FTP CONNECT Url String, User String, Password String
    FTP CONNECT Url String, User String, Password String, Window Mode
Parameters
    Url String
String Url string
    User String
String User name string
    Password String
String Password string
    Window Mode
Integer If the screen is in fullscreen mode, and the window mode value is set to one, it will minimise and show the cursor
Returns
This command does not return a value.
Example Code
    cls

     print "Your Own Server Only"

     print

     input "Enter Your Own URL>";url$

     input "Enter Username>";user$

     input "Enter Password>";pass$

     time#=timer()

     ftp connect url$,user$,pass$,1

     if get ftp failure()=0

     time#=timer()-time#

     print "Connection established in ";time#/1000.0;" seconds."

     else

     print "Could not connect to ";url$

     print "Error:";get ftp error$()

     wait 1000*6

    endif

    do:loop

    end
See also
FTP Commands Menu Index