Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Scan MP3 files
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Scan MP3 files

 Post Reply Post Reply Page  <12
Author
Gary View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 March 2002
Location: United Kingdom
Status: Offline
Points: 326
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gary Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 10:57am

Usually by using a component such as aspupload. The web page should have a form which includes an <INPUT> of type 'file'. This allows the user to select a file on their pc and upload it to the web server.

The web server itself cannot go to a users pc and pull files - it has to be the user pushing the file to the web server.

just imagine if I had a web site that was able to pull files willy nilly from the site visitors' machines - major security issue !!!

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 12:58pm
But when you press the submit button doesn't it post the contents of the file to the asp page?
Back to Top
MorningZ View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 May 2002
Location: United States
Status: Offline
Points: 1793
Post Options Post Options   Thanks (0) Thanks(0)   Quote MorningZ Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 1:10pm

yes, but at the point the file is at the server, whether its a physical file on the server's Hard Drive or as a stream in memory....

 

 

Contribute to the working anarchy we fondly call the Internet
Back to Top
eagle00789 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 24 March 2003
Location: Netherlands
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote eagle00789 Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 2003 at 6:04pm
and when you have the stream in the memory, then you can do with it what you (or your asp-page) want. even read the ID3 tag
Using forum at Gravenrode and here and here
Back to Top
Bluefrog View Drop Down
Senior Member
Senior Member


Joined: 23 October 2002
Location: Korea, South
Status: Offline
Points: 1701
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bluefrog Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2003 at 9:06am

Real simple.

Get two things happening - upload and MP3 file reading:

1) A file upload to the server (aspupload or whatever)
2) Read the file in the upload component and save it to disk
3) Use the script MorningZ posted to access all the information
4) Do whatever you like from that point

For the upload version, you can use aspupload or Dundas Upload or the SoftArtisans component or whatever you like.

If you like free, go for Dundas. If you think you might need support, go for a commercial component.

Your pages should follow a simple path:

1) Page 1 allows users to upload mp3s
2) Page 2 accepts the upload, saves the file, perhaps does some database work or other file system work and returns a result

Mart, for your question about the component posting... just check the documentation for a component. It will tell you exactly how to handle the file once you receive it on the "post to" page. And yes, when you click submit, the file upload BEGINS.

I hope that helps clarify - looks like there's a bit of confusion in this thread...

Cheers

 

Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.