web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

FTP upload with System.Net.FtpWebRequest - Error 550

(0) ShareShare
ReportReport
Posted on by 411

Hi folks,

I have been really struggling to upload the text file generated after Report As Finished Posting, on FTP server location.

While uploading I am getting one error, in the following line

requestStream = ftpRequest.GetRequestStream();

Error : The remote server returned an erro :(550) File unavailable (eg. file not found, no access)

Now I am not getting any headway for this error as,

I am able to access the FTP location through File Explorer and have all the permissions.

Help would be grateful.

Thanks.

 

I have the same question (0)
  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Babalalex,

    Did you give the full file path including the file name in your code?

    Such as:

    Uri serverUri = "ftp://ftp.example.com/home/example/example.pdf";
    FtpWebRequest request = (FtpWebRequest)WebRequest.Create(serverUri);

    Can you upload a bit more about your code?

  • Verified answer
    WillWU Profile Picture
    22,363 on at

    Hi Babalalex,

    Have a look at this blog:

    https://mfmujahidmim.wordpress.com/2016/09/13/uploading-a-%E2%80%8Bfile-to-ftp-server-through-x-with-detail-explanation/

    You should pay attention to the following points:

    1,The file name must not have spaces and colons in it otherwise it throws error.

    2,Make sure you must have proper file path otherwise, it throws an error.

    Hope this helps.

  • babalalex Profile Picture
    411 on at

    Hey Thanks Will.

    It worked for me.

    I just focussed on,

    pastedimage1577967814567v1.png

    And made the changes like file name, Login and Pwd carefully. 

    So worked.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 677 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 620

#3
Subra Profile Picture

Subra 483

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans