6

I publish my application on a FTP server. I gave the FTP account information (URL, user and password) to Visual Studio but it keep asking me the FTP password each time I click the Publish now button.

Why VS doesn't automatically fullfill my password?

Martin Delille
  • 11,360
  • 15
  • 65
  • 132
  • 1
    Possible duplicate of [In VS2008, for FTP Publishing of a website, is there a way to save FTP Logon password?](http://stackoverflow.com/questions/1308541/in-vs2008-for-ftp-publishing-of-a-website-is-there-a-way-to-save-ftp-logon-pas) – mafu Mar 10 '16 at 16:10

3 Answers3

5

Response to your question. This was asked another question.

Community
  • 1
  • 1
Fatih
  • 158
  • 1
  • 6
1

Visual Studio does not retain the information that you put in, probably so they don't have to do security around it.

Sampson
  • 265,109
  • 74
  • 539
  • 565
RobinDotNet
  • 11,723
  • 3
  • 30
  • 33
  • 1
    ftp://myuser:mypass@example.com:21/my/path/to/web/root/ it do, but you need to understand how ftp work. – Luke Aug 07 '18 at 02:25
0

If you're asking for VS2012, when you click the 'Edit Publish Profiles' gear icon, it normally opens to the 'Preview' tab (see the left side). You can then click 'Connection' on the left and add your password. Then click 'Validate Connection'. Then click 'Close' and it will prompt you to save the updated profile.

joelc
  • 2,687
  • 5
  • 40
  • 60
  • You're talking about 'one click web publishing', and the question is about 'ClickOnce' which is not the same thing. – Will Dean Oct 05 '14 at 21:13