This is a discussion on FTP Transfer File within the ColdFusion Programming forums, part of the Web Development category; FTP Transfer File ; ; These command files must have a .FTP file extension ; ; Commands: ; open ; Syntax: open [serverort] [UserID] [Password] ; ; close ; ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| FTP Transfer File ; ; These command files must have a .FTP file extension ; ; Commands: ; open ; Syntax: open [server ort] [UserID] [Password]; ; close ; Syntax: close ; ; dl (download) ; Syntax: dl [protocol (B=Binary, A=ASCII)] [full directory and filename on remote server] [full directory path ONLY local server] ; ; ul (upload) ; Syntax: ul [method (B=Binary, A=ASCII)] [full directory and filename on local server] [full directory path ONLY on remote server] ; ; email (Email results) ; Syntax: email [email address] ; ; The Local and Remote file names for Uploading and Downloading can be dynamic using CF functions. ; Example: ; dl B /apps/www/logs/archive/apache.logs.#DateFormat(Now(),"mm.dd.yy")#.tar C:/Internet/Webalizer/iwof2.tar ; ; The remote file name will be evaluated out to /apps/www/logs/archive/apache.logs.12.22.04.tar ; ; WARNING: File names are CaSe SeNsAtIvE!!! Even if it's Windows, this tool expects the case to match. While transfers will still work ; otherwise, the transfer information will only display if it matches. ; ; Note: ";" identifies a comment line, don't use it for your actual command list. ; ; ; ; Example of downloading a static text file with ASCII protocol open ftp.mozilla.org:21 anonymous anonymous dl A /pub/mozilla.org/README C:\ReadMe.txt close |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to transfer file from system to mobile using Bluetooth? | poornima | Java Programming | 1 | 12-21-2008 09:05 PM |
| Question regarding file transfer! | joshua_Thomas | Database Support | 1 | 02-15-2008 08:56 PM |
| Secure File Transfer for Mainframe systems | connor | PHP Programming | 1 | 01-22-2008 04:02 AM |
| Secure File Transfer for Mainframe systems | racher | Database Support | 1 | 01-18-2008 01:44 AM |
| Automated file transfer | lopser | Database Support | 1 | 01-16-2008 02:18 AM |
Our Partners |