Hi,
I want create a batch job that synchronize one local folder to a network
folder.
Whit what syntax should i write username and password of the network folder ?
How to connect to a network folder
- Posts: 1
- Joined: 11 Oct 2011
- Site Admin
- Posts: 7216
- Joined: 9 Dec 2007
Currently there is no syntax to do this. FreeFileSync will automatically show
the password prompt if required.
Now this doesn't mean that this couldn't be done. Question is how the syntax
should look like.
Maybe something like:
\\network\share name:zenju password:123
\\network\share name:"zenju x" password:"123 456" (quotes if words contains
spaces")
the password prompt if required.
Now this doesn't mean that this couldn't be done. Question is how the syntax
should look like.
Maybe something like:
\\network\share name:zenju password:123
\\network\share name:"zenju x" password:"123 456" (quotes if words contains
spaces")
- Site Admin
- Posts: 7216
- Joined: 9 Dec 2007
Problem with this is that password would be saved within ffs_batch files,
which creates a security risk. If such a risk is acceptable, one might as well
have Windows remember the password and avoid having to enter it alltogether.
Right now, I'm not sure how useful this will be.
which creates a security risk. If such a risk is acceptable, one might as well
have Windows remember the password and avoid having to enter it alltogether.
Right now, I'm not sure how useful this will be.
- Posts: 22
- Joined: 18 Dec 2009
In this case, I am using a batch cmd job to connect to the resource:
net use \\network\share /user:name passwd
Advantage is, you can close the connection after ffs has finished:
net use \\network\share /d /y
Advantage two is, that you can do additional things in this batch, like
sending a notification message if ffs exits with a bad error level.
net use \\network\share /user:name passwd
Advantage is, you can close the connection after ffs has finished:
net use \\network\share /d /y
Advantage two is, that you can do additional things in this batch, like
sending a notification message if ffs exits with a bad error level.
- Posts: 2
- Joined: 14 Oct 2011
I haven't tested this in a batch job, but the \\network\share syntax works
through the GUI
through the GUI
- Posts: 22
- Joined: 18 Dec 2009
No drive is being mapped. This is just for the credentials to the resource. If
there is no current connection to the server/share, ffs will not be able to
access it, like any other program.
there is no current connection to the server/share, ffs will not be able to
access it, like any other program.