Upload attachments from a URL

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Post Reply
Kenshiro
Registered User
Posts: 1
Joined: Sat Oct 16, 2010 11:30 pm

Upload attachments from a URL

Post by Kenshiro »

It's possible to create attachments upload with remote upload (upload from a URL)? Avatars remote upload already exists.. Why isn't attachment?

Oleg
Posts: 1150
Joined: Tue Feb 23, 2010 2:38 am
Contact:

Re: Upload attachments from a URL

Post by Oleg »

Moved to 3.2 discussion. This is a non-trivial feature, therefore the earliest release it can go in is 3.2.

Theoretically this should be possible. Practically, what is your use case?

User avatar
Kellanved
Former Team Member
Posts: 407
Joined: Sun Jul 30, 2006 4:59 pm
Location: Berlin

Re: Upload attachments from a URL

Post by Kellanved »

I see little value in this. Remote avatars are not actually copied to the board server, so the basic assumption ("feature already there for avatars") is faulty.

The sole benefit I see is that huge files might be added to a post much quicker by using the bigger bandwidth of servers. In this situation (admin offering big files as attachment), a MOD should be quity easy to program.
For other use cases (i.e. small files), it's perfectly possible to enter an URL in the file selection dialog in most modern operating systems.
No support via PM.
Trust me, I'm a doctor.

User avatar
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Berlin, Germany
Contact:

Re: Upload attachments from a URL

Post by naderman »

It's simply more convenient than having to download and then reupload if you want to attach a remote file. You might want to do this for example if you know the file will no longer be available remotely after a given time period.

Post Reply