Link to home
Start Free TrialLog in
Avatar of karnac2020
karnac2020Flag for United States of America

asked on

can't connect to server via ftp from dreamweaver

I have a site at test-site.michianait.net that I am trying to update with Dreamweaver CS6. The connection credentials that works with Transmit on a Mac ( and Filezila ) do NOT work when set in Dreamweaver. As the site was built in Dreamweaver, it would be nice to be able to use the ftp client built-in to Dreamweaver to upload files.

Is there something special I have to do in the Dreamweaver site definition that is different than what I use for the ftp credentials in Transmit or Filezila?

Any help would be appreciated.

Mark
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

What does the Dreamweaver FTP log report?
Avatar of karnac2020

ASKER

Where do I find the Dreamweaver FTP log?

By the way, I found that I could not even connect with the Adobe test site (still complains about incorrect username/password) but I COULD connect with ftp.irs.gov using the username "anonymous" and no password. It seems Dreamweaver is having trouble with username/passwords, since both the Adobe test site and my own site require a username/password while the irs site only required a username.

Both the Adobe test site and my own site work fine with FTP using Transmit on the Mac or Filezilla.

Mark
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Plain FTP (port 21) and passive
Okay, what does the log report?
I can't find a log report but I get the error that I have an incorrect username or password. But it seems strange because those exact credentials work with "Transmit."
Are you 100% sure the username/password is entered into DW correctly? No added space at the end
Totally sure.
This might then be one of those rare cases where the DW client can't connect to the remote server or there is a deeper security setting that's blocking DW specifically but allowing the other programs to connect.

Try working through the steps here:

http://helpx.adobe.com/dreamweaver/kb/troubleshoot-ftp-issues-dreamweaver-cs5.html
Hi Jason,

I did go through the steps on that link you sent me, but no luck. Here is the error message I am getting;
"An FTP error occured - cannot open server folder /public_html/test-site/. Access denied. The file may not exist, or there could be a permission problem."

I even set the permissions of the folder to 777, but still the same error message.

Mark
And I have tried using both ftp.michianait.net and michianait.net. Neither work.

I have also tried all 4 combinations of Remote/Testing server, but that didn't have an effect either.

I remember there is some trick about getting Dreamweaver ftp to work, but I can't remember what it is.

Mark
I even set the permissions of the folder to 777, but still the same error message.

Don't do that.  Permissions for web users and FTP users are different.  Make sure the FTP user on this server does have adequate permissions on that folder. Additionally, that error message means the user name and password are correct so we're definitely into server configuration as the possible culprit.

/public_html/test-site/

So depending on how your FTP user is configured, the above could be the wrong path.  If you can get to the shell, go to that folder and issue a pwd command to get the complete path.  Then use that path in DW's remote folder field.  My concern is that the DW FTP is uploading the user to /home/username or something like that and /public_html/test-site can look like it's starting from the server root and the crappy DW client gets confused.  Using full server paths removes all confusion.

And I have tried using both ftp.michianait.net and michianait.net. Neither work.

Neither work in the sense you cannot connect or you can connect but can't list anything?
Jason,

1. On the remote server (which uses cPanel)  how do I get into a shell where I can issue the pwd command? Or it there some other way to get the complete path?


2.In the sense that I cannot even connect - never mind being able to list anything.

Thanks,
Mark
1. On the remote server (which uses cPanel)  how do I get into a shell where I can issue the pwd command

Unsure, I may be one of the few people to have never used cpanel.  I just use PuTTY and connect to the shell.

2.In the sense that I cannot even connect - never mind being able to list anything.

You can connect.  If you couldn't even make the connection it would tell you "bad password" or similar in the logs.
As I said, the error message says "incorrect username or password" so I assume that means I cannot connect at all.

Mark
sorry, i guess the error message only had to do with the server path, not the username/password.

Mark
You're reporting two different error messages:

"An FTP error occured - cannot open server folder /public_html/test-site/. Access denied. The file may not exist, or there could be a permission problem."

and

"incorrect username or password"
Yes, sorry - forget about the incorrect username/password error.
Okay, phew.

If you can connect with another FTP client, see if it reports a full path somewhere?
ok i will try
Jason,

Resolved! If I just leave the "Root directory" field in Dreamweaver blank, it works like a charm. The explanation I got from my hosting support tech was "When you connect to the ftp server, you're already in public_html/test-site. So when you add that as the directory, adobe dreamweaver thinks there is a directory called public_html/test-site inside of the directory test-site. You shouldn't actually need to specify a directory."