Script Library: 1238 scripts
 

oneliner-ftp-upload-file.r

Rebol [ Title: "Upload a file with FTP" Date: 20-Jul-2003 File: %oneliner-ftp-upload-file.r Purpose: {Uploads a file using FTP (file transfer protocol). Username and password are provided in the line (so be warned). Any file can be uploaded, text, images, webpages, etc.} One-liner-length: 62 Version: 1.0.0 Author: "RT" Library: [ level: 'beginner platform: none type: [How-to FAQ one-liner] domain: [ftp] tested-under: none support: none license: none see-also: none ] ] write/binary ftp://user:%pass--ftp--example--com read/binary %file
halt ;; to terminate script if DO'ne from webpage
Notes
  • Sorry -- REBOL.org could not color this script. The script is probably written for a later version of REBOL than the current CGI handler used by the Library,
  • email address(es) have been munged to protect them from spam harvesters. If you are a Library member, you can log on and view this script without the munging.
  • (pass:ftp:example:com)