Topic "Remote directory up to date"

Author Message


This is a wonderful function. It's probably me, but this is what happened:
I used the "Default" setting for transfer mode. Quite without warning, the web page I was working on broke. After several hours of working on what I thought was my problem, I turned off "Keep up to date" and manually uploaded the suspected file, a Javascript file. Things started working again. I turned "Remote Directory Update" back on, setting the transfer mode to "text" and it seems to have fixed things.
My guess as to what happens? I sometimes don't include a semi-colon at the end of lines in Javascript, relying on the line break to separate expressions. I bet .js files are transferred in binary, and the line breaks are getting scotched. If I'm right, Python files would also be broken.
Checking the "Use same settings next time" box does not keep the transfer settings option in place. That's no real problem, as I now know I have to do that every time.
All-in-all, WinSCP is a WONDERFUL application. I use it every day, all day and couldn't be happier.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27097
Location: Prague, Czechia
You have to change the default transfer settings:

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License