rejetto forum

multiupload

Guest · 60 · 40503

0 Members and 1 Guest are viewing this topic.

Offline Gobble

  • Occasional poster
  • *
    • Posts: 55
    • View Profile
I see that you might add this feature in the next version

Is there a way to add a field on the form to upload an entire directory also?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i don't think browsers support such thing


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "rejetto"
i don't think browsers support such thing
Isn't it controllable  by the uploading application ? for example - if the user selects multiple files (from a GUI you give him) or just mark/select a directory of tree, can't  the application "help" in doing all the uploads for him at once?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
uploading application = browser

i tested with simple forms and read the HTML specs, and found no way to get a multi-select for files


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
I'm no expert, but Yahoo-mail does it (you can upload 1-3 attachments in one form - multiple edit boxes) , my forum does it - http://www.fresh.co.il/scripts/upload.php
My 50free web hosting service does it...

I'm sure you can have optional check-boxes near each file/dir ...

But, maybe it is not standard HTML .[/i]


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
the question was
Quote
is there a way to add a field on the form to upload an entire directory also?

we were talking about multi-selections and folder-selections.

to have many fields was already discussed elsewhere and approved, but it is unhandy (you have to open the dialog for every file) and it does not support folder selection anyway.


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "rejetto"
we were talking about multi-selections and folder-selections.
As I suggeted - maybe do not use input fields al all, but some kind of optional checkboxes nere the files/directories names

Edit:
Since one picture is better then 1000 words, here is a sample interface of my web hosting service. It is intended for managing the remote site, and what I mean is use such interface on the local PC, to select multiple files/directories/tree.
This interface looks completely different from what we see in HFs, but if you ignore the bottom edit fields, it is almost the same with few extra checkboxes and control buttons, to give you management capability over the remote site file system (which is a nice feature for V3 of HFS...).

PS: I can email you the html source for this sample page if you like ...



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
but that's for a remote file system.
we were talking about local (client-side) file system.
that system can't work locally. in facts your picture show as it is used only for the server-side, and for the local side you have only several input fields at bottom.


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
you are not reading my attached message-text... just 1 cm above the picture... "edit": etc....  ;) it's an example. why not use/activate this dialog style for selecting uploads from the local PC ... :?:

Edit: clarify


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i read your whole message before replying.
i said "that system can't work locally", meaning that it can't be done. it would be good if it was possible, but it is not.


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
sadly not
Quote
submit files using the file transfer protocol (FTP)


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "rejetto"
sadly not
Quote
submit files using the file transfer protocol (FTP)
Yes I noticed that, but he is talking in this paragraph about an older project... may be not in this one  8O . And, BTW, ftp is not so bad...


Offline Mr. Anon

  • Tireless poster
  • ****
    • Posts: 270
    • View Profile
I have an idea!
Since some Free Web Hosting providers are using it, I just wanted to point it out.
Would it be possible to have HFS decompress a ZIP when a zip file is uploaded? So that way when a user uploads a zip, they have the option of decompressing the contents of the zip to the current folder. That solves the issue of not being able to upload the whole folder onto the current directory.

1. User compresses folder to single zip file.
2. User visits /root.
3. User selects the zip file to upload and check the decompress checkbox so HFS will decompress it to the remote folder. (If the decompress checkbox is not checked, HFS will leave it as a zip file.)

If this "feature" is approved, then there should also be a option for the server admin to disable it. (For those whose want to save CPU.) and also another feature where the server admin could set a maximum size where HFS will only decompress zips under the maximum size limit.


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
I don't like it. Not natural , not standard, requires user preparation.

Ideally - I see the user either selecting files/directories, or dragging them to some pane, and selecting a destination. Then watching the progress. That should be it.

But I see no harm in starting with a single file and debugging the SW engine. Then multiple files version.

Also  - FTP engine is not a "no-no"...  Servers are free, and clients, are embedded inside every Windows/DOS .  No need to invent the wheel!

Also, user's permissions should be available/selectable to either upload/download or both.