When we used SFTP to transfer file it will keep file property like "create date", "rwx".
For FTP, is option can do that?
Thanks.
______________________________________________________________________________________________________ 付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing
On Wed, Apr 29, 2009 at 11:02:16PM +0800, mcclnx mcc wrote:
When we used SFTP to transfer file it will keep file property like "create date", "rwx".
For FTP, is option can do that?
Certain FTP clients may simulate this with tricks (at least on downloads), but the FTP protocol itself doesn't really allow for it. And definitely no (good) way to do it when uploading a file.
Ray
mcclnx mcc wrote:
When we used SFTP to transfer file it will keep file property like "create date", "rwx".
For FTP, is option can do that?
tar, ftp, untar. but, seriously, don't use FTP, its a wretched krufty old protocol, with plaintext password authentication, and two different methods of setting up dynamic ports for transfers, both of which cause issues with firewalls and NAT. ugh.
John R Pierce wrote:
mcclnx mcc wrote:
When we used SFTP to transfer file it will keep file property like "create date", "rwx".
For FTP, is option can do that?
tar, ftp, untar. but, seriously, don't use FTP, its a wretched krufty old protocol, with plaintext password authentication, and two different methods of setting up dynamic ports for transfers, both of which cause issues with firewalls and NAT. ugh.
If you control both ends, rsync over ssh is probably the nicest way to transfer files. If you have to use some other protocol you can hide some of the ugliness by using wget or curl.