Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old September 22nd, 2000, 05:49 PM
Chong_Sun Chong_Sun is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Singapore
Posts: 21 Chong_Sun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Chong_Sun
How do I like allow people to upload something.

Or get the location of the file to upload. Example, I got a form with textbox and a button browse. Upon clicking browse, I will be able to access the client's hdd, the client selects a clip and when done, I can upload it when he click Done.

I would like to know
1)How do am I able to access the client's HDD
2)After getting the path name, how do I upload the file?

[This message has been edited by Chong_Sun (edited September 22, 2000).]

Reply With Quote
  #2  
Old September 24th, 2000, 01:49 AM
dwarf dwarf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 300 dwarf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
You cannot access the users hard drive. What you can do, if you want them to upload files, is to have something like this in your HTML document:

<form action="path_to_upload_script.cgi" method="post" enctype="multipart/form-data">
<input type="file" name="upload">
</form>


This will make a form control which will enable users to select a file on their machine and upload it to your server.

HTH

Reply With Quote
  #3  
Old September 24th, 2000, 02:13 PM
Chong_Sun Chong_Sun is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Singapore
Posts: 21 Chong_Sun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Chong_Sun
Thanks dwarf. So this method allows me a select a file on the HDD.

After selecting the path to the file on the HDD, how do I upload that file?

Using `mv $path_of_file_on_HDD $desired_directory`?

Reply With Quote
  #4  
Old September 24th, 2000, 09:09 PM
JonLed JonLed is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Indiana
Posts: 614 JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 49 m 49 sec
Reputation Power: 9
No, I'm afraid it's quite a bit more than that.

Reply With Quote
  #5  
Old September 25th, 2000, 12:23 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Stop guessing any further and start here -> http://www.scriptsearch.com/pages/l9c3c20.shtml as they are freely available, so why not try them out your own? You didn't even need to post such message here in the first place.

Reply With Quote
  #6  
Old September 25th, 2000, 07:28 AM
JSchoof JSchoof is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 82 JSchoof User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 46 sec
Reputation Power: 8

With all due respect freebsd, this is a discussion forum, so any question on topic is a valid one.

In addition, this forum gets 0-5 new subjects a day, so I dont think that it is over burdened.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > How to access client's HDD?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway