Solved

can't connect to server via ftp from dreamweaver

Posted on 2014-07-21
22
2,341 Views
Last Modified: 2014-07-26
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
Comment
Question by:karnac2020
  • 12
  • 10
22 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
What does the Dreamweaver FTP log report?
0
 

Author Comment

by:karnac2020
Comment Utility
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
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
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
 

Author Comment

by:karnac2020
Comment Utility
Plain FTP (port 21) and passive
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Okay, what does the log report?
0
 

Author Comment

by:karnac2020
Comment Utility
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
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Are you 100% sure the username/password is entered into DW correctly? No added space at the end
0
 

Author Comment

by:karnac2020
Comment Utility
Totally sure.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
 

Author Comment

by:karnac2020
Comment Utility
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
 

Author Comment

by:karnac2020
Comment Utility
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
 

Author Comment

by:karnac2020
Comment Utility
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
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
 

Author Comment

by:karnac2020
Comment Utility
As I said, the error message says "incorrect username or password" so I assume that means I cannot connect at all.

Mark
0
 

Author Comment

by:karnac2020
Comment Utility
sorry, i guess the error message only had to do with the server path, not the username/password.

Mark
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
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
 

Author Comment

by:karnac2020
Comment Utility
Yes, sorry - forget about the incorrect username/password error.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
Okay, phew.

If you can connect with another FTP client, see if it reports a full path somewhere?
0
 

Author Comment

by:karnac2020
Comment Utility
ok i will try
0
 

Author Comment

by:karnac2020
Comment Utility
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
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Understanding FTPS File transfer is a common requirement in most Enterprises. While there are numerous ways to get a file from Point A to Point B over a network, perhaps the most common method still in use is FTP – File Transfer Protocol. FTP is …
Please see preceding article here: http://www.experts-exchange.com/Networking/Operating_Systems/A_11209-Root-Bridge-Election.html Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now