Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it work out of the box? #341

Open
dmh707 opened this issue Apr 2, 2018 · 4 comments
Open

Does it work out of the box? #341

dmh707 opened this issue Apr 2, 2018 · 4 comments

Comments

@dmh707
Copy link

dmh707 commented Apr 2, 2018

I downloaded the zip file, extracted it, and opened the index file in the root folder, and it says "Cannot connect to FTP server." I don't see a config file. Am I supposed to do some kind of setup? if so, where is the doc for that? I also uploaded the files to a server and I get the same result.

@morteza-gho
Copy link

morteza-gho commented Apr 3, 2018

You should enter your FTP server information include username, password and hostname in handler.php file brdidge/php.

$oFtp = new FileManager(array(
    'hostname' => 'ftp.test.com',
    'username' => 'username',
    'password' => 'password',
    'passive' => true
));

@dmh707
Copy link
Author

dmh707 commented Apr 3, 2018

Thanks for answering! :) I put my information in, and now it says "Error - 1 - Bridge response error, please check the API docs or this ajax response."
granted, I think I remember seeing that error yesterday before the FTP as well.
This comes from dist/angular-filemanager.min.js
I'll keep investigating. That said, I don't understand why I'm FTPing into my server without connecting to a database and table.

@dmh707
Copy link
Author

dmh707 commented Apr 3, 2018

PS, are the instructions for setup actually sparse, or am I just uninitiated?

@durasj
Copy link
Contributor

durasj commented Jul 27, 2018

@dmh707 the bridges are more of an example. So you are supposed to implement your own. You can also check my php-local bridge if you want to work with local files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants