all groups > iis ftp > january 2005 >
You're in the

iis ftp

group:

IIS FTP: how to retain file attributes


Re: IIS FTP: how to retain file attributes Alun Jones [MSFT]
1/26/2005 2:33:31 PM
iis ftp:
[quoted text, click to view]

There is no command in the FTP protocol that would allow the client to tell
the server what date or time to store on a file uploaded to that server.

Alun.
~~~~
--
Software Design Engineer, Internet Information Server (FTP)
This posting is provided "AS IS" with no warranties, and confers no rights.

IIS FTP: how to retain file attributes Philippe Van der Stighelen
1/26/2005 7:11:50 PM
Hello,

we are having the following problem with IIS running on Windows 2003 Server:

each time we place files on the FTP site, its attributes (creation date
etc..) are
changed to the current date. But we want our files to retain their original
attributes
when we copy them to the FTP site.

We never experienced this problem on NT4 or windows 2000

Is this an option on W2003 Server?

Many thanks,
Philippe

Re: IIS FTP: how to retain file attributes JP
2/16/2005 6:44:43 PM
I am having the same problem. If you upload it using FTP, the file on the
FTP server will have the stamp date changed to the time it was transferred.
Unless you do a file copy, I'm afraid it is a feature of the FTP.

If we have to use FTP to upload the files but still want to retain the stamp
date, does any one has a solution?

Cheers,

Joe


[quoted text, click to view]

Re: IIS FTP: how to retain file attributes jeff.nospam NO[at]SPAM zina.com
2/17/2005 3:15:25 AM
On Wed, 16 Feb 2005 18:44:43 -0500, "JP"
[quoted text, click to view]

Not sure there will be with Windows file systems involved. FTP
doesn't write the timestamp, the file system does.

Jeff


[quoted text, click to view]
Re: IIS FTP: how to retain file attributes Alun Jones [MSFT]
2/17/2005 8:00:12 AM
As I posted earlier, FTP doesn't have any command to set the time on a file
uploaded through FTP.

That doesn't mean it can't be done outside of FTP, of course. The obvious
method is to upload an archive - ZIP, CAB, ARC, ZOO, or whatever - they
almost all set the file dates when they are un-archived. Archive the
file(s) you want to upload, upload the archive, and un-archive them at their
destination.

Alun.
~~~~
--
Software Design Engineer, Internet Information Server (FTP)
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

Re: IIS FTP: how to retain file attributes Alun Jones [MSFT]
2/17/2005 2:10:15 PM
Perhaps I should be more explicit.

There is no command in the FTP protocol to do this.

We are not talking about a limitation on just Microsoft's IIS FTP server, we
are talking about a feature that just isn't a part of the protocol at all.

A few clients, and maybe a server or two, have implemented a rather
unreliable hack centering around the MDTM command, but it's been debated by
the working group responsible for FTP RFCs, and rejected as being
unreliable, and an inappropriate extension to a command that is only
designed to display the last-write time.

Alun.
~~~~
--
Software Design Engineer, Internet Information Server (FTP)
This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

Re: IIS FTP: how to retain file attributes JP
2/17/2005 4:25:16 PM
I'm afraid I'll have to do as suggested. Otherwise, try other FTP server
software or turn to another OS.




[quoted text, click to view]

AddThis Social Bookmark Button