Just installed the new build 3610, i've setup the deploy to FTP again same as before but I just get "Failed to deploy files." The details are definitely correct.

Is there a way to get more information of why it failed?

martina783 says:

Thank you for your detailed post.

cash advance with savings account direct lender

Tanushri says:

this very nice, thank you.

juanc says:

The output window should have more information.

Also if you install DbgView you should get debug traces for the FTP commands.

Please let me know if you find out why is not working.

PugFish says:

The output window just gives me Error -2146232832

Using DebugView I see a problem. It connects to the FTP fine, lists all the files, then I get this (trimmed):

[FTPFileFactory] : Parse() called using culture: Invariant Language (Invariant Country)
[FTPControlSocket] : ---> MKD dev
[FTPControlSocket] : 550 dev: Cannot create a file when that file already exists.
[FTPControlSocket] : Expected reply codes = [200,250,257]

I have the ftp directory specified in the deploy settings, so it seems to be trying to create the folder rather than change to it.

So I tried to deploy without the directory specified, and it still fails but I get Error -2146233080 instead. Looking at DebugView I get no indication why it fails. It logs in, starts KeepAlive thread, sets TYPE I, sets CWD then nothing.

juanc says:

What is the ftp directory you set up in the deployment settings?

PugFish says:

Just "dev"

juanc says:

Try something with a starting slash. I missed that test in my nunit test. I'll fix that in the next release.

PugFish says:

When using /dev it still fails but I see an access denied error (I've updated to build 3615). But I know now why it tries to MKD the directory. On my FTP server dev is not a real directory, it's a virtual folder that redirects to another physical directory on the server. So it must be seeing no directory and trying to create it.

So I created a dev directory on the server and it still failed, but I get this error:

ERROR [EnterpriseDT.Net.Ftp.ExFTPConnection] : Connection test failed. Closing... : EnterpriseDT.Net.Ftp.FTPException: CWD command successful. (code=250)
EnterpriseDT.Net.Ftp.FTPException: CWD command successful. (code=250)
at EnterpriseDT.Net.Ftp.FTPControlSocket.ValidateReply(FTPReply reply, String[] expectedReplyCodes)
at EnterpriseDT.Net.Ftp.FTPClient.Pwd()
at EnterpriseDT.Net.Ftp.ExFTPConnection.a()
[AsyncProcessor] : Stopping FTP task processor.
[AsyncProcessor] : FTP task processor stopped.
[SecureSocket] : Shutdown(Both)

So it failed because the CWD command was successful...weird :oP

Like I said in my other post, even when trying to deploy to the same FTP server with no directory specified it still fails with no apparent reason, it just stops.

juanc says:

Can you email me the whole debug trace?

juanc says:

Ok, I'm checking into this. I'll get back to you.