Simple PHP File Sharing


#1

Hi Ballers,

I want a really simple php filesharing script (something like wetransfer) I have tried Jirafeau and s42transfer both based on the same script but am unable to get them to work (I suspect it’s a php 7 issue).

Any recommendations? I already run nextcloud, but I need something simple just to share a file to some one with a link that will expire!

Thanks


#2

Perhaps https://transfer.sh/


#3

http://www.filerun.com is the one you want for easy deployment over PHP

I keep it behind http auth myself though, I mean it is a PHP file manager so no guarantees on security.


#4

Most recently I’ve been using https://send.firefox.com/ for this. Otherwise, I just take the boring route and upload the file via SFTP, and delete it once it’s no longer needed :stuck_out_tongue:


#5

Why not just use wetransfer?
or if you need a longer expiry date, then use onedrive. You are free to set the deadline you wish.


#6

I like to remain in control of the data I am sharing. In this case the customer is working on something new and is a bit paranoid, so onetime downloads, data never leaving the server etc


#7

You know that moment when you remember you had enabled php opcache across the whole server when you were troubleshooting one time?

And then you suddenly remember and it then makes sense why the installers you keep running don’t appear to work…:neutral_face::flushed:


#8

Onedrive allows you to add a password.
So anyone with the link needs the password to access it. OR you can share it with his account instead of a generic link.

And OneDrive is GDPR compliant. so once the file is deleted, it really gets deleted from everywhere within the service.

So unless your client is worried about Microsoft actively monitoring him and steeling his work. It should work.


#9

I am an office 365 subscriber so onedrive is my normal go to unfortunately it doesn’t do one download unshaing which is part of the requirement


#10

That sucks…
…I think the closest OneDrive gets to that is by giving the other party the edit ability for a folder (instead of sharing a file) which then allows that party to delete the files.


#11

transfer.sh is pretty solid, running the docker version now. Sample file:
http://thago.at:8008/P3mel/rogues-george-r-r-martin.pdf


#12

Just found Linx. It’s got some cool features.
Another test file.


#13

Pretty sure Linx is my personal favorite. I uploaded a video of my old band during testing. Here it is; I’m the idiot in the back with the red shirt, playing bass.
Holy Diver cover


#14

(offtopic responding to your video)

Badass! :slight_smile:

My heart goes out to the drummer who you guys force to face the opposite direction hahah. Poor drummers, we always get neglected :stuck_out_tongue:


#15

Lol drummers are bum lookers haha! I always say to people, “Name your favorite band.” And then, “Name their bass player.”
Get’s em every time :sunglasses:


#16

Damn… made me think… Flea is the only bass player I can confidently name. Otherwise :man_shrugging:


#17

Yeah Aaron always complained at practice that he had no idea what was going on. Poor guy haha. He made up for it on stage with his china cymbal, making me deaf :open_mouth: