Facing issue while uploading the file on FTP
₹100 INR / hour
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).
Project ID: #6599691
About the project
1 freelancer is bidding on average ₹111 for this job
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