FTP Takeover (?) - Upload Folder & its contents

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
metti
Posts: 81
Joined: Tue 28. Nov 2006, 07:34
Location: Merseburg
Contact:

Post by metti »

Being lazy is nothing bad it makes inventive :D

It does not take much time to change uploadFX so that it uploads to a folder on the server WITHOUT renaming the files. Then you would have your access to it in backend.
I could do this in the next days.

Another idea is to include a filemanager into the backend with an i-frame (It would also be possible to give a username and password to it).

Bye
#GeorgeWBush { position:absolute; bottom:-6ft; }
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

jsw_nz wrote:...Everything worked except the creating of new 'virtual (phpwcms) directories...
This exactly will be [one of] the greatest problems I was mentioning above!!!
database trigger....

BECAUSE!!! OF THE MISTAKES!!! which ARE!!! already obvious RIGHT NOW with the "file manager"!!!
jsw_nz wrote:...To return to the discussion
as Jensensen has suggested

PS: need just decompressing of uploaded archives to dir

seems to make sense - and for me -...
and for me, TOO! NO MODULE!!! DON'T BOTHER!!! TO MUUUUCH WORK!!!!



btw: as far as i could read in this forum OG is about to renew file manager functions!!!??? afterwards [after (your) work] your mod DO NOT work anymore with the newest final stable release....

well, [only] one argument pro --> module approach:
I remember 'nekket' who had the same problems (like jsw_nz, somehow), during updating the complete phpwcms installation, when there were hundreds of image files to be filed INTO the file manager with certain directories...

but this is/will be an exception --> special case!

I PREFER STANDALONE --> NO MOD!!!
Think about...

greetz
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

metti wrote:@jensensen: Thats strange. Never heard about this. Do you have a link where i could find more infos about this?
http://www.phpwcms.de/forum/viewtopic.p ... dateiliste
http://www.phpwcms.de/forum/viewtopic.php?t=16169
http://www.phpwcms.de/forum/viewtopic.php?p=95427#95427

greetz
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

metti wrote:...But how i said the mod changes nothing to the files themself ...
guess YOUR mod / solution will work fine!!!

but keep installation environment (phpwcms) in mind..... :wink:
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

on the other hand, if there are php-decompresser-scripts available [which I haven't found yet], I should use google and you should focus on your mod development...

:wink:

greetz
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

Hi Metti

Was unable to get the unzip mod to work inside 135_dec_05

main.php seems to use files as a parameter
do=files&p=68
which redirects to file manager....hmmm

when i changed to modules
do=modules&p=68

no upload occurred

I set the directory as:

Code: Select all

/* absolute path is needed */
  $extract_dir_abs = PHPWCMS_ROOT."/wcms_zoomify";
  
  /* relative path with slash "/"  at the end*/
  $extract_dir_rel = "wcms_zoomify/";
  
  /* relative path with slash "/" at the end*/
  $target_dir = "wcms_zoomify/";
/*----------------------------------------------------------------------*/

Thinking a couple of settings need updating

do I need a php module/extension (zip-zlib)? set to on???
UPDATE: both zip and zlib enabled....

I got no error message from unzip library in inc_ext ... hmmm

ALSO:
It does not take much time to change uploadFX so that it uploads to a folder on the server WITHOUT renaming the files. Then you would have your access to it in backend. I could do this in the next days.
sounds good to me
- thanks for the possiblity
- suggestion is to try it under 135_dev
- latest

all the best
! :)

UPDATE:
between upLoadFX and unzip modules
- thinking that there may be a useful solution
- like a 'swiss army knife' approach for directory & file management
- I think wcms needs this

btw - there is a free version of zoomify available at:
http://www.zoomify.com
would be nice to even have a module wrapped around this - just dreaming...
cheers
User avatar
metti
Posts: 81
Joined: Tue 28. Nov 2006, 07:34
Location: Merseburg
Contact:

Post by metti »

I will have a look to the upload and unzip functions.

Normaly the pcl-lib should extract without any php-module installed on the server.

I'll give a try to make unziping working (i guess rar is not supportet and won't be).

Bye
#GeorgeWBush { position:absolute; bottom:-6ft; }
User avatar
metti
Posts: 81
Joined: Tue 28. Nov 2006, 07:34
Location: Merseburg
Contact:

Re: FTP Takeover (?) - Upload Folder & its contents

Post by metti »

Heyho!
I was surprised the forum suddenly looks so different. Hope i'll get used to it :shock:

I head not that much time between the years but i worked a "little" bit on uploadfx and published the work here: http://www.netzelf.de/downloads.phtml

This version has following "features":
  • Customizable path-settings in an own config (This will be needed for a later standalone-version).
    Javauploader (newest release of Postlet)
    An explorer (With that you can explore directories on server more or less easyly): PcsExplorer
    It is written as Plugin, so that you can easyly (un-)install it.
Installation is easy: Just extract the .zip to your module-directory in your phpwcms-installation (include/inc_module).
(Note that the plugin-installion only work in newer releases - don't know exactly since which).

I would thank you jensensen and jsw_nz and of coure any other reading this, if you would test the release even if it has not yet the ability to unzip files on server.

Unziping is the next step. (Please excuse, that i wrote it as module and not yet standalone, but working in phpwcms-environment is a bit easyer for me - don't ask why :roll: )

I wish you a happy new year,
Bye
User avatar
metti
Posts: 81
Joined: Tue 28. Nov 2006, 07:34
Location: Merseburg
Contact:

Re: FTP Takeover (?) - Upload Folder & its contents

Post by metti »

Hrm. I finished my work on UploadFX for two reasons:
1. It works for me (Will release it in the next days)
2. It does not make sense to write a module for uploading and extracting, if there is a browserbased ftp-client out there. (net2ftp)
So long,
Metti
#GeorgeWBush { position:absolute; bottom:-6ft; }
Post Reply