• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

FTP Error...help

LEGEND ,
Oct 01, 2007 Oct 01, 2007

Copy link to clipboard

Copied

I am attempting to download a file from a site via ftp and place it on my
web site. Anyone see any glaring errors that would cause this error to be
thrown:

Error: IOException caught while copying..

Code:
<cfftp connection="getResidential" action="getfile" username = "myusername"
password = "thepassword" server="ftp.realcomponline.com" stoponerror="yes"
remotefile="idxrs093007.txt" localFile =
"E:\bpoprosonline.com\assets\property\idxrs093007.txt" failifexists="no"
passive="yes">

I want to simply ftp into the real comp server and download the newest file
to my web site so it can be used.

--
Wally Kolcz
MyNextPet.org
Founder / Developer
586.871.4126


TOPICS
Advanced techniques

Views

380

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 02, 2007 Oct 02, 2007

Copy link to clipboard

Copied

Hi Wally,
supply timeout value along with other attributes in cfftp tag . (eg. <cfftp .... timeout=60>) and try to download file.

if you still get same problem, please post full stack trace for the here.

thanks,
Sandeep
Adobe Coldfusion Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 02, 2007 Oct 02, 2007

Copy link to clipboard

Copied

LATEST
Fixed it last night. I was trying to combine all the attributes in one line.
I reread the tag information and noticed that I had to open a connect, then
use that to establish the FTP


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation