-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Can't download from FTP server #110
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
Comments
I tried to simplify the code even further. I was able to load an image if I gave it a URL to a picture on amazon. However my code is trying to load an image from an ftp server [self.customImageView setImageWithURL:[NSURL URLWithString:@"ftp://www.posmanage.com/mapicture/14756.jpg"] placeholderImage:nil]; So it seems to be related to an ftp issue. |
I added a symbolic breakpoint "objc_exception_throw" |
The version I have that currently works doesn't have lines 116-136 in the sdwebimagedownloader.m |
That fixed the issue thankyou ;) |
can you please let us know how did you actually managed to display an image from ftp ? |
@danipralea unless the image url is a direct url you can access without logging in then as far as i know you cannot connect to an FTP server with this library, yet! |
I've just updated my code to the latest version.
However when I try loading an image this is what I get
-[NSURLResponse statusCode]: unrecognized selector sent to instance 0xead06d0
2012-04-29 11:00:35.765 MA Mobile[40457:15b03] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSURLResponse statusCode]: unrecognized selector sent to instance 0xead06d0'
*** First throw call stack:
This is what I'm using to set the image in a custom cell
[self.customImageView setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"ftp://%@:%@@%@/%@.jpg", [[NSUserDefaults standardUserDefaults] stringForKey:@"ftpusername"],[[NSUserDefaults standardUserDefaults] stringForKey:@"ftppassword"],[[NSUserDefaults standardUserDefaults] stringForKey:@"imagePath"],autoID]] placeholderImage:nil];
The text was updated successfully, but these errors were encountered: