Re: input file form tag

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Tim Slattery (Slattery_T_at_bls.gov)
Date: 02/10/05


Date: Thu, 10 Feb 2005 12:28:14 -0500

richardtinkler@yahoo.com (Richard) wrote:

>I have a client who needs to upload the same 7 files twice a week to
>his web server. FTP is unfortunately not an option as the client is a
>novice, so I have created an admin interface to his website so he can
>easily upload the necessary files.

He can't learn to use WS-FTP LE or any of the free FTP clients? These
things are no harder to use than a Web file upload page.

>However, the client is finding the process of locating the same 7
>files twice a week too laborious and wants the admin page to locate
>the files automatically.
>
>I naively told him 'no problem' as I was under the impression I could
>set the input file tag's value using asp :-( I even tried using an
>input text tag with a multipart form, but no luck.....

Impossible. <input type="file"...> is read only. If you could write a
assign a value to it with script then any random web site could upload
ANY file from your computer without your knowledge.

An FTP client could be configured to open to the correct directory.

-- 
Tim Slattery
MS MVP(DTS)
Slattery_T@bls.gov


Relevant Pages

  • Re: Secure FTP hosting
    ... A number of FTP hosting ... > SSL encryption which only protects files IN TRANSIT; ... using an encrypted FTP client is the way to go; ... > upload folder to a different folder or delete the files from the local PC ...
    (sci.med.transcription)
  • Re: How can clients upload pix & captions?
    ... FTP will break the FP SE (unless you create a subweb just for the FTP content ... Have them get FP or create a custom server side ASP or PHP app as an edit interface for them ... | the upload just that page using an FTP program. ... | There has GOT to be a simple way for the client to just upload the specific ...
    (microsoft.public.frontpage.client)
  • Re: Ftp upload does not work
    ... How's your client configured - web proxy, ... you'll never able to upload via ftp. ... then clear the 'Read only' configuration option. ...
    (microsoft.public.isa)
  • re: File Access Problem
    ... the client could upload the ... Microsoft FrontPage MVP ... Frontpage and FTP, so they ...
    (microsoft.public.frontpage.client)
  • Re: input file form tag
    ... > kind of client side installation (ActiveX Control, Java applet or just a VBS ... >> his web server. ... so I have created an admin interface to his website so he can ... >> easily upload the necessary files. ...
    (microsoft.public.inetserver.asp.general)