473,795 Members | 2,983 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copy Web Site FTP Problem

Sigh. Every other ftp client I've used lets me enter the path to the site, the user id and password, and connects.. but not the one
in VS2005. Why does MS have to do everything differently?

Here's the problem: when I try to connect (through Copy Web Site) via FTP, I get the error message "The ~/ directory does not
exist". Yet if I try to connect to a subdirectory on the site, the connection works fine. Why isn't the VS2005 FTP client smart
enough to figure out how to connect to the root directory? How do I get it to do so?

- Mark
Feb 25 '06 #1
3 1128
Mark,
Correct me please if I am wrong, but I was not aware that "~/" is a
legitimate FTP folder directive. In ASP.NET it is translated to mean "root of
the site", but I don't recall ever seeing it used in an FTP command.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Mark Olbert" wrote:
Sigh. Every other ftp client I've used lets me enter the path to the site, the user id and password, and connects.. but not the one
in VS2005. Why does MS have to do everything differently?

Here's the problem: when I try to connect (through Copy Web Site) via FTP, I get the error message "The ~/ directory does not
exist". Yet if I try to connect to a subdirectory on the site, the connection works fine. Why isn't the VS2005 FTP client smart
enough to figure out how to connect to the root directory? How do I get it to do so?

- Mark

Feb 25 '06 #2
Peter,

I should've been clearer. I left the directory textbox blank in the logon dialog. The "~/" is the error message that VS2005
generates, not anything that I entered.

I stumbled onto a workaround, namely, to connect in passive mode. Why that should work I don't know, and why I have to do it I don't
know, but at least it works.

- Mark
Feb 25 '06 #3
Interesting! You should check the ladybug (Product feedback site) and see if
anybody else has reported this, and post a workaround if appropriate.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Mark Olbert" wrote:
Peter,

I should've been clearer. I left the directory textbox blank in the logon dialog. The "~/" is the error message that VS2005
generates, not anything that I entered.

I stumbled onto a workaround, namely, to connect in passive mode. Why that should work I don't know, and why I have to do it I don't
know, but at least it works.

- Mark

Feb 26 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
911
by: Karl Shifflett | last post by:
I'm trying to deploy a web site using SSL (https:) but am using an IP address instead of a URL. This is does not have a real DNS name and is sharing a valid SSL certificate from another site. VS.NET 2003 will not copy the project and returns an Invalid Certificate error. I can open the web up in FrontPage no problem. Is there a setting or way to bypass this so I can copy my
3
2192
by: Johnny | last post by:
Hi, I have created an ASP.NET application (let's call it FooBar) with VS.NET on my local machine, residing in http://localhost/FooBar. Deploying it to another folder on my machine works well with FrontPage Server Extensions, but I don't manage to deploy the application to my web provider http root folder. When I run Copy Project, I get an error message just saying 'Unable to create Web project 'myname'. Not found.'.
2
1977
by: camp | last post by:
I use VS.Net 2003 on Win XP Pro SP2. I created an ASP.Net app on local IIS. Now I just wanted to "Copy Project" to remote server, but I get this error: "An error occured while copying the project 'http://localhost/MyApp/MyApp.csproj'. The web sever reported the following error when attemptimg to create or open the web project located at the following URL: 'http://www.mysite.com'. 'HTTP/1.1 500 Internal Sever Error' More details:
2
1647
by: Steve Franks | last post by:
The Copy Web tool provided with VS.NET 2005 is very convenient. However every once in a while it seems to think the files on the remote server have changed, which they have not. Then when I use the Copy Web Site feature of Copy Web to just copy the entire web site over, it thinks it has to re-upload the entire site which takes a very long time - when in fact those files on the remote have not changed. Does anyone know why this occurs...
0
1110
by: Ken Sturgeon | last post by:
We recently migrated our development environments to a new server. We simply copied the website's files from one server to the other; we did not use the site copy wizard to place the site on the new server. Since then we get a permissions error any time that we try to copy over an existing file; we can however use the copy wizard to push new files to the server. We can also delete existing files from the server and then copy them back over...
2
1623
by: jerrygarciuh | last post by:
Hi all, The following script is giving me weird problems. I have in this directory an index.php and hurricane.php. If the script gets $i = 'on' it is supposed to back up the current index into a file called normal.php and then copy hurricane.php into index.php. This should create a backup of the index and then put the hurrican alert in place.
20
1720
by: Paul Bromley | last post by:
Not sure if I can ask the question in this forum - please let me know if it is better elsewhere. Does anyone know of a reasonably priced good copy protection program that will protect software on either a machine only or network range basis?? I have just found Shareguard that looks reasonably priced. My applications are for vertical market and are not likely to be cracked, BUT users are likely to pass working versions around if not...
4
2730
by: Tom | last post by:
Every week our web guys publish the web site to all of our servers by logging into the server and doing a copy - paiste. We want to elminate the developers from logging into each server and doing this, so we want to create them a windows app that allows them to copy the web folder from their machine and publish it to each server. Is there a way to do this? We want to do the following: 1) be able to connect to the web servers without...
2
1575
by: curtissumpter | last post by:
Hi, I need some help with the following code. public class Site { Integer NumberOfTeams = new Integer(initialize); Vector<Integer> TeamList = new Vector<Integer>(); }
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10438
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10164
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9042
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7540
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.