|
|
| Author |
Message |
| chris-red |
This post is not being displayed .
|
 chris-red Have you considered a TDM?

Joined: 21 Sep 2005 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| CaNsA |
This post is not being displayed .
|
 CaNsA Super Spammer

Joined: 02 Jan 2008 Karma :   
|
 Posted: 13:20 - 10 Oct 2014 Post subject: |
 |
|
Whats the ftp server, windows server?
| Quote: | A symlink or symbolic link can be easily created in Widows Server 2008 to share a common folders or files amongst projects. Lets assume you have a folder in domain1.com called CSS and you want to share this folder with domain2.com. You could just upload the CSS folder into domain2.com but then you need to FTP and update the CSS folder in 2 places. If both sites are using the exact same CSS this could cause you issues over time as you might forget to roll out updates from one site to another.
Using Windows Server 2008 you could create a symlink to solve this issue. Once you have the CSS folder created on domain1.com then you can run the following command from the command line on the server to create a symlink:
?
1
MKLINK /D C:\inetpub\wwwroot\domain2.com\CSS C:\inetpub\wwwroot\domain1.com\CSS
The format of the above is: MKLINK [new directory] [where to generate the new folder] [target folder you want the new link to go to]
If you're using Windows Server 2003 you can achieve something similar using:
?
1
fsutil hardlink create c:\foo.txt c:\bar.txt
There is a good answer on serverfault.com that covers this topic quite well - https://serverfault.com/questions/7109/how-do-i-create-a-symbolic-link-in-windows |
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| chris-red |
This post is not being displayed .
|
 chris-red Have you considered a TDM?

Joined: 21 Sep 2005 Karma :   
|
 Posted: 18:10 - 20 Oct 2014 Post subject: |
 |
|
Can't get this to work,...
PS F:\> MLLINK /d f:\ d:\
MLLINK : The term 'MLLINK' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ MLLINK /d f:\ d:\
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (MLLINK:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Any Ideas? ____________________ Well, you know what they say. If you want to save the world, you have to push a few old ladies down the stairs.
Skudd:- Perhaps she just thinks you are a window licker and is being nice just in case she becomes another Jill Dando.
WANTED:- Fujinon (Fuji) M42 (Screw on) lenses, let me know if you have anything. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| CaNsA |
This post is not being displayed .
|
 CaNsA Super Spammer

Joined: 02 Jan 2008 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| barrkel |
This post is not being displayed .
|
 barrkel World Chat Champion
Joined: 30 Jul 2012 Karma :   
|
 Posted: 20:29 - 20 Oct 2014 Post subject: |
 |
|
| chris-red wrote: | PS F:\> MLLINK /d f:\ d:\ |
You have three problems. It's called mklink; you're trying to run mklink from powershell, which doesn't understand it (it's built into cmd); and the arguments don't make sense, the first argument - the name of the link to create - can't be a directory.
Start a command window by doing Start | Run | cmd, and run it like this:
this should create a symbolic link (called d) to your D: drive in the root of your E: drive. That way, your existing FTP configuration ought to be able to see into the D: drive.
Depending on the FTP server, it may or may not recognize that as a directory. If it doesn't, try creating a junction instead:
If you can't find cmd, you can run cmd from inside powershell, like this instead:
| Code: | | cmd /c mklink /d e:\d d:\ |
____________________ Bikes: S1000R, SH350; Exes: Vity 125, PS125, YBR125, ER6f, VFR800, Brutale 920, CB600F, SH300x4
Best road ever ridden: www.youtube.com/watch?v=s2MhNxUEYtQ |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| chris-red |
This post is not being displayed .
|
 chris-red Have you considered a TDM?

Joined: 21 Sep 2005 Karma :   
|
 Posted: 20:27 - 21 Oct 2014 Post subject: |
 |
|
Thanks ____________________ Well, you know what they say. If you want to save the world, you have to push a few old ladies down the stairs.
Skudd:- Perhaps she just thinks you are a window licker and is being nice just in case she becomes another Jill Dando.
WANTED:- Fujinon (Fuji) M42 (Screw on) lenses, let me know if you have anything. |
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
| noobRider |
This post is not being displayed .
|
 noobRider World Chat Champion

Joined: 23 Sep 2012 Karma :   
|
|
| Back to top |
|
You must be logged in to rate posts |
|
 |
Old Thread Alert!
The last post was made 11 years, 262 days ago. Instead of replying here, would creating a new thread be more useful? |
 |
|
|