Article: Uploading Files to FTP Server programmatically in ASP.Net using C# and VB.Net
Hello,
I have tried many times but I am getting the error "System.Net.WebException: 'The remote server returned an error: (550) File unavailable (e.g., file not found, no access).'
Hi,
Please put existing code in Try Catch block and then let me know the error message,
try { //Existing code } catch(WebException ex) { string errorMessage = ((FtpWebResponse)ex.Response).StatusDescription; }
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.