Forum: Ruby on Rails Mailer attach files that are posetd in a respository on the web

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
(Guest)
on 2008-11-21 22:57
(Received via mailing list)
I have set up my application to send e-mails along with attachments,
however I would like the ability for the "browse" to search a file
sharing repository that we have posted on the web.  Right now it just
searches and uploads files I have on my desktop.  Has anyone had any
success attaching files that are stored on a web page?
James M. (Guest)
on 2008-11-21 23:24
(Received via mailing list)
Yes and No.

Do you mean just for you?  Or for all your users?

If just for you, sure, just figure out a way to map a drive (windows)
or mount a remote file share (osx/linux) and it will be available from
the file picker.

If it's something you want all your users to see ... no.  That's not
possible with the browser file input selector.  You could create a
page that lists the remote location files similar to a file input,
like in a popup window or redbox, but you would have to implement that
yourself in your app.

Hope that helps.

--
James M.



On Fri, Nov 21, 2008 at 3:56 PM, removed_email_address@domain.invalid
(Guest)
on 2008-11-21 23:38
(Received via mailing list)
Yes it would need to be for all my users.  I didn't think it would be
possible. Thank you for your help
This topic is locked and can not be replied to.