Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2852
  • Last Modified:

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
0
karnac2020
Asked:
karnac2020
  • 12
  • 10
1 Solution
 
Jason C. LevineNo oneCommented:
What does the Dreamweaver FTP log report?
0
 
karnac2020Author Commented:
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
0
 
Jason C. LevineNo oneCommented:
Where do I find the Dreamweaver FTP log?

Site | Advanced | FTP Log unless they moved it.

It seems Dreamweaver is having trouble with username/passwords

Logical conclusion based on observation but probably wrong anyway.  The DW FTP client is having trouble with the FTP server protocol whereas Transmit and Filezilla are better clients and do a better job of adjusting during the handshake.  

Is this plain FTP, SFTP, passive?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
karnac2020Author Commented:
Plain FTP (port 21) and passive
0
 
Jason C. LevineNo oneCommented:
Okay, what does the log report?
0
 
karnac2020Author Commented:
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."
0
 
Jason C. LevineNo oneCommented:
Are you 100% sure the username/password is entered into DW correctly? No added space at the end
0
 
karnac2020Author Commented:
Totally sure.
0
 
Jason C. LevineNo oneCommented:
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
0
 
karnac2020Author Commented:
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
0
 
karnac2020Author Commented:
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
0
 
Jason C. LevineNo oneCommented:
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?
0
 
karnac2020Author Commented:
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
0
 
Jason C. LevineNo oneCommented:
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.
0
 
karnac2020Author Commented:
As I said, the error message says "incorrect username or password" so I assume that means I cannot connect at all.

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

Mark
0
 
Jason C. LevineNo oneCommented:
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"
0
 
karnac2020Author Commented:
Yes, sorry - forget about the incorrect username/password error.
0
 
Jason C. LevineNo oneCommented:
Okay, phew.

If you can connect with another FTP client, see if it reports a full path somewhere?
0
 
karnac2020Author Commented:
ok i will try
0
 
karnac2020Author Commented:
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."
0
 
Jason C. LevineNo oneCommented:
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 12
  • 10
Tackle projects and never again get stuck behind a technical roadblock.
Join Now