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

For the love of god!!!! CFFTP Don't Not Work!! Someone please help i am not smart person

Guest
Oct 13, 2010 Oct 13, 2010

I am using CF 8 enterprise and for some reason i cannot seem to get the C

FFTP tag to work.  I've tried a variety of ways, but still no luck.

When i use a WSCP ftp program i have no problem FTPing.  However, if i use cold fusion i get error 51 or 81 or some variation of that.  At this point i feel ike i must be missing a major fundamental building block.  With that, i will start with the basics.

Windows 2003 Server Enterprise (FTP not set up in IIS)

Coldfusion 8 w/update 1

i am trying to FTP files on the same box to a unix box.  I tried enableing Coldfusion security, but no luck. it didn't do anything for me.  I am not going to bother putting the code for the tag here, but should this work? I mean, is there anythign i am missing like seting up an ftp server in iis eventhough i am having problem just opening connection? I have not even made it to the part of transfering files.

If someone could give me an out line of what i need to do to get this started in the right direction that would be a huge help.

1.5K
Translate
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
Community Expert ,
Oct 13, 2010 Oct 13, 2010

Have you tried using an FTP client from your CF server, to ensure connectivity between that server and your FTP server? You mention WSCP, but not whether you've run that from the CF server console.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on

GSA Schedule, and provides the highest caliber vendor-authorized

instruction at our training centers, online, or onsite.

Dave Watts, Eidolon LLC
Translate
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
Guest
Oct 13, 2010 Oct 13, 2010

Thanks dave,

And yes i kinda left that out.  I did try that from the wk3 box and can see the directory on the target machine.  In addition i can successfully transfer file to and from.

Translate
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
Community Expert ,
Oct 13, 2010 Oct 13, 2010

Is it using active or passive FTP? Do you have CFFTP set accordingly?

I don't think turning on CF security will help. In fact, it may hurt.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on

GSA Schedule, and provides the highest caliber vendor-authorized

instruction at our training centers, online, or onsite.

Dave Watts, Eidolon LLC
Translate
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
Guest
Oct 13, 2010 Oct 13, 2010

I am looking at it, and it doesn't seem like i know hwere to look for that info in the WSCP client.  However, i did try both with the cfftp tag.  Weather active or passive it seemed to yeild the same results.  I also read in the documentation that the action doensn't need to open for simple get or put, so i tried active and passive in that regard too.  I'm sure i misinterpreted that...... but tried anyway.

desperate times call for desparate measures.

Translate
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
Guest
Oct 13, 2010 Oct 13, 2010

also if i use my ie 8 brower and type sftp://theurls:22 it authenticates me.  It looks like it is trying to connect back, which i guess is what it is supposssed to do.... but not sure of all the detaisl of that.

just thought i'd mentin that.

Translate
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
Guest
Oct 13, 2010 Oct 13, 2010

One other point to mention is that i have tried this on the CF9 deeloper eddition using hte int

ernal JRUN server.  My next thought was to setup FTP on my IIS server to at leaset isolate the cftp tag on the same server opposed to across network with sftp and whatever else is going on.  At least it would allow me to elimnate the coldfusion security stuff and get a base or plain vanallia kind of a test bed.

Translate
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
Community Expert ,
Oct 13, 2010 Oct 13, 2010

OK. One thing I missed from your earlier posts was that you're using SFTP, not just FTP. That can cause all kinds of problems, and testing connectivity to a regular FTP server won't tell you too much about what's going on (unless that doesn't work either, I guess).

Take a look at this and see if it helps:

http://forums.adobe.com/message/3190494

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on

GSA Schedule, and provides the highest caliber vendor-authorized

instruction at our training centers, online, or onsite.

Dave Watts, Eidolon LLC
Translate
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
Guest
Oct 13, 2010 Oct 13, 2010

I saw that link, and it was one of hte last things i

tried.  It doesn't seem to do anything to help my problem.

For an alternate method, how reliable would it be to use the executeable and pass the parameters in using cfml? I gotta think that would not be the most popular choice, but how bad of a practice would that be? It seems like for whatever reason there are folks on the net that say, hey this works great for me", and then the other folks like my self say, "For the love of god....... help" and cant get it to work.  What do other folks do that you may know of? any idea?

THnaks again for your time

Translate
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
Guest
Oct 13, 2010 Oct 13, 2010

Dave,

this tag works using IIS FTP site that is not secure.  Does that mean anything significant to my problem?

Translate
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
Community Expert ,
Oct 13, 2010 Oct 13, 2010
LATEST

Sure, that's always an alternative to use CFEXECUTE to invoke your program directly. I don't really have any better suggestions.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on

GSA Schedule, and provides the highest caliber vendor-authorized

instruction at our training centers, online, or onsite.

Dave Watts, Eidolon LLC
Translate
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