Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetListing with spaces in path #27

Closed
raboud opened this issue Jan 3, 2017 · 9 comments
Closed

GetListing with spaces in path #27

raboud opened this issue Jan 3, 2017 · 9 comments

Comments

@raboud
Copy link

raboud commented Jan 3, 2017

GetListing("/usr/local/plexdata/Plex Media Server") returns nothing...
GetListing("/usr/local/plexdata") returns correct data

i have manually ftped to server and verified i can see the underlying directories and files
server is a freebsd box

@robinrodricks
Copy link
Owner

Can you try with GetListing("/usr/local/plexdata/Plex%20Media%20Server") and tell me if it works? I can then add some URL escaping logic to GetListing.

@raboud
Copy link
Author

raboud commented Jan 5, 2017 via email

@robinrodricks
Copy link
Owner

@raboud - You forgot to add the '/' at the end. I tested uploading with this and it worked:

 GetListing("/usr/local/plexdata/Plex Media Server/")

I tested UploadFile, DownloadFile and the lot and they all work fine provided the slash is a postfix.

@raboud
Copy link
Author

raboud commented Feb 28, 2017

did you try against a FreeBSD server. I did try with the terminating slash. I've retested tonight and still no joy.

@raboud
Copy link
Author

raboud commented Feb 28, 2017 via email

@robinrodricks
Copy link
Owner

Can you please try with this:

GetListing("/usr/local/plexdata/Plex+Media+Server/")

@robinrodricks
Copy link
Owner

robinrodricks commented May 6, 2017

I've upgraded the GetListing() file listing parser to include OS-specific parsers. This may resolve your issue. If you are interested in helping debug this, then please use this beta build and give me feedback:

@robinrodricks
Copy link
Owner

All new features released on nuget : https://www.nuget.org/packages/FluentFTP/

@robinrodricks
Copy link
Owner

Closing this since no response received from OP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants