media items/folder hosted at third party server (2) Options
jHodgkinson
Posted: Friday, March 16, 2007 2:37:42 PM
Rank: Fanatic

Joined: 3/15/2007
Posts: 378
Location: Cary, NC USA
is it possible to host media files on a third party server but also still integrate with the existing media folder functionality in the umbraco admin? ie: via ftp, or other upload mechanism... or would I need to extend umbraco and write such a module/package? many thanks in advance...
neehouse
Posted: Friday, March 16, 2007 4:19:41 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
It is possible. You would need to redo the upload editor control to push the item to the other server, and store the path in the correct manner.

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
jHodgkinson
Posted: Friday, March 16, 2007 4:54:35 PM
Rank: Fanatic

Joined: 3/15/2007
Posts: 378
Location: Cary, NC USA
Casey - would going this route involve modifying the core umbraco application and make it incompatible for future updates?

>It is possible. You would need to redo the upload editor control to push the item to the >other server, and store the path in the correct manner.
warren
Posted: Friday, March 16, 2007 6:12:06 PM

Rank: Addict

Joined: 7/19/2006
Posts: 820
Location: Benfleet, Essex, UK
Hello I am still after a smilar control for umbraco.
I originally posted something to the forum and got no response. I was just thinking of the control being more configurable. IE setting the FTP server, username, password and the domain to that folder.

http://forum.umbraco.org/misc/custom-datatype-upload-control---remote-ftp

Warren

Warren Buckley an Umbraco MVP 08-09 & level 1 certified developer
jHodgkinson
Posted: Friday, March 16, 2007 6:13:36 PM
Rank: Fanatic

Joined: 3/15/2007
Posts: 378
Location: Cary, NC USA
Warren - that's more or less what I'm looking for as well. it would also be nice if you could configure multiple sources as well.
neehouse
Posted: Friday, March 16, 2007 7:11:42 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
>Does this affect the core...

In a round-a-bout way, yes. Let me explain.

Currently, the media picker is tied to the included upload control, so just changing the datatype doesn't work. To successfully replace it, you have to clone the existing one's Guid. With that being said, I have created an upload replacement that successfully replaced the built-in version completely, and it is in a separate assembly. Thus, it does not modify the core, and would be compatible for the foreseeable future. I am not sure how 'safe' this is, as both controls are attempted to be loaded, just the second one seems to fail.

In regard to having to hack the GUID to get it to work with the media picker, I have submitted that as an issue for future versions.

I will post an FTP library later that seems pretty good, and was easy for me to implement in another project a while back.

Case




• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
neehouse
Posted: Friday, March 16, 2007 8:29:18 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
Here is the FTP library that I used before.
http://www.enterprisedt.com/products/edtftpnet/overview.html

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
martinbentzen
Posted: Monday, November 12, 2007 10:35:21 PM
Rank: Devotee

Joined: 7/20/2006
Posts: 50
Location: Copenhagen, Denmark
Has anybody worked further with this topic ?

I'm very interested in how to solve this, without modifying the core...

/Martin

Udblog.dk
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.