Facing issue while uploading the file on FTP

Cancelled Posted Oct 16, 2014 Paid on delivery
Cancelled

Facing issue while uploading the file on FTP. Below is the code.

private void UploadFileToFTP(string directoryName, string filename, byte[] bytes)

{

try

{

string ftpUserName = "username";

string ftpPassword = "password";

var requestUriString = "file pah on ftp";

var request = (FtpWebRequest)[url removed, login to view](requestUriString);

[url removed, login to view] = [url removed, login to view];

[url removed, login to view] = new NetworkCredential(ftpUserName, ftpPassword);

[url removed, login to view] = true;

[url removed, login to view] = true;

[url removed, login to view] = [url removed, login to view];

[url removed, login to view]();

using (Stream requestStream = [url removed, login to view]())

{

[url removed, login to view](bytes, 0, [url removed, login to view]);

[url removed, login to view]();

FtpWebResponse response = (FtpWebResponse)[url removed, login to view]();

[url removed, login to view]();

}

}

catch (Exception ex)

{

}

}

I am facing below crash..

The remote server returned an error: (550) File unavailable (e.g., file not found, no access).

.NET C# Programming

Project ID: #6599691

About the project

1 proposal Remote project Active Oct 16, 2014

1 freelancer is bidding on average ₹111 for this job

pointnetfrance

Hi. I am a .NET Developer living in Paris. I have read your specifications and i want to help you to realize your application. I invite you to see the kind of application i have realize for an idea. You can contact me More

₹111 INR / hour
(0 Reviews)
0.0