Nov 21, 2008, 07:14 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Donate to MODx: Donations
Pages: [1] 2   Go Down
  Print  
Author Topic: a frontent end file [UPLOADS] MANAGER snippet/plugin ??  (Read 970 times)
0 Members and 1 Guest are viewing this topic.
elz64
Sr. Member
****
Posts: 352



WWW
« on: Aug 27, 2008, 05:36 AM »

Hi,

I'm looking for a way to give to one registered visitor (in Frontend) a way to upload (ftp) some files to some dir.
Let's say a specific directory created especially for him.

The proccess would be :
1- login in front end, them go to his protected page
2- use a fileuploads mecanism here.


It's some kind of emergency....

Thank you
« Last Edit: Aug 27, 2008, 11:51 AM by elz64 » Logged

Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
dev_cw
Testers
*
Posts: 2,696



WWW
« Reply #1 on: Aug 27, 2008, 06:23 AM »

There is a fileUpload snippet but I'm not sure if it uses FTP.
http://www.modxcms.com/FileUpload-804.html
Logged

Shane Sponagle | Snippet Call Anatomy | Document Specific Variables

Something is happening here, but you don't know what it is.
Do you, Mr. Jones?  -  [bob dylan]
elz64
Sr. Member
****
Posts: 352



WWW
« Reply #2 on: Aug 27, 2008, 07:26 AM »

thanks a lot I'll check it.

But only one snippet for such a need ... strange
Logged

Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
sottwell
Documentation Team
*
Posts: 8,170



WWW
« Reply #3 on: Aug 27, 2008, 08:41 AM »

Using ftp from a php script is a little tricky; not a lot of installations have ftp support compiled in. Basically what you're talking about here is creating a minimal ftp client with PHP. The only snippet I'm aware of that does that at all is MaxiGallery, and as I said, that feature is dependent on the configuration of the site's PHP.
Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
elz64
Sr. Member
****
Posts: 352



WWW
« Reply #4 on: Aug 27, 2008, 11:31 AM »

thank you.

I'm facing a big trouble as my partner who is a TYPO3 man argue that all of this is a breeze (?)  with existing T3 extension.

The real need for this project (and probably a few others) is to use a windows like file manager and actually  not only a simple file upload to permit webusers to deal whatever they want in their own 'private' space. the customer has already a standrd mod site (my very first one).

The need is about graphics and pre-press oriented small business (numeric printing, communication agenies...) so they want their customer put, reput delete or add files to some private space on the host, and those file may be up to 300MB, and in the other direction the website owner be able to deal the same way in all of his customer's space.

I'm affraid I just can't defends MODx as a whole development from scratch will be necessary.

Logged

Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
sottwell
Documentation Team
*
Posts: 8,170



WWW
« Reply #5 on: Aug 27, 2008, 01:17 PM »

Yeah, uploading that much stuff is really too much for HTTP upload and PHP processing. FTP and/or a bit of perl would handle it just fine, though. I've embedded perl scripts in snippets and modules before, it's not really difficult.
Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
elz64
Sr. Member
****
Posts: 352



WWW
« Reply #6 on: Aug 28, 2008, 02:40 AM »

Unfortunatly, we dont have such skills.

What I wander is why the embeded manager part (the file manager) could not be used ?

And also, maybe this application could be 'frontend-ised'  ?
Logged

Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
sottwell
Documentation Team
*
Posts: 8,170



WWW
« Reply #7 on: Aug 28, 2008, 02:59 AM »

It just uses standard HTML file upload. Not good for big files.
Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
davidm
Marketing & Design Team
*
Posts: 6,733


The best way to predict the future is to invent it


WWW
« Reply #8 on: Aug 28, 2008, 03:40 AM »

Anyway, uploading such big files is better suited with FTP, that's not a question of Typo3 or MODx / Frontend or Backend, as Susan said not the right tool for the job no matter what kind of development is involved it won't work for such big files.

My experience is that it's foolish to attempt anything over 32Mb.

If you're looking for a standalone app to upload files efficiently, give a look at Relay (uses PERL) but same answer won't handle bigger files as efficiently as FTP. I have trouble believing that graphist or Press people can't use a FTP client Tongue
Logged

.: david-molliere.net : Pour un web libre, moderne et ouvert! :: Forums modxcms.fr : Participez à l'élaboration du site MODx francophone ! :.
! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : nodeo.net | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
sottwell
Documentation Team
*
Posts: 8,170



WWW
« Reply #9 on: Aug 28, 2008, 05:09 AM »

I've started development on a simple FTP client a couple of times, but ran into too many problems with various hosts not having FTP in their PHP, or differences in the libraries of those PHP hosts that did have it.

If I were going to get involved with uploading and otherwise manipulating large files, I'd go with some perl script or another. There are actually several PHP file upload scripts that use perl as their back-end. But even so, there can be issues with Apache configurations for file upload limits. So it's really far better to use a dedicated FTP client. Actually, FireFox has an FTP client plugin that is said to work quite well.
Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
Lammikko
Full Member
***
Posts: 157



WWW
« Reply #10 on: Aug 28, 2008, 07:47 AM »

Maybe you could integrate "Big File Send Service" to your existing MODx site. For example sendspace has an API. It's free to try/use, there is ads. Premium service without ads is quite affordable too.

I offered this once as an alternative to implement big file sends and made a test case based on example files on API pages. It worked very nice without any problems though the client eventually chose the simplest way (direct FTP uploads/downloads).
Logged

elz64
Sr. Member
****
Posts: 352



WWW
« Reply #11 on: Aug 28, 2008, 11:05 AM »

Thank you all !

I'm affraid I'll have some difficulties to convince my partner who is actually the boss.

He says he already did some very big files manipulatins throught the DAM and other T3 extension so ..what can I say ?

David : Merci pour la piste Relay, peut-on en parler en mp ?


Logged

Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
davidm
Marketing & Design Team
*
Posts: 6,733


The best way to predict the future is to invent it


WWW
« Reply #12 on: Aug 28, 2008, 11:34 AM »

Well, it all depends of the environnement, maybe the Typo3 install was used as an intranet (or VPN or whatever) which is a very different setup than internet access (bandwith is much faster) but otherwise I wouldn't believe it. Or else Typo3 uses a utility to split big files into rars and decompress like newsgroup do Huh

Anyway, about Relay I have no real world experience about it, I don't know that I would provide any valuable input here elz64...
Logged

.: david-molliere.net : Pour un web libre, moderne et ouvert! :: Forums modxcms.fr : Participez à l'élaboration du site MODx francophone ! :.
! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : nodeo.net | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
elz64
Sr. Member
****
Posts: 352



WWW
« Reply #13 on: Aug 28, 2008, 12:35 PM »

Looks like some have made such thing in T3. I suspect this one :
 http://www.airware.de/site/extensions/frontend-filemanager/?L=1
will meet the limits you all talk about here.

But, this one : http://typo3.org/documentation/document-library/extension-manuals/t3extplorer/0.0.2/view/1/1/

is a port of this : http://extplorer.sourceforge.net/

Looks like using ftp.
May be some dev guru could give me an idea of the amount of work to embed it in MODx ?

Thank again.
Logged

Schtroumpf Grognon - Grouchy Smurf
---------------------------------
Faites pas attention.. - Don't pay attention
davidm
Marketing & Design Team
*
Posts: 6,733


The best way to predict the future is to invent it


WWW
« Reply #14 on: Aug 28, 2008, 04:46 PM »

Since MODx Revolution's default manager is based on extJS, the js framework used for extplorer it should be easier to port to Revolution.
I even wonder what are the differences between extplorer and Revolution's file manager... it looks just like it...

Yet it doesn't mention any special ability to upload large / very large files...
Logged

.: david-molliere.net : Pour un web libre, moderne et ouvert! :: Forums modxcms.fr : Participez à l'élaboration du site MODx francophone ! :.
! Nouveau !  En live, ne manquez pas les news de modxcms.fr sur Twitter   ! Nouveau !

MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.

Config : Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)

Réalisations sous MODx : nodeo.net | pargade-notaires.fr | soleil.info | gican.asso.fr | michelez-notaires.com | amadom.gerondicap.com | jocelyne-violet.net
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!