473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Any ready made 'Upload' tools?

Hi, I've scoured sites like Bravenet but cannot find what I want, which is a
ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will not
see my FTP password or have access to it.

Can anyone recommend a free service that provides a tool like this I can
just 'drop' into my site?

Thanks.
Jul 20 '05 #1
16 4557
Mark Hamptons wrote:
Hi, I've scoured sites like Bravenet but cannot find what I want, which is a
ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will not
see my FTP password or have access to it.


http://www.hotscripts.com/PHP/Script...ems/index.html
Jul 20 '05 #2
Ivo
"Mark Hamptons" wrote
Hi, I've scoured sites like Bravenet but cannot find what I want, which is a ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will not see my FTP password or have access to it.

Can anyone recommend a free service that provides a tool like this I can
just 'drop' into my site?


<form method="post" action="somescript" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="7340032">
<input type="file" name="uploadme">
<input type="submit">
</form>

Five lines, and the only bit you need to change is "somescript" which should
point to the script that receives the form. What this script should look
like is a question for an asp of php newsgroup, or whatever serverside
language is available to you.
HTH
Ivo
Jul 20 '05 #3
Ivo wrote:
<form method="post" action="somescript" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="7340032">
<input type="file" name="uploadme">
<input type="submit">
</form>


What's with the hidden MAX_FILE_SIZE field? If your script is supposed
to check the file size to make sure it's under that, you need to rethink
your security: anyone who knows what they're doing can easily change
that. Your script needs to have the maximum file size hard-coded.
Jul 20 '05 #4
"Mark Hamptons" asked on an inappropriate group:
Hi, I've scoured sites like Bravenet but cannot find what I want,
which is a ready to go tool that will let me place an Upload
button on my web site.
[...]

and "Mark Hamptons" delivered the inevitable punishment:
<form method="post" action="somescript" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="7340032">


You really haven't grasped the concept of web security, have you?

The HTML part is trivial. The significant part is the server-side
processing. Perl users have it made with CGI.pm (as long as they RTFM
about max size, and follow the instructions). So I'd say asking this
question on the HTML group(s) is a big mistake. Read the web security
FAQ ( http://www.w3.org/Security/Faq/www-security-faq.html , of
course) and take appropriate measures.
Jul 20 '05 #5
Ivo
"Leif K-Brooks" wrote
Ivo wrote:
<form method="post" action="somescript" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="7340032">
<input type="file" name="uploadme">
<input type="submit">
</form>


What's with the hidden MAX_FILE_SIZE field? If your script is supposed
to check the file size to make sure it's under that, you need to rethink
your security: anyone who knows what they're doing can easily change
that. Your script needs to have the maximum file size hard-coded.


<quote cite="http://www.php.net/manual/en/features.file-upload.php">

The MAX_FILE_SIZE hidden field (measured in bytes) must precede the file
input field, and its value is the maximum filesize accepted. (...) The
MAX_FILE_SIZE is advisory to the browser, although PHP also checks it.
Changing this on the browser size is quite easy, so you can never rely on
files with a greater size being blocked by this feature. The PHP-settings
for maximum-size, however, cannot be fooled. You should add the
MAX_FILE_SIZE form variable anyway as it saves users the trouble of waiting
for a big file being transferred only to find that it was too big and the
transfer actually failed.

</quote>

:-]
Jul 20 '05 #6
Ivo
"Alan J. Flavell" wrote
Ivo wrote

<input type="hidden" name="MAX_FILE_SIZE" value="7340032">


You really haven't grasped the concept of web security, have you?


I refer to my second post in this thread. In my concept security is handled
on the server. But have you grasped the concept of user-friendliness?
Cheers,
Ivo
Jul 20 '05 #7
PW

Do yourself a favour, look up "aspUpload" by Persits software. Its cheap,
and works.
Jul 20 '05 #8
PW wrote:
Do yourself a favour, look up "aspUpload" by Persits software. Its cheap,
and works.

Or use any other environment than ASP.

ASP is the only environment where saving files isn't built in. MS fixed
that in ASP.net.

Perl and PHP have always had that as part of the core function. Perhaps
the core function of ASP is to spend money?

Jeff
Jul 20 '05 #9
In article <Tx*****************@newsread3.news.atl.earthlink. net>,
je**@spamalanadingong.com says...
Do yourself a favour, look up "aspUpload" by Persits software. Its cheap,
and works.

Or use any other environment than ASP.


Which is a good idea, but quite possibly not an option.
--
WebcastMaker
The easiest and most affordable way to create
Web casts, or put presentations on the Web.
www.webentations.com
Jul 20 '05 #10
Jeff Thies wrote:
PW wrote:
Do yourself a favour, look up "aspUpload" by Persits software. Its
cheap,
and works.

Or use any other environment than ASP.

ASP is the only environment where saving files isn't built in. MS fixed
that in ASP.net.

Perl and PHP have always had that as part of the core function. Perhaps
the core function of ASP is to spend money?

Jeff


We use this... excellant little tool.
--
x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
Jul 20 '05 #11
Thanks for this and for all the other replies, however these aren't much
good to me. As explained, I need to upload to an FTP site.

I don't have a server, I just have an HTML editor (FrontPage 2003) and
standard web hosting by my ISP (blueyonder).

What I want is a simple tool on my site that will let users place files in
my FTP whilst masking my password. Anyone?

Thanks.

Mark

"Leif K-Brooks" <eu*****@ecritters.biz> wrote in message
news:2m************@uni-berlin.de...
Mark Hamptons wrote:
Hi, I've scoured sites like Bravenet but cannot find what I want, which is a ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will not see my FTP password or have access to it.


http://www.hotscripts.com/PHP/Script...ems/index.html
Jul 20 '05 #12
Mark Hamptons wrote:
Thanks for this and for all the other replies, however these aren't much
good to me. As explained, I need to upload to an FTP site.

I don't have a server, I just have an HTML editor (FrontPage 2003) and
standard web hosting by my ISP (blueyonder).

What I want is a simple tool on my site that will let users place files in
my FTP whilst masking my password. Anyone?
Can't be done client side (think about it), which is what you've limited
yourself to. You'll need to change webhost and then you'll have options.

Jeff
Thanks.

Mark

"Leif K-Brooks" <eu*****@ecritters.biz> wrote in message
news:2m************@uni-berlin.de...
Mark Hamptons wrote:
Hi, I've scoured sites like Bravenet but cannot find what I want, which
is a
ready to go tool that will let me place an Upload button on my web site.
When clicked this will give the visitor a Browse window to select a file
from their HD and upload it to my FTP site. Obviously the visitor will
not
see my FTP password or have access to it.


http://www.hotscripts.com/PHP/Script...ems/index.html

Jul 20 '05 #13
Mark Hamptons wrote:
What I want is a simple tool on my site that will let users place files in
my FTP whilst masking my password. Anyone?


You *might* be able to find the source code Java applet that can FTP files
and then hard code your login details into it.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./weezer_-_island_in_the_sun_.ogg

Jul 20 '05 #14
Toby Inkster wrote:
You *might* be able to find the source code Java applet that can FTP files
and then hard code your login details into it.


And then someone will use a Java decompiler on it.
Jul 20 '05 #15
Leif K-Brooks wrote:
Toby Inkster wrote:
You *might* be able to find the source code Java applet that can FTP files
and then hard code your login details into it.


And then someone will use a Java decompiler on it.


True, though it's the best I could come up with at short notice.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./dubstar/not_so_manic_now.ogg

Jul 20 '05 #16
As an alternative, are there any services you guys know of that will provide
storage space free of charge (advertising based is fine) and allow anyone to
upload to it via a hyperlink I can put on my site -- kind of like an FTP
with no password?

Thanks for all your help so far :)

"Toby Inkster" <us**********@tobyinkster.co.uk> wrote in message
news:pa****************************@tobyinkster.co .uk...
Leif K-Brooks wrote:
Toby Inkster wrote:
You *might* be able to find the source code Java applet that can FTP files and then hard code your login details into it.


And then someone will use a Java decompiler on it.


True, though it's the best I could come up with at short notice.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./dubstar/not_so_manic_now.ogg

Jul 20 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

26
by: Simon | last post by:
I'm doing a survey. When do you think GNU/Linux will be ready for the average Joe? What obstacles must it overcome first?
8
by: W. de Jonge | last post by:
Who can help me? I want to create a link(href) which opens an .doc or an ..xls directly in MS Word or MS Excell and not in IE so that I don't have to save the document first en open it from...
18
by: Brandon Bray [MSFT] | last post by:
Shortly, the Visual C++ Tools Refresh will be available on the MSDN Visual C++ devcenter. You will need to have installed the Visual Studio 2005 Beta first. <http://msdn.microsoft.com/visualc> I...
7
by: ljuljacka | last post by:
I'm just trying to run a fileupload script from the manual, just to see how it works, and it won't. I've checked if file upload is enabled and it is. Also, the file I'm trying to upload is smaller...
9
by: 8anos | last post by:
Hello, I am new at the community and newbie at programming :) As you may know rapidshare provides a perl script for linux, to upload files at their servers. You can find the original scripts at...
2
by: pietromas | last post by:
In the same way that you no longer need to write your own shopping carts, Id like to not write other common PHP features of websites. Specifically I am looking for an open source user management...
3
by: =?Utf-8?B?QnJhbmRvbg==?= | last post by:
Hi, I have an aspx page that has the "include" code in it which includes another page that displays information. I also have an upload page that allows users to upload a simple html document...
7
by: MDB | last post by:
Anyone have any pointers / links / examples on how to upload files through FTP? I am currently using the built in file upload control however it seems to take a very long time to upload files and...
3
by: premprakashbhati | last post by:
hi, good evening.. i am going to upload an image in a web form .....for that iam using HTML input(file) control and one web control button i.e., Upload_Button() here is the code ...its work fine...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.