[dev] upload via html?

2013-05-13 Thread Thuban
Hi suckless users, I was wondering what tool or method you would use to purpose simple file upload on your server (via an html form as example)? CGI? PHP? Other? Regards, -- ,--. : /` ) Xavier Cartron | `-' \_ signature.asc Description: Digital signature

Re: [dev] upload via html?

2013-05-13 Thread Kai Hendry
On 13 May 2013 17:17, Thuban wrote: > I was wondering what tool or method you would use to purpose simple file > upload on your server (via an html form as example)? CGI? PHP? Other? PHP is the simplest way I've found https://github.com/kaihendry/FTP2.0

Re: [dev] upload via html?

2013-05-13 Thread Christoph Lohmann
Greetings. On Mon, 13 May 2013 18:21:40 +0200 Thuban wrote: > Hi suckless users, > I was wondering what tool or method you would use to purpose simple file > upload on your server (via an html form as example)? CGI? PHP? Other? Don’t support the web, use FTP/SFTP. Sincerely, Christoph Lohmann

Re: [dev] upload via html?

2013-05-13 Thread Calvin Morrison
Ftp sucks On May 13, 2013 12:25 PM, "Christoph Lohmann" <2...@r-36.net> wrote: > Greetings. > > On Mon, 13 May 2013 18:21:40 +0200 Thuban wrote: > > Hi suckless users, > > I was wondering what tool or method you would use to purpose simple file > > upload on your server (via an html form as examp

Re: [dev] upload via html?

2013-05-13 Thread Hugues Moretto-Viry
2013/5/13 Calvin Morrison > Ftp sucks > Could you explain me why FTP sucks? Regards -- H.Mo.

Re: [dev] upload via html?

2013-05-13 Thread Thorsten Glaser
Hugues Moretto-Viry dixit: >Could you explain me why FTP sucks? http://mywiki.wooledge.org/FtpMustDie bye, //mirabilos -- 13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good guy. But he's always right! In every fsckin' situation, he's right. Even with his deeply perverted ta

Re: [dev] upload via html?

2013-05-13 Thread Thuban
I currently use sftp for this. But it's not easy to use for browser-addicted-humans... It's difficult to find something simple and "userfriendly". Thanks for your first answers. Regards, -- ,--. : /` ) Xavier Cartron | `-' \_ signature.asc Description: Digital signature

Re: [dev] upload via html?

2013-05-13 Thread v4hn
On Mon, May 13, 2013 at 10:38:32PM +0200, Thuban wrote: > But it's not easy to use for browser-addicted-humans... These people are the reason we /are/ in this mess called "web". If they can't use proper protocols for different tasks but just their crappy bloated browser.. Fine by me! Disregarded u

Re: [dev] upload via html?

2013-05-13 Thread hiro
how can you chadbands use a file transfer protocol without XML?!

Re: [dev] upload via html?

2013-05-13 Thread Sam Watkins
HTTP PUT is a reasonable way to do it, but browsers don't support it well. Meanwhile, HTTP POST multipart/form-data with CGI is least worst. I don't like PHP, it is fully insane and has a long history of poor security. HTTP PUT with ranges would be useful, could mount filesystems over HTTP. Sam

Re: [dev] upload via html?

2013-05-14 Thread random832
On Mon, May 13, 2013, at 23:20, Sam Watkins wrote: > HTTP PUT with ranges would be useful, could mount filesystems over HTTP. There's no standard HTTP directory listing.

Re: [dev] upload via html?

2013-05-14 Thread Martti Kühne
On Tue, May 14, 2013 at 2:44 PM, wrote: > On Mon, May 13, 2013, at 23:20, Sam Watkins wrote: >> HTTP PUT with ranges would be useful, could mount filesystems over HTTP. > > There's no standard HTTP directory listing. > How is lack of a standard a problem in that concern? The topic was about upl

Re: [dev] upload via html?

2013-05-14 Thread Christoph Lohmann
Greetings. On Tue, 14 May 2013 17:12:18 +0200 Martti Kühne wrote: > How is lack of a standard a problem in that concern? The topic was > about uploads, and even my cfw cgi server [0] supports uploads and you > could just go and implement a sufficiently featured directory listing > that fits your

Re: [dev] upload via html?

2013-05-14 Thread Anselm R Garbe
On 14 May 2013 17:12, Christoph Lohmann <2...@r-36.net> wrote: > On Tue, 14 May 2013 17:12:18 +0200 Martti Kühne wrote: >> How is lack of a standard a problem in that concern? The topic was >> about uploads, and even my cfw cgi server [0] supports uploads and you >> could just go and implement a s

Re: [dev] upload via html?

2013-05-14 Thread Kai Hendry
On 13 May 2013 23:11, hiro <23h...@gmail.com> wrote: > how can you chadbands use a file transfer protocol without XML?! XML is for the file listing. :-) https://s3-ap-southeast-1.amazonaws.com/krkl

Re: [dev] upload via html?

2013-05-14 Thread Christoph Lohmann
Greetings. On Tue, 14 May 2013 17:31:26 +0200 Kai Hendry wrote: > On 13 May 2013 23:11, hiro <23h...@gmail.com> wrote: > > how can you chadbands use a file transfer protocol without XML?! > > XML is for the file listing. :-) https://s3-ap-southeast-1.amazonaws.com/krkl That link is a crime

Re: [dev] upload via html?

2013-05-14 Thread Martti Kühne
His highness, preach us about the goodness and wisdom of FTP instead, the protocol where the server waits for the client to open a reverse session... Usually, free time doesn't permit a self-coded solution, here I sit using ssh and sshfs for virtually everything. cheers! mar77i

Re: [dev] upload via html?

2013-05-14 Thread hiro
umount -f /mnt/sshfs umount -f /mnt/sshfs umount -f /mnt/sshfs umount -f /mnt/sshfs umount -f /mnt/sshfs umount -f /mnt/sshfs

Re: [dev] upload via html?

2013-05-14 Thread Noah Birnel
On Tue, May 14, 2013 at 05:31:26PM +0200, Christoph Lohmann wrote: > > XML is for the file listing. :-) > > https://s3-ap-southeast-1.amazonaws.com/krkl > > That link is a crime against humanity and progress. It???s like giving > bibles to children. No, the style is not as good.

Re: [dev] upload via html?

2013-05-14 Thread random832
On Tue, May 14, 2013, at 8:50, Martti Kühne wrote: > On Tue, May 14, 2013 at 2:44 PM, wrote: > > On Mon, May 13, 2013, at 23:20, Sam Watkins wrote: > >> HTTP PUT with ranges would be useful, could mount filesystems over HTTP. > > > > There's no standard HTTP directory listing. > > How is lack of

Re: [dev] upload via html?

2013-05-25 Thread Nicolas Braud-Santoni
On 14/05/2013 17:12, Christoph Lohmann wrote: > Just use fucking FTP. It has sessions, encryption, (somewhat) > standardized directory listenings, separate file transfer, progress > bars (client feature) and everything you need to add yet another hack > to the web. As stated, having the server reve

Re: [dev] upload via html?

2013-05-25 Thread Thorsten Glaser
Nicolas Braud-Santoni dixit: >Well, SFTP requires you to create a user account. (I'm aware that it may >not be one with which you can SSH in). >Some people might not want this. If someone does not have a user account on your site, they have no business uploading large files either. If you’re on

Re: [dev] upload via html?

2013-05-26 Thread Random832
On 05/25/2013 07:29 PM, Nicolas Braud-Santoni wrote: Well, SFTP requires you to create a user account. (I'm aware that it may not be one with which you can SSH in). Some people might not want this. Everything runs as a user. You could use www-data, whatever anonymous FTP uses, or simply "nobody"

Re: [dev] upload via html?

2013-05-27 Thread Stephen Paul Weber
Somebody signing messages as Nicolas Braud-Santoni wrote: Well, SFTP requires you to create a user account. (I'm aware that it may not be one with which you can SSH in). The OpenSSH implementation more-or-less requires that (though it's really not a big deal), but the protocol does not require