Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

martin wrote:

fetto wrote:

No feedback on this one?

Please read FAQ:
https://winscp.net/eng/docs/faq_synchronize
If it does not help, please come back.


I did some tests, for some reason the FTP server set a 4 minute time-stamper further in time than my local time stamp, so if i wait 4 minutes and do a save again it will upload the file but not otherwise.

Maybe it would be better to do like AutoVer does this? AutoVer keep track of changes file stamps locally instead of comparing to time-stamp on the server. With all the cloud-servers nowadays, many developer cannot affect the time stamps.
fetto

No feedback on this one?
fetto

I have similar problem here, Windows 7 64-bit.

I'm editing a .less file, then an app generates it to .css file.
Both .less and .css are uploaded the first time, but not the second time i change the file.
martin

Re: Bug with keeping remote subdirectories up to date

Thanks. Will try to reproduce the problem.
Also I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
budwiser

Re: Bug with keeping remote subdirectories up to date

Hi Martin.

Never got the debug version.

However, just to inform, I'm still able to reproduce this with 4.3.6 in Windows 7. Seems like Windows XP does not suffer about this.
Just in case you misunderstood me, I'll try to re-explain it with a trivial example.

You're using commander view and you have a connection to remote site and you have enabled "keep remote directory up-to-date" feature.

Local files and directories are as follows:

C:\test\
C:\test\index.php
C:\test\css\
C:\test\css\style.css

Remote files and directories are as follows:

/mysiteroot/
/mysiteroot/index.php
/mysiteroot/css/
/mysiteroot/css/style.css

At the moment, everything works very very well. Ok, so now we stop the up-to-date feature and create a new directory to remote css-directory, say /mysiteroot/css/new/ and re-enable "keep remote directory up-to-date."

Now getting back to our text editor, we modify our style.css, save it and then what happens to me, is that WinSCP informs this:

11:55:49 Change in 'C:\test\css' detected.

But what IT DOESN'T tell even if it should is this:

File 'C:\test\css\style.css' uploaded.

The file on remote server remains unchanged.
martin

Re: Bug with keeping remote subdirectories up to date

I wasn't able to reproduce the problem. I'm emailing you the debug version.
budwiser

Bug with keeping remote subdirectories up to date

Tried to find this from open bugs but failed to do so, so if this is a known bug, I apologize my inadvertence.

I've tested this with 4.3.2 and 5.0.5 beta and I can reproduce it in both versions. If remote site contains a directory that does not exist on local site, WinSCP doesn't update ANY of the subdirectories on remote site. Root directory is still updated. It recognizes the changes in all folders though, it informs that directory has changed but doesn't upload any files. After all remote folders exist on local site, WinSCP works correctly.

I'm using GUI with no scripts. I'm using SFTP with Commander interface. My operating system is an up-to-date Windows 7.

NOTE:

If a new folder is created on remote site and the Commander's remote view is not refreshed, the problem doesn't occur. It requires the remote view to be refreshed to reproduce the problem.