ASCII differences to Binary in upload method
Hi,
i got a question about the internal upload technique in WinSCP.
When uploading a ASCII file which is already existing on the server
WinSCP "edits" the file and preserve the Owner and timestamp
on the already existing File on the server.
But when uploading a binary file WinSCP deletes the already existing file
on the Server and creates it again.
The effect on this is that the new owner of the file is in both methods a different
one. In the binary method the owner is scp user (new touched file), in the ascii method
the owner is the old one of the existing file(the scp user has only write privileges
because of group permissions).
Further more it isnt possible in the ascii way that the timestamp can be preserved but
in the binary it is!
Is there a reason why there are two different ways regarding the creation of the file?
Can i configure WinSCP to always delete and recreate the file when its already existing?
best regards,
jesk
i got a question about the internal upload technique in WinSCP.
When uploading a ASCII file which is already existing on the server
WinSCP "edits" the file and preserve the Owner and timestamp
on the already existing File on the server.
But when uploading a binary file WinSCP deletes the already existing file
on the Server and creates it again.
The effect on this is that the new owner of the file is in both methods a different
one. In the binary method the owner is scp user (new touched file), in the ascii method
the owner is the old one of the existing file(the scp user has only write privileges
because of group permissions).
Further more it isnt possible in the ascii way that the timestamp can be preserved but
in the binary it is!
Is there a reason why there are two different ways regarding the creation of the file?
Can i configure WinSCP to always delete and recreate the file when its already existing?
best regards,
jesk