• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • Last Modified:

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:\Users\john\Documents\My 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.
1 Solution
JohnBusiness Consultant (Owner)Commented:
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:\Users\john\Documents\Music" 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).
Dan CraciunIT ConsultantCommented:
You can try FreeFileSync for that: http://sourceforge.net/projects/freefilesync/

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

savoneAuthor Commented:
Thanks, deleted the symlinks and it is working now!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Tackle projects and never again get stuck behind a technical roadblock.
Join Now