[GH-ISSUE #168] May I delete local file after upload to Flyimg server? #681

Closed
opened 2026-03-15 15:01:57 +03:00 by kerem · 7 comments
Owner

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?

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?
kerem 2026-03-15 15:01:57 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@sadok-f commented on GitHub (Aug 3, 2018):

Hi @maykbrito ,

Could you please explain more what you want to achieve?

<!-- gh-comment-id:410313627 --> @sadok-f commented on GitHub (Aug 3, 2018): Hi @maykbrito , Could you please explain more what you want to achieve?
Author
Owner

@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 magic done by Flyimg, I delete file from my website (Server1) and just use that link of Flyimg (https://ballbala/path/blablaba)

roger that?

<!-- gh-comment-id:410332475 --> @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 `magic` done by Flyimg, I delete file from my website (Server1) and just use that link of Flyimg (https://ballbala/path/blablaba) roger that?
Author
Owner

@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

<!-- gh-comment-id:413559536 --> @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
Author
Owner

@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!

<!-- gh-comment-id:413581669 --> @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!
Author
Owner

@sadok-f commented on GitHub (Aug 16, 2018):

Yes it'll serve a cached version from flyimg server.
Unless you pass rf_1 option which will invalidate the cache and request the original image from the server again.

<!-- gh-comment-id:413582862 --> @sadok-f commented on GitHub (Aug 16, 2018): Yes it'll serve a cached version from flyimg server. Unless you pass `rf_1` option which will invalidate the cache and request the original image from the server again.
Author
Owner

@maykbrito commented on GitHub (Aug 16, 2018):

Awesome! Thanks @sadok-f

<!-- gh-comment-id:413583508 --> @maykbrito commented on GitHub (Aug 16, 2018): Awesome! Thanks @sadok-f
Author
Owner

@sadok-f commented on GitHub (Aug 16, 2018):

you're welcome! @maykbrito
Closing the issue.

<!-- gh-comment-id:413584145 --> @sadok-f commented on GitHub (Aug 16, 2018): you're welcome! @maykbrito Closing the issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#681
No description provided.