I just installed VWD Express 2008 for the first time after a computer crash and am having trouble connecting to an ftp site website. It appears to connect, but I get the error "The ~/ directory does not exist". The directory is "httpdocs" and I've tried
entering it as "httpdocs" "/httpdocs" "~/httpdocs" etc. with no success. I can connect to the ftp site and directory just fine using Cute FTP.
What is the correct format for the directory entry, and any thoughts on what I might be doing wrong?
If it matters, I believe it is a windows server and I am using XP on my machine. This has worked in the past with VWD 2005 Express, but this is first time I've tried it with 2008.
To update, I don't understand what is happening. When I try to connect I see the following message in the Remote Website Window - "The ~/ directory does not exist." which I thought meant it has not connected. But when I click the Disconnect button it asks
me "Are you sure you want to disconnect from the remote website 'ftp://www.domain.com/httpdocs (site name)', which seems to suggest that I am connected. If so, I don't get why the files aren't being displayed in the Remote Website Window.
Are there any settings that I need to set so it will display the files?
OK fixed it. I didn't have a security permission. I had to go to the configure asp.net area and go through the security wizard to allow access.
Note here to Microsoft, a more useful error message would be "You don't have security authorization to access this directory" or similar instead of a "directory does not exist" message.
I am now having the same issue. I am using Visual Studio 2008 Dev Express on Windows Vista. I have a copy of my site in a local directory, and after making changes I use the "Copy Website" function. I enter the Site IP, Use passive (or Active), name
, password. The login sits 30 seconds to a minute, and i get the ~/ Directory does not exist.
I am unable to connect to the FTP site through windows explorer as well. I get a message saying that it can't open any folders. BUT......... At a command prompt I can connect to the ftp site, and traverse the directories.
I am also unable to connect from explorer from a Windows XP Virtual machine, but again could connect through command prompt.
One of my co-workers can connect just fine, and as far as I can tell, the only difference is that he is using Visual Developer Standard 2008.
On the network, we had to install the newer version of SQL server. I don't recall if I have been able to connect since the update. It was mentioned that this could be a security issue, but going to the ASP.NET configuration only takes me to the localhost
config.
I had the same problem. It is odd because another FPT program that does nothing special (I know this because I developed it) can access it without any problem with exactly the same permission settings.
To resolve the problem for VS2010, I had to do the following:
IIS > right-click the website > Edit permissions... > Security > Edit > grant "Users" Full control.
jeffamm
Member
66 Points
81 Posts
FTP Connection Error - The ~/ directory does not exist
Oct 21, 2008 02:24 AM|LINK
I just installed VWD Express 2008 for the first time after a computer crash and am having trouble connecting to an ftp site website. It appears to connect, but I get the error "The ~/ directory does not exist". The directory is "httpdocs" and I've tried entering it as "httpdocs" "/httpdocs" "~/httpdocs" etc. with no success. I can connect to the ftp site and directory just fine using Cute FTP.
What is the correct format for the directory entry, and any thoughts on what I might be doing wrong?
If it matters, I believe it is a windows server and I am using XP on my machine. This has worked in the past with VWD 2005 Express, but this is first time I've tried it with 2008.
many thanks
safknw
Member
535 Points
282 Posts
Re: FTP Connection Error - The ~/ directory does not exist
Oct 21, 2008 05:40 AM|LINK
remove '~', try '/'.
Better use some ftp software like FileZilla.
Sr. Software Engg.
Please mark it as answer if it helps you.
jeffamm
Member
66 Points
81 Posts
Re: FTP Connection Error - The ~/ directory does not exist
Oct 21, 2008 12:49 PM|LINK
Thanks, but I've tried entering it as /httpdocs and get the same error
Mikhail Arkh...
All-Star
33139 Points
6083 Posts
Microsoft
Re: FTP Connection Error - The ~/ directory does not exist
Oct 21, 2008 09:01 PM|LINK
How do you specify URL to open?
------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
jeffamm
Member
66 Points
81 Posts
Re: FTP Connection Error - The ~/ directory does not exist
Oct 21, 2008 09:41 PM|LINK
Mikhail, thanks for replying, the setting are:
Server: www.domain.com (not our real URL, but that's the format)
Port: 21
Directory: httpdocs
Passive Mode: unchecked
Anonymous Login: unchecked
jeffamm
Member
66 Points
81 Posts
Re: FTP Connection Error - The ~/ directory does not exist
Oct 22, 2008 01:44 AM|LINK
To update, I don't understand what is happening. When I try to connect I see the following message in the Remote Website Window - "The ~/ directory does not exist." which I thought meant it has not connected. But when I click the Disconnect button it asks me "Are you sure you want to disconnect from the remote website 'ftp://www.domain.com/httpdocs (site name)', which seems to suggest that I am connected. If so, I don't get why the files aren't being displayed in the Remote Website Window.
Are there any settings that I need to set so it will display the files?
jeffamm
Member
66 Points
81 Posts
Re: FTP Connection Error - The ~/ directory does not exist
Oct 22, 2008 02:06 AM|LINK
OK fixed it. I didn't have a security permission. I had to go to the configure asp.net area and go through the security wizard to allow access.
Note here to Microsoft, a more useful error message would be "You don't have security authorization to access this directory" or similar instead of a "directory does not exist" message.
madmist78
Member
2 Points
1 Post
Re: FTP Connection Error - The ~/ directory does not exist
Dec 12, 2008 01:04 AM|LINK
I am now having the same issue. I am using Visual Studio 2008 Dev Express on Windows Vista. I have a copy of my site in a local directory, and after making changes I use the "Copy Website" function. I enter the Site IP, Use passive (or Active), name , password. The login sits 30 seconds to a minute, and i get the ~/ Directory does not exist.
I am unable to connect to the FTP site through windows explorer as well. I get a message saying that it can't open any folders. BUT......... At a command prompt I can connect to the ftp site, and traverse the directories.
I am also unable to connect from explorer from a Windows XP Virtual machine, but again could connect through command prompt.
One of my co-workers can connect just fine, and as far as I can tell, the only difference is that he is using Visual Developer Standard 2008.
On the network, we had to install the newer version of SQL server. I don't recall if I have been able to connect since the update. It was mentioned that this could be a security issue, but going to the ASP.NET configuration only takes me to the localhost config.
Thanks for any advice!
-G
TommeeHawk
Member
2 Points
1 Post
Re: FTP Connection Error - The ~/ directory does not exist
Oct 15, 2009 07:35 PM|LINK
I set "all users" to "allow" going through the wizard and no go, i was just looking for any details on what you did that may help me.
zipswich
Member
271 Points
434 Posts
Re: FTP Connection Error - The ~/ directory does not exist
Jul 17, 2011 04:26 PM|LINK
I had the same problem. It is odd because another FPT program that does nothing special (I know this because I developed it) can access it without any problem with exactly the same permission settings.
To resolve the problem for VS2010, I had to do the following:
IIS > right-click the website > Edit permissions... > Security > Edit > grant "Users" Full control.