Re: file uploading - last modified date



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...


JW



.



Relevant Pages

  • Re: Windows 2000 server and Windows server 2003 miscommunication
    ... and I don't get this prompt anymore. ... > We have a Windows 2000 server as a main server in our company. ... > connect to our company's Intranet which resides on Windows 2000 server, ...
    (microsoft.public.inetserver.iis.security)
  • Re: Access denied when upgrading to WSK3
    ... Try domainame/username at the logon prompt and see if it will pass that. ... > for this intranet so I can give users some personalized ... the IT people who run the server played ...
    (microsoft.public.inetserver.iis.security)
  • Re: Access denied when upgrading to WSK3
    ... >for this intranet so I can give users some personalized ... the IT people who run the server played ... >returns them to the prompt and the Cancel button shoots ... IE won't pass authentication to sites it knows aren't on the intranet. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Best Practices for Impersonation and File Upload?
    ... Your answer seems more in line with the result I would suspect. ... I wanted to temporarily take on the identity of a user with more access using the WindowsImpersonationContext in order to write the file to the server and read it later. ... My primary concern is exposing the uploaded files in an insecure directory on the server where the ASPNET user has direct access. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: ISA prompts for credentials for intranet ONLY in Terminal Serv
    ... The Terminal Server is internal although people can connect to it from home. ... >> the intranet, they get the proxy authentication prompt. ... the intranet suddenly works and no prompt comes up. ...
    (microsoft.public.isa)