Resend my activation email : Register : Log in 
BCF: Bike Chat Forums


FTP Multiple Drive

Reply to topic
Bike Chat Forums Index -> The Geek Zone
View previous topic : View next topic  
Author Message

chris-red
Have you considered a TDM?



Joined: 21 Sep 2005
Karma :

PostPosted: 10:46 - 10 Oct 2014    Post subject: FTP Multiple Drive Reply with quote

Hi all,

I have a server that among other things acts as an FTP server. I have 2 drives I want to access D:/ and E:/ Currently the FTP account I use has a Root of E:/ is there a way I can set it up so I can choose which drive I connect to without creating a separate account?
____________________
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
View user's profile Send private message You must be logged in to rate posts

CaNsA
Super Spammer



Joined: 02 Jan 2008
Karma :

PostPosted: 13:20 - 10 Oct 2014    Post subject: Reply with quote

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
View user's profile Send private message You must be logged in to rate posts

chris-red
Have you considered a TDM?



Joined: 21 Sep 2005
Karma :

PostPosted: 18:10 - 20 Oct 2014    Post subject: Reply with quote

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
View user's profile Send private message You must be logged in to rate posts

CaNsA
Super Spammer



Joined: 02 Jan 2008
Karma :

PostPosted: 18:56 - 20 Oct 2014    Post subject: Reply with quote

MKLINK
 Back to top
View user's profile Send private message You must be logged in to rate posts

barrkel
World Chat Champion



Joined: 30 Jul 2012
Karma :

PostPosted: 20:29 - 20 Oct 2014    Post subject: Reply with quote

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:
Code:
mklink /d e:\d d:\

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:

Code:
mklink /j e:\d d:\


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
View user's profile Send private message You must be logged in to rate posts

chris-red
Have you considered a TDM?



Joined: 21 Sep 2005
Karma :

PostPosted: 20:27 - 21 Oct 2014    Post subject: Reply with quote

Embarassed

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
View user's profile Send private message You must be logged in to rate posts

noobRider
World Chat Champion



Joined: 23 Sep 2012
Karma :

PostPosted: 11:36 - 22 Oct 2014    Post subject: Reply with quote

On Windows I use Symlink Creator, which is a GUI for mklink. Run it as an admin

https://code.google.com/p/symlinker/
____________________
Licence: Nov 2012, Bikes: Suzuki GN125, Moto Guzzi Strada 750, Triumph Sprint ST 955i x 2
AnPhonEh: I need plans, I need contingency plans also, I need back up contingency plans
 Back to top
View user's profile Send private message 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?
  Display posts from previous:   
This page may contain affiliate links, which means we may earn a small commission if a visitor clicks through and makes a purchase. By clicking on an affiliate link, you accept that third-party cookies will be set.

Post new topic   Reply to topic    Bike Chat Forums Index -> The Geek Zone All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Read the Terms of Use! - Powered by phpBB © phpBB Group
 

Debug Mode: ON - Server: birks (www) - Page Generation Time: 0.08 Sec - Server Load: 1.33 - MySQL Queries: 13 - Page Size: 54.6 Kb