Bug 12850 - FtpWebRequest does not handle remote paths properly
Summary: FtpWebRequest does not handle remote paths properly
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: 2.10.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-06-24 13:00 UTC by Bryan Moulton
Modified: 2017-11-13 18:07 UTC (History)
4 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Bryan Moulton 2013-06-24 13:00:36 UTC
Related to case #38642
https://bugzilla.novell.com/show_bug.cgi?id=698551

The culprit is here:
https://github.com/mono/mono/blob/master/mcs/class/System/System.Net/FtpWebRequest.cs#L560

It looks like the code is ignoring the last part of the path name because of this line. For file commands this is fine, but if it is a List command the whole path needs to be included.
Comment 1 Tom_Qv 2017-11-12 22:00:21 UTC
just opened a thread in the Xamarin.Mac-forum

https://forums.xamarin.com/discussion/106503/ftpwebrequest-not-working-correct-on-xamarin-mac/p1?new=1

looks like, this is an old bug?

Note You need to log in before you can comment on or make changes to this bug.