Re: file uploading - last modified date



Janwillem Borleffs wrote:
> Ed Koren wrote:
>
>>I am writing a small application to handle file uploads for an
>> intranet. The application prompts the user if the uploaded file
>>already exists on the server, however, I would like to give them the
>>option to
>>overwrite files without prompt, if the uploaded files are newer than
>>those on the server.
>
>
> Uploaded files are always newer then files already existing on the server.
> When I upload a file at 13:00 and upload the same file at 13:01, the latter
> version will be newer then the formal one and alter the last modified date
> accordingly. This way, the prompt will never be shown again...



Yes, that's the logical scenario I was thinking of ;-) I have the luxury knowing that javascript is always enabled, so perhaps I will be able to find a javascript solution, as obviously it's a client side issue. Perhaps dynamically create hidden form fields containing last mod date for each file selection.

Thanks for the confirmation.

Ed
--
Koren Web Design Services
www.korenwebdesign.com
(304) 453 2145

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.



Relevant Pages

  • Publisher 2002 Upload
    ... I am trying to upload my website and can't seem to get it ... to load anything except the index page. ... all of the prompts in the "help" section but nothing is ...
    (microsoft.public.publisher.webdesign)
  • Re: cannot ftp or upload
    ... >of my FTP or upload attempts. ... Perhaps my firewall needs to be configured so ... >that it prompts me. ...
    (alt.computer.security)
  • Re: cannot ftp or upload
    ... >of my FTP or upload attempts. ... Perhaps my firewall needs to be configured so ... >that it prompts me. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: File Upload - Security Issues
    ... You want to upload a file for what reason and ... these viruses have less chance of being able to execute (even if succeeded ... :> file and what pitfalls you see re: security might be helpful on this ... :>: files to an IIS server that doesn't have MS Office actually installed? ...
    (microsoft.public.scripting.vbscript)
  • Re: File Upload - Security Issues
    ... uploaded and the user could upload any or all of these in theory. ... There is no one product that can give you 100% security, ... > Code doesn't execute in local memory space unless remote user has rights ... > You don't have MS Office installed on the server. ...
    (microsoft.public.scripting.vbscript)