I have been successfully publishing my Windows Applications built in Visual Studio for years now, to my website with an ftp account.
I can connect to the ftp with Filezilla and Windows 10, no problem, but not in the publish.
I've looked online for instructions, but they look rather different to my view of Visual Studio 2019.
To set up the publish I'm using the Publish Wizard... button.
I then "specify the location to publish the application", Browse...
And set the server settings.
Then I get the message in the Output window:
Publishing Files...
I wait for it all to happen, takes a while, the I get many messages like :
Severity Code Description Project File Line Suppression State
Error Failed to copy file 'C:\Users\James\Documents\Visual Studio 2017\Projects\Lasatron\LasatronForm\bin\Publish2\app.publish\Application Files\LasatronForm_1_3_0_23\ALGLIB.dll.deploy' to 'ftp://ftp.quantiseal.com/lastron/Application Files/LasatronForm_1_3_0_23/ALGLIB.dll.deploy'. Unable to add 'Application Files/LasatronForm_1_3_0_23/ALGLIB.dll.deploy' to the Web site. Ready to proceed (200). LasatronForm 1
Severity Code Description Project File Line Suppression State
Error Failed to copy file 'C:\Users\James\Documents\Visual Studio 2017\Projects\Lasatron\LasatronForm\bin\Publish2\app.publish\Application Files\LasatronForm_1_3_0_23\Syncfusion.SpellChecker.Base.dll.deploy' to 'ftp://ftp.quantiseal.com/lastron/Application Files/LasatronForm_1_3_0_23/Syncfusion.SpellChecker.Base.dll.deploy'. Unable to add 'Application Files/LasatronForm_1_3_0_23/Syncfusion.SpellChecker.Base.dll.deploy' to the Web site. Can't change directory to Application Files/LasatronForm_1_3_0_23: No such file or directory (550). LasatronForm 1
When I look at the folders on the ftp I can see that it is creating folders but there are no files within.
Also I am getting a bad folder tree structure that is not correct.
Instead of:
publishFolder
ApplicationFiles
MyApplication_1_3_0_21 (older version)
MyApplication_1_3_0_22
MyApplication_1_3_0_23 (the version I just published)
etc
I am getting:
publishFolder
ApplicationFiles
MyApplication_1_3_0_21
MyApplication_1_3_0_22
MyApplication_1_3_0_23
ApplicationFiles
MyApplication_1_3_0_23
etc
As I say, this was all working before. I have not knowingly changed anything.
Hope that someone can help me through this process.
Many thanks;
James