Solved

can't connect to server via ftp from dreamweaver

Posted on 2014-07-21
22
2,499 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
ID: 40210634
What does the Dreamweaver FTP log report?
0
 

Author Comment

by:karnac2020
ID: 40211462
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
ID: 40212089
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:karnac2020
ID: 40212097
Plain FTP (port 21) and passive
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40212102
Okay, what does the log report?
0
 

Author Comment

by:karnac2020
ID: 40212126
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
ID: 40212142
Are you 100% sure the username/password is entered into DW correctly? No added space at the end
0
 

Author Comment

by:karnac2020
ID: 40212170
Totally sure.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40212429
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
ID: 40212611
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
ID: 40212620
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
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40212644
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
ID: 40212890
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
ID: 40212929
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
ID: 40212965
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
ID: 40212970
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
ID: 40213014
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
ID: 40213020
Yes, sorry - forget about the incorrect username/password error.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 40213024
Okay, phew.

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

Author Comment

by:karnac2020
ID: 40213029
ok i will try
0
 

Author Comment

by:karnac2020
ID: 40213047
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
ID: 40213052
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A few months ago I attended the Rocky Mountain IPv6 Summit which was a two-day educational event; it was the 3rd annual conference held here in Denver, Colorado that was held at the Hyatt Regency Denver at the Colorado Convention Center. It was an e…
As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

820 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