WinSCP File Does Not Exist

I am a Linux guy working in a Windows world, so excuse me if I sound dumb.

Trying to sync his Documents folder "C:/Users/username/Documents/" to a remove SFTP server "/home/username".

I am trying to sync folders using WinSCP for a friend. I wrote the script and it seems to be working fine except one issue.

It starts syncing, then errors out with:
File or folder 'C:UsersjohnDocumentsMy Music' does not exist.
The drive cannot be found
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort

But I dont even see that in his Documents folder.



You may be running into a permission issue. Most outside users will not be able to see the "user" folder. That is why it will not sync. "Users" is a special folder.

Try setting up a user on the accessing machine that is the same userid and password as the Windows machine.

Also try test synchronization with a folder that is not part of "users" and has permission to "Everyone"



You may be running into a permission issue. Most outside users will not be able to see the "user" folder. That is why it will not sync. "Users" is a special folder.

Try setting up a user on the accessing machine that is the same userid and password as the Windows machine.

Also try test synchronization with a folder that is not part of "users" and has permission to "Everyone"



"My Music" isn't a folder, but rather just a directory Junction (aka symlink) pointing to the "C:UsersjohnDocumentsMusic" folder. I suggest leaving those junctions out (there are others, like "My Videos", and "My Pictures", so those you'd also need to leave out of the sync).



You can try FreeFileSync for that: http://sourceforge.net/projects/freefilesync/

As I recall it, it's smart enough to recognize a symlink.

HTH,
Dan



Thanks, deleted the symlinks and it is working now!



Share this

Related Posts

There was an error in this gadget