Topic "Bug with keeping remote subdirectories up to date"

Author Message
budwiser
[View user's profile]

Joined: 2011-11-30
Posts: 2
Location: Finland
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.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
I wasn't able to reproduce the problem. I'm emailing you the debug version.
_________________
Martin Prikryl
budwiser
[View user's profile]

Joined: 2011-11-30
Posts: 2
Location: Finland
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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
_________________
Martin Prikryl
fetto
[View user's profile]

Joined: 2012-03-08
Posts: 2
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.
fetto
[View user's profile]

Joined: 2012-03-08
Posts: 2
No feedback on this one?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Guest




prikryl 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.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License