Search found 4 matches

by Wiliam
2010-01-25 14:42
Forum: FileZilla and FileZilla Server Development
Topic: Feature request: Upload temp file and rename to original
Replies: 7
Views: 7583

Re: Feature request: Upload temp file and rename to original

In my case it will be ok because the folders have full privileges and RNTO can overwrite. I'm only searching a fast way to hook filezilla and work faster in my webprojects, for example I can try to hook this region of code to upload the file with another name: [ftpcontrolsocket.cpp - line 2718] if (...
by Wiliam
2010-01-24 22:50
Forum: FileZilla and FileZilla Server Development
Topic: Feature request: Upload temp file and rename to original
Replies: 7
Views: 7583

Re: Feature request: Upload temp file and rename to original

Yes. Would be hard to implement though as the exact semantics of the RNFR/RNTO command pair are left somewhat unspecified by the FTP standard. But it will be enough for example to do the next automatically: Source file to upload: code.php Existing file in the server: code.php (old one) STOR .code.p...
by Wiliam
2010-01-24 22:05
Forum: FileZilla and FileZilla Server Development
Topic: Feature request: Upload temp file and rename to original
Replies: 7
Views: 7583

Re: Feature request: Upload temp file and rename to original

botg wrote:
I remember that previous versions of filezilla used this method to upload files.
Odd, I wrote FileZilla and don't remember implementing anything like this. Then again, I might be confusing things.
Then I confused it, sorry. You understood what I said? :(
by Wiliam
2010-01-24 20:15
Forum: FileZilla and FileZilla Server Development
Topic: Feature request: Upload temp file and rename to original
Replies: 7
Views: 7583

Feature request: Upload temp file and rename to original

Hi, I only entered to say that web developers need to upload web files without overwriting any file when uploading, only when completed. For example if the upload fails, the file in the server will be corrupt, or when you are uploading the file it cant be used, if it is a php file then throws errors...