Upload image submit by users to another serveur

7 views
Skip to first unread message

Théodore KOSSI

unread,
Mar 3, 2023, 2:37:16 PM3/3/23
to django...@googlegroups.com
Hello guys, I hope you are well

I want to upload image submitting by user to another server

Please , do you have any solutions to help me.


--
theodoros17@python-developer

Ahmed Mulla

unread,
Mar 3, 2023, 5:01:03 PM3/3/23
to django...@googlegroups.com
Hey off the top of my head there are a bunch of ways you can do it.

1. Create a separate function that uploads the image to the new server, call that function in the upload view(you should make it async)

2. Write the input to something like Kafka and then write read functions that cater to different needs 

3. Set a cron job that copies the images from the original server and then uploads them to a new server (not advisable)

Let me know if these help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKiMjQHddZCwq%2BjnNS-VvKt90zcmGehWaM3qAB4-dg426gJ5Gg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages