Upload file
Closed this issue · 5 comments
saroar commented
Can I upload only CSV file in director and save it in my rails app if yes how I can only upload?
pcreux commented
Hey there! I'm not sure to understand what director
is. :)
saroar commented
i mean when we upload the image it saves in rails public folder i need something same features want to save csv file in my rails folder how I can do it? is it possible with you gem?
pcreux commented
Hey there. It's definitely doable with rails to upload any type of files.
csv-importer takes care of importing the CSV file that's been uploaded to
the database. It doesn't seem to be what you're looking for.
…On Wed, Sep 27, 2017, 02:43 Saroar Khandoker ***@***.***> wrote:
i mean when we upload the image it saves in rails public folder i need
something same features want to save csv file in my rails folder how I can
do it? is it possible with you gem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#64 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACw82ax71hxrxvyG36Kju3CWN1gH1f6ks5smhjJgaJpZM4PkRFq>
.
saroar commented
thanks bro for your answer do know any gem or very simple code where i can upload only CSV file not else and not more than 1mb
or if u know some code it will be great for me I will like to create one simple gem
pcreux commented
That's a good start:
https://stackoverflow.com/questions/14174044/uploading-a-file-in-rails
…On Wed, Sep 27, 2017, 06:56 Saroar Khandoker ***@***.***> wrote:
thanks bro for your answer do know any gem or very simple code where i can
upload only CSV file not else and not more than 1mb
or if u know some code it will be great for me I will like to create one
simple gem
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#64 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACw85-hyqsGv2m5zcfRvAlXsORYQxpiks5smlQKgaJpZM4PkRFq>
.