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.
LVL 23
savoneAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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"
0
rindiCommented:
"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).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.

HTH,
Dan
0
savoneAuthor Commented:
Thanks, deleted the symlinks and it is working now!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Batch

From novice to tech pro — start learning today.