Here's a simple backup page I have to backup some files of ours daily. I
use CF's Scheduler to run this every night.
Richard Ramos
Network Administrator
Softitler Net, Inc.
www.softitler.com
[EMAIL PROTECTED]
--- backup.cfm ---
<cfftp connection="sample"
action="open"
username="username"
password="password"
server="yourname.com"
port="23"
stoponerror="yes">
<cfftp connection="sample"
action="putfile"
localfile="DIR\you want it in"
remotefile="sample.file"
stoponerror="yes"
transfermode="binary">
<cfftp connection="sample" action="close">
--- End file ---
----- Original Message -----
From: "Chad Gray" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 9:16 AM
Subject: CFFTP
> Anyone have example code for sending a file via CFFTP?
>
> Thanks!
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists