mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 01:35:56 +03:00
[GH-ISSUE #168] May I delete local file after upload to Flyimg server? #681
Labels
No labels
Docs
Docs
Docs
Security
UnitTest
bug
dependencies
duplicate
enhancement
enhancement
enhancement
hacktoberfest
help wanted
invalid
pull-request
question
stale
version 1
version 2
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flyimg#681
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maykbrito on GitHub (Jul 14, 2018).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/168
Hello. Sorry ask but...
May I delete local file after upload to Flyimg server?
@sadok-f commented on GitHub (Aug 3, 2018):
Hi @maykbrito ,
Could you please explain more what you want to achieve?
@maykbrito commented on GitHub (Aug 3, 2018):
eg.: I send some file to my website ( server 1), pass that file to Flyimg ( server 2 ) with link (https://balblalba/uploads/blaballba), then, after that
magicdone by Flyimg, I delete file from my website (Server1) and just use that link of Flyimg (https://ballbala/path/blablaba)roger that?
@sadok-f commented on GitHub (Aug 16, 2018):
Hi @maykbrito ,
Sorry for the late response, I think I got your point and no Flyimg cannot delete the local image because it doesn't have access to it.
The role of Flyimg is to get the image from the source, you have to manually delete the original file or use a script for that.
I hope you get the answer you need!
Best,
Sadok
@maykbrito commented on GitHub (Aug 16, 2018):
Tks @sadok-f !!!
I think I got it!! So...
If I delete original file from server 1, manually or with some script, my server 2 (Flyimg server) will still display a copy of that file?
Thanks a lot!
@sadok-f commented on GitHub (Aug 16, 2018):
Yes it'll serve a cached version from flyimg server.
Unless you pass
rf_1option which will invalidate the cache and request the original image from the server again.@maykbrito commented on GitHub (Aug 16, 2018):
Awesome! Thanks @sadok-f
@sadok-f commented on GitHub (Aug 16, 2018):
you're welcome! @maykbrito
Closing the issue.