accessing a folder for listing the data

Hi, I have an address like this:


i need to browse this folder from coldfusion, i have username/password with me to send accross to browse this folder,

i am using cfftp for this purpose using the passiv="yes". but it gives me an error:

An error occurred while establishing an FTP connection.

i am out of ideas, is there any other way of fixing it

LVL 16
Gurpreet Singh RandhawaCEOAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
Are you manage to connect to path: // via a FTP client?

You may setup the same configuration in your CFFTP tag, like:


Open in new window

for more info:

ColdFusion FTP (cfftp)
Gurpreet Singh RandhawaCEOAuthor Commented:
via ftp, it is not getting connected..

So i think something else needs to be done, but what i am not sure
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
so, is your purpose is to list down a directory at your server end?
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Gurpreet Singh RandhawaCEOAuthor Commented:
yes, from webpage i should be able to go into that directory adn list its contents

i tried with cfdirectory but that just shows empty dump, nothing in it, it does not username/password so i am bit lost where i can fix it
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:

1. is this a network path that the web server trying to access?


2. if at the server machine, can we directly access to that folder by opening a new window folder?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gurpreet Singh RandhawaCEOAuthor Commented:
i solved it, basically i mapped a directory which came as z:\, the permissions were missing and firewal was an issue, modified that and access the drive using the batch file by providing the username/password and it worked, Thanks for the help.

i am accepting your answer at least you tried to help me out in this.

A motivation is a big factor

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.