Filezilla and automatic uploading on save.

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
BRoehling
500 Command not understood
Posts: 3
Joined: 2019-02-06 21:21
First name: Benjamin
Last name: Röhling

Filezilla and automatic uploading on save.

#1 Post by BRoehling » 2019-02-06 21:26

Greetings,

it's 2019 and I ask you why there is no such feature, as uploading a file automatically when I press ctrl+s in my editing program that has opened a file from within filezilla?

When filezilla compares the modifciation date of the file, it should know that the modified file is newer than the original file.

Does Windows write the modification date after the buffer (cache) to write that file is empty? Then it would be safe to auto-upload saved files with the modificated date method without prompting for upload, first, in filezilla client.

User avatar
botg
Site Admin
Posts: 32089
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Filezilla and automatic uploading on save.

#2 Post by botg » 2019-02-07 09:20

Does Windows write the modification date after the buffer (cache) to write that file is empty? Then it would be safe to auto-upload saved files with the modificated date method without prompting for upload, first, in filezilla client.
Yes, Windows changes the modification date, when writing to a file, but that is not safe. It cannot be used to detect when a program has finished writing to a file. Uploading at the wrong time can result in a corrupted file on the server and in some cases even prevent the local editor from finish writing to the file.

BRoehling
500 Command not understood
Posts: 3
Joined: 2019-02-06 21:21
First name: Benjamin
Last name: Röhling

Re: Filezilla and automatic uploading on save.

#3 Post by BRoehling » 2019-02-07 13:11

See here, I read it and with proper implementation it's possible. :D

https://docs.microsoft.com/en-us/window ... -writefile

User avatar
botg
Site Admin
Posts: 32089
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Filezilla and automatic uploading on save.

#4 Post by botg » 2019-02-07 14:23

No it isn't.

BRoehling
500 Command not understood
Posts: 3
Joined: 2019-02-06 21:21
First name: Benjamin
Last name: Röhling

Re: Filezilla and automatic uploading on save.

#5 Post by BRoehling » 2019-02-07 19:11

I changed the FTP Program. This takes too long. Bye

User avatar
botg
Site Admin
Posts: 32089
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Filezilla and automatic uploading on save.

#6 Post by botg » 2019-02-07 21:17

Bye bye to you and your data you'll eventually lose.

Post Reply