Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8537739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:58:19+00:00 2026-06-11T10:58:19+00:00

I have just upgraded an application from net 3.5 to 4.0 I read and

  • 0

I have just upgraded an application from net 3.5 to 4.0

I read and transfer files using ftp. An everything is great except for one of the servers I connect to. That server is strange to begin with as I have to go back one directory and down into another:

“ftp.server.com” actually puts me in http://ftp.server.com/up, and I need to read from http://ftp.server.com/out

I get a filelist using this url:

ftp://ftp.server.com/%2fout

Web request is created this way:

var request = (FtpWebRequest) WebRequest.Create("ftp://ftp.server.com/%2fout");

I get the filelist – no problem, so that method works for connecting to the directory, but when trying to read one of the files i now get an error.

I create that request this way:

 var request = (FtpWebRequest)WebRequest.Create("ftp://ftp.server.com/%2fout/" + filename);

I have logged the URI of the request to be:

ftp://ftp.server.com//out/ORDER25260.xml_XL1014254ORDER25260_response.xml

I get this stacktrace:

The remote server returned an error: (550) File unavailable (e.g., file not found, no access).   at System.Net.FtpWebRequest.CheckError()
   at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
   at System.IO.Stream.Close()
   at System.Net.ConnectionPool.Destroy(PooledStream pooledStream)
   at System.Net.ConnectionPool.PutConnection(PooledStream pooledStream, Object owningObject, Int32 creationTimeout, Boolean canReuse)
   at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)
   at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
   at System.Net.CommandStream.Abort(Exception e)
   at System.Net.CommandStream.CheckContinuePipeline()
   at System.Net.FtpDataStream.System.Net.ICloseEx.CloseEx(CloseExState closeState)
   at System.Net.FtpDataStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at CustomModules.CustomModules.SupplierFunctions.FtpMethods.GetFile(SynsamSupplierSetting setting, String filename, Boolean deleteAfterLoad) in D:\WORK\dynamicweb\Source\CustomModules\SupplierFunctions\FtpMethods.cs:line 295

I have noproblem downloading via FileZilla using same credentials

Any idea?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:58:20+00:00Added an answer on June 11, 2026 at 10:58 am

    Resolved this using information on this thread:

    550 file unavailable error with FtpWebRequest class file upload. Works fine in FileZilla

    User SteveCalPoly writes:

    apparently the CWD command behavior changed in the move from .NET 3.5
    to 4.0.

    You have to first call the method in this link.

    http://support.microsoft.com/kb/2134299

    The question relates to uploads, so I missed it in my first google for answers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just upgraded my ASP.NET application from .NET 3.5 to 4.0 and have
I have just upgraded the application from Rails 2 to Rails 3 (ruby 1.9.2-head).
A number of our users have just upgraded from IE6 to IE7. the upgreaded
I have a C# 4.0 Winform app that I just upgraded from 3.5 to
I have just upgraded to CRM 2011 from 4.0, and I'm seeing a lot
I have a Rails 3.2.8 application that I have recently upgraded from 3.1, and
I've an ASP.NET MVC application which I've upgraded from 2.0 to 3.0 in the
We've got a Rails application just upgraded to Rails3 using Devise's Rails3 gem for
I have a VB.NET solution that I just upgraded. It was originally in .NET
I just upgraded my Ruby version from 1.8.7 to 1.9.2 (using RVM). So Ruby

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.