HTTP UPLOADING

POLYRADICION

Member
Jan 6, 2003
59
0
0
Hi,

I'm trying to make a form, so that i can upload certain files onto my server. The place where I am trying to upload it from blocks all FTP, i know there is a way to make it upload through HTTP. I have the form ready, I just don't know how to make it so that "Submit" button transfers the file(s) to me through HTTP. This is very urgent...thank you
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Depends.

You could probably just use a big POST form that posts the file's contents to the server.
 

DeviousTrap

Diamond Member
Jul 19, 2002
4,841
0
71
Originally posted by: Nothinman
Depends. You could probably just use a big POST form that posts the file's contents to the server.

I am also interested but in my needs they files would not be txt that could be extracted but CAD files. Those can not be extracted.
 

GagHalfrunt

Lifer
Apr 19, 2001
25,284
1,997
126
You can't do it with a simple FORM. The form is just the interface, you need some sort of scripting language to do the actual work. Perl, PHP or ASP would be the most common, what do you have available?
 

DeviousTrap

Diamond Member
Jul 19, 2002
4,841
0
71
I don't know about POLYRADICION but my server is able to accomidate any language I need. I am using a friends server running off a T3 line so he would be able to install anything I might need.
 

Zugzwang152

Lifer
Oct 30, 2001
12,134
1
0
Originally posted by: computer89
I don't know about POLYRADICION but my server is able to accomidate any language I need. I am using a friends server running off a T3 line so he would be able to install anything I might need.

what you need is to put down some code. even javascript will be able to do it...i think. :eek:
 

GagHalfrunt

Lifer
Apr 19, 2001
25,284
1,997
126
Originally posted by: Zugzwang152
Originally posted by: computer89
I don't know about POLYRADICION but my server is able to accomidate any language I need. I am using a friends server running off a T3 line so he would be able to install anything I might need.

what you need is to put down some code. even javascript will be able to do it...i think. :eek:


No, you need some sort of server side language, JS won't cut it. Besides, even if JS would do it, it's best not to do anything in Javascript if any other language can handle it. JS support it too flaky browser-to-browser and anything that can be turned off on the users machine will be unreliable at best. When in doubt, server-side is the way to go since you can more easily control how it works. PHP would be the easiest if you have it available or can have it installed. Try here for a really simple tutorial. More advanced scripts will have better file validation for format, maximum allowable size, whatever.