Find Jobs
Hire Freelancers

Facing issue in uploading the file on FTP

₹100-400 INR / hour

Cancelled
Posted over 9 years ago

₹100-400 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)[login to view URL](requestUriString); [login to view URL] = [login to view URL]; [login to view URL] = new NetworkCredential(ftpUserName, ftpPassword); [login to view URL] = true; [login to view URL] = true; [login to view URL] = [login to view URL]; [login to view URL](); using (Stream requestStream = [login to view URL]()) { [login to view URL](bytes, 0, [login to view URL]); [login to view URL](); FtpWebResponse response = (FtpWebResponse)[login to view URL](); [login to view URL](); } } 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: 6601331

About the project

1 proposal
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of INDIA
Hyderabad, India
4.9
86
Member since Aug 28, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.