rfresh Well-Known Member Licensed User Longtime User Apr 25, 2012 #1 I'm using FTP and am getting an FTP_DownloadCompleted success=false msg. Is there a way to get the exact error as to why it failed to download? My code was working fine on my old server and I'm now switching over to another server which is having the download problem. Can I tell why it's failing other than a success=false'? Thanks...
I'm using FTP and am getting an FTP_DownloadCompleted success=false msg. Is there a way to get the exact error as to why it failed to download? My code was working fine on my old server and I'm now switching over to another server which is having the download problem. Can I tell why it's failing other than a success=false'? Thanks...
rfresh Well-Known Member Licensed User Longtime User Apr 27, 2012 #2 My web hosting provider has confirmed that my website has FTPS via TLS. They told me: >I have confirmed that I am able to connect to the server using FTPS, >though I was required to select the explicit TLS option. I'm using the follow B4A code to setup my FTP session but it still fails to connect and download a small text file that I have confirmed is there. Code: Copy FTP2.UseSSL = True FTP2.Initialize("FTP", "ftp.mywebsite.com", 21, pUser, pPW) Is there anything else I might be able to try? Upvote 0
My web hosting provider has confirmed that my website has FTPS via TLS. They told me: >I have confirmed that I am able to connect to the server using FTPS, >though I was required to select the explicit TLS option. I'm using the follow B4A code to setup my FTP session but it still fails to connect and download a small text file that I have confirmed is there. Code: Copy FTP2.UseSSL = True FTP2.Initialize("FTP", "ftp.mywebsite.com", 21, pUser, pPW) Is there anything else I might be able to try?
Erel B4X founder Staff member Licensed User Longtime User Apr 27, 2012 #3 Is there a way to get the exact error as to why it failed to download? Click to expand... Code: Copy Log(LastException) Upvote 0
Is there a way to get the exact error as to why it failed to download? Click to expand... Code: Copy Log(LastException)