For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > April 2007 > ftp question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ftp question
John Doe

2007-04-12, 8:05 am

If 2 users try to upload the same file at the same time, what happens? I
suppose a race condition develops, but are the servers smart enought to
return an error to 1 or both users?
Gianni Mariani

2007-04-12, 8:05 am

John Doe wrote:
> If 2 users try to upload the same file at the same time, what happens? I
> suppose a race condition develops, but are the servers smart enought to
> return an error to 1 or both users?


Try it an see !

On a *i|ux box, it will probably be a race, on a windows box, one will
loose. If you care, patch a server to do what you need or use http post
and write code on the other end to do what you want.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com