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

No such file or directory error when uploading from remote url #15

Open
omarvelous opened this issue Jan 10, 2014 · 0 comments
Open

No such file or directory error when uploading from remote url #15

omarvelous opened this issue Jan 10, 2014 · 0 comments

Comments

@omarvelous
Copy link

Greetings,

It appears that when a file is uploaded from a URL, it attempts to upload the files to the wrong directory.

For example:

img = Image.new
img.remote_file_url = "http://server.com/folder/image.jpg"
img.save
Net::FTPPermError: 550 /public_html/images/http://server.com/folder: No such file or directory

As you see it's attempting to save the file in a directory that contains the domain and path from the original file.

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

No branches or pull requests

1 participant