rejetto forum
May 22, 2012, 04:02:19 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4]
  Print  
Author Topic: multiupload  (Read 12464 times)
0 Members and 2 Guests are viewing this topic.
Rafi
Insane poster
*****
Offline Offline

Posts: 452


View Profile
« Reply #45 on: April 15, 2004, 04:36:19 PM »

Quote from: "rejetto"
why should hfs unzip in place of me?
I agree with you, rejetto, but I think I understand the logic of the suggestion.

The answer - is "me"=the client user (uploader). Say he wants to send you a file x.txt of  100MB. The most efficiant way is to zip it (to 5M...) send it, and unzip it. He can do the zip, but cannot do the unzip, and do not want the server user to bother.

For example - this is a good procedure if you (the client) are hosting a site on the HFS server side. You take the whole site, zip the tree and send it over + unzip,  and walla - you get a remote site...

Well, as I said- V 2.2 is good enough for that ... Wink
Logged

Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #46 on: April 15, 2004, 04:38:38 PM »

How are you going to send folders which contains for example 40 files in it? Because browsers (at least IE) could only browse and not upload folders, it will take really long for a user to select 40 files in different upload browse fields. At least I couldn't figure out a way to select a folder and upload it.

And to make this simpler and faster, unzipping a zip file will be convenient enough for users to upload 40 files at once. Because a zip file is only one file. And after HFS decompresses the file, the 40 files appears on HFS just as it were uploaded by different upload fields.

Do you get my point?

Quote
For example - this is a good procedure if you (the client) are hosting a site on the HFS server side. You take the whole site, zip the tree and send it over + unzip, and walla - you get a remote site...
EXACTLY! Smiley Same for other files as well... not just websites.
Logged
Rafi
Insane poster
*****
Offline Offline

Posts: 452


View Profile
« Reply #47 on: April 15, 2004, 04:44:11 PM »

2  for the price of 1 ... Cheesy
Logged

Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #48 on: April 15, 2004, 04:45:39 PM »

Thank you Rafi for expressing my point...
Maybe it's just my poor English  :?
Logged
Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #49 on: April 15, 2004, 04:52:04 PM »

Quote from: "Rafi"
I'm not sure, but I think  that FTP may be incorporating internally a compression algorithm, per RFC 468.
I have never heard of such thing. Hmm...  :?

Quote from: "Rafi"
V 2.0 - support for single file upload. this will test the basic engine, and the security. Also - resuming uploads mechanism.

V 2.1 - add support for multiple files. This will test the final GUI, multiple file download, directory/tree or any combinations, and progress report/graph (client and server sides)

1. Would the resume mechanism be based on FTP?
2. I don't think multiple files upload will need stages because for multiple files to be uploaded, HFS will only have to store both POST data section into files.
3. What's multiple file download, directory/tree or any combinations?
4. Is progress report possible under HTTP without Java?
Logged
Rafi
Insane poster
*****
Offline Offline

Posts: 452


View Profile
« Reply #50 on: April 16, 2004, 12:38:58 AM »

Quote
1. Would the resume mechanism be based on FTP?
the Q is for rejetto...
Quote
3. What's multiple file download, directory/tree or any combinations?
it's my mistake, I meant upload. but when you thing of it , just reverse sides, and it's for downloads too...
Quote
4. Is progress report possible under HTTP without Java?
And what if java IS needed?
Yes, look here for a live demo (#3)
http://www.aspupload.com/livedemo.html

by the way - lot's of nice stuff here : http://www.aspupload.com


BTW - maybe you have to think again , rejetto , on the FTP approach. It might reduce the attraction of the downloader since that if you use FTP, you might just want to use it for download as well. I know I said before "why invent the wheel" ...   :?
Logged

rejetto forum
« Reply #50 on: April 16, 2004, 12:38:58 AM »

Do you like this software? Consider even $2
 Logged
Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #51 on: April 16, 2004, 01:57:15 AM »

For what I have known now, the HTTP protocol does not support resuming of files that are being uploaded. (However, it should be possible via a Java applet) Would be so grateful if someone were to be nice enough to write an open source Java applet for rejetto so that HFS uploading will support resuming. Smiley

In addition, I don't think progress reports are possible via HTTP because HFS cannot send a reply back before the POST command is completed. (Plus, HFS doesn't know the size of the file until the file has been uploaded or does the browser specify the size in the Boundary header?)

I agree with Rafi on the FTP part. Because HFS is designed as a HTTP server, adding a FTP server into it just makes users just the FTP part of the program instead. So what's the point of making a HTTP server if users are not using it? Maybe FTP File Server?  Wink
The unzip upload capability will currently solve the issue of "multiple files" being uploaded.
Logged
Rafi
Insane poster
*****
Offline Offline

Posts: 452


View Profile
« Reply #52 on: April 16, 2004, 02:20:26 AM »

Just two more comments -
1. upload will eventually need to be accompanied with a remote files manager, so the current HFS web-page design should  be modified for it(see my screenshot above) .
2. I think we are going the worng way about the spec here. rejetto can post a short spec. of the main features he is proposing/going  to put in ver 2. Others (like us...) can comment on that. That is if you like to ... rejetto... Cheesy  you can also surprise us all with  a prototype...  Wink
Logged

Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #53 on: April 16, 2004, 02:29:04 AM »

Quote from: "Rafi"
Just two more comments -
1. upload will eventually need to be accompanied with a remote files manager, so the current HFS web-page design should  be modified for it(see my screenshot above) .
2. I think we are going the worng way about the spec here. rejjeto can post a short spec. of the main features he is proposing/going  to put in ver 2. Others (like us...) can comment on that. That is if you like to ... rejjeto... Cheesy  you can also surprise us all with  a prototype...  Wink
1. Yes, I agree. But who is going to make that File Manager? And in what assembly language? rejetto have stated that he will need an open source Java applet in order for resuming of uploads to work. Although I am not sure on others features. (Such as progress reports etc.)
2. Good Idea!
3. Typo in "rejjeto", should be "rejetto".  :lol:
Logged
Rafi
Insane poster
*****
Offline Offline

Posts: 452


View Profile
« Reply #54 on: April 16, 2004, 02:42:52 AM »

Quote from: "Mr. Anon"
3. Typo in "rejjeto", should be "rejetto".  :lol:
Thanks, sorry about that  :#)
it will be fixed in V2 RC127 ... Wink
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11824


View Profile
« Reply #55 on: April 16, 2004, 06:57:08 AM »

1. HTTP may support file resuming on upload, via headers, but actually no client support it. useless.
2. Yes, i can't let client-side user know about progress on upload.
3. want to use HFS for web hosting? you fools Smiley
   anyway, i think the unzip feature should be done by an external app, not by HFS, as already said, so you can use RAR as well.
4. the activex solution is to be used only on IE. and i don't use IE Smiley. a java applet would be much better.
5. having access to files with multiple protocols is useful, IMO. the fact a user always uses FTP does not involve what other users do.
Logged
Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #56 on: April 16, 2004, 12:48:13 PM »

1. Yes, HTTP could resume if the client sends the Content-Range header in the POST command, but no browser does that because no browser knows the uploaded size of the file.
3. Ahem... In the other thread you said HFS will be meant to by a webserver. So what if a user wants to upload a folder where it has images and webpages and describes the content in HFS?
4. I agree. Since Java is cross-flatform.
5. Since you choose to implement a FTP server in HFS, what commands would it support? Would it be customizable / "disable"able? Would HFS users be able to choose the PASV range?
Logged
TGeRi
Tireless poster
****
Offline Offline

Posts: 113


View Profile
« Reply #57 on: April 16, 2004, 01:40:21 PM »

Another suggestion for unzip feature.

I think rejetto-s idea that there will be 3rd party programs
to do these things is good.

My suggestzion is that u don't have to chooose "extract me"
on upload but after uplading a file there would be a way to
unzip zipped files on the server (if u are the user who uploaded it)
A button or something.

I hope u understand me.

Sorry for my baad english.

TGeRi
Logged
Mr. Anon
Tireless poster
****
Offline Offline

Posts: 270



View Profile
« Reply #58 on: April 16, 2004, 01:48:51 PM »

Quote from: "TGeRi"
(if u are the user who uploaded it)
Then should a new permission system be made?
IMO, it requires more work than just the classic "extract me" method.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11824


View Profile
« Reply #59 on: April 16, 2004, 06:31:14 PM »

hmm, i was thinking about a "call script on upload".
to fulfil tgeri's idea we need a "call script on request" (request = link).
hmmm....
Logged
Pages: 1 2 3 [4]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page April 30, 2012, 10:16:09 PM