Deal with update location for click-once.

Posted by Assimilater on Stack Overflow See other posts from Stack Overflow or by Assimilater
Published on 2010-05-25T00:09:37Z Indexed on 2010/05/25 0:11 UTC
Read the original article Hit count: 185

Filed under:

I'm not sure how many people here are experts with visual studios, but I'd imagine a handful (not to raise expectations but to appeal to your egos :P).

I'm working primarily in visual basic for now (though I hope to switch to c# in the near future and maybe a java or web app).

Basically I'm trying to create an update feature that will work similarly to how common programs such as firefox or itunes update automatically. There is supposed to be provided functionality for this in what is called click once.

I carry out the following procedures and get the following errors when trying to change the update url of my program to a password-protected ftp location.

Go to project properties

Go to publish

click updates

click browse

click FTP Site

Under Server put: web###.opentransfer.com

Under Port: 21

Under Directory put: CMSOFT

Passive mode is selected (which is what filezilla tells me the server is accessed with)

Anonymous User is unselected and a username and password are typed in

Push Ok

Under Update location it shows: ftp://web###.opentransfer.com/CMSOFT

I push Ok

I see a message box titled Microsoft Visual Basic 2010 Express with an x icon

Publish.UpdateUrl: The string must be a fully qualified URL or UNC path, for example "http://www.microsoft.com/myapplication" or "\server\myapplication".

I've tried changing the directory to "CMSOFT/PQCM.exe" and the results are the same...hope this was descriptive enough.

© Stack Overflow or respective owner

Related posts about clickonce