home *** CD-ROM | disk | FTP | other *** search
- ;This is an example of how to use PSU
- ;<- Comment line
-
- OPEN myhost,myname:mypassword
- ;try to open a connection to myhost
- ;Alternatively: OPEN %hostname%,%myname%:%mypassword% if information is
- ;specified on the commandline.
-
- PUT C:\myhomepage1\index.html
- ;put the file on the ftpserver
-
- CHDIR information
- ;change directory (create it first if it does not exist)
-
- RECURSE ON
- ;turn on directory recursion (alternatively use -r on the commandline)
-
- UPDATE NEWER
- ;overwrite files only if they are changed
-
- MPUT C:\myhomepage2\*.*
- ;put all files from the specified directory and subdirectories to the ftp-
- ;server, creating directories as needed.
-
- CLOSE
- ;close connection to myhost
-
- ;end of EXAMPLE.PSU
-
-