Advertisement:

Author Topic: Downloading from Drive G:  (Read 4047 times)

Offline Martinfin

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
  • SMF Community are Great People!
Downloading from Drive G:
« on: July 07, 2019, 05:41:59 PM »
I looked everywhere but really don't know how to word it.

I have bigger files on G: drive but don't have much space on my C: drive as it is only a 64 gig SSD. How do I link
files to go to G: when my brother wants a big file?

example: hxxp://www.example.com/files/file1.zip but it reads from C: drive. Making any sense?

Appreciate the teaching I have been studying.
-> Martinfin

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,369
Re: Downloading from Drive G:
« Reply #1 on: July 07, 2019, 07:00:58 PM »
Not sure I'm understanding your question, but hxxp://www.example.com/files/file1.zip does not load files from your local C: drive, it loads them from server.  You can't link to files on local drives.  If you're running a dedicated server with multiple drives, website and files should all be on same drive.


Offline Martinfin

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
  • SMF Community are Great People!
Re: Downloading from Drive G:
« Reply #2 on: July 07, 2019, 08:54:41 PM »
Actually it's off my PC (Wamp)
-> Martinfin

Offline Gary

  • Sorceress's Knight
  • Customizer
  • SMF Super Hero
  • *
  • Posts: 18,168
  • Gender: Male
  • So this is the luck of the draw...
    • Gazmanafc on Facebook
    • garygadsdon on LinkedIn
    • @Gazmanafc on Twitter
    • The Bongo Comics Fan Forum
Re: Downloading from Drive G:
« Reply #3 on: July 07, 2019, 09:04:36 PM »
file:// reads from local drives, but having said that even then it'd only be accessible to you (as would using http:// on a local server), there'd be no way for your brother to access it unless you actually transferred it to him.
Gary M. Gadsdon
Do NOT PM me unless I say so

War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

Offline Martinfin

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
  • SMF Community are Great People!
Re: Downloading from Drive G:
« Reply #4 on: July 07, 2019, 09:05:24 PM »
Ok, Thank You very much.
-> Martinfin

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,697
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Downloading from Drive G:
« Reply #5 on: July 07, 2019, 11:37:55 PM »
Assuming you have all set so that your brother can access files on your computer at all -
You should be able to do this, using symlinks - https://www.sevenforums.com/tutorials/278262-mklink-create-use-links-windows.html
Just, be careful - and create a reserved folder for this. You don't want to go linking just anything criss cross.

For example

mklink /D c:\httpdocs\virtualfolder g:\media\virtualmaterial

So that you can delete both folders later if you want, without breaking anything.
(This would tell windows that the contents of folder "virtualmaterial" should be shown in "virtualfolder" and should be accessible using the "virtualfolder" path.)



Edit: Though, I think using something like OneDrive might be a lot easier.
« Last Edit: July 07, 2019, 11:53:11 PM by Aleksi "Lex" Kilpinen »
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Martinfin

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
  • SMF Community are Great People!
Re: Downloading from Drive G:
« Reply #6 on: July 10, 2019, 11:51:58 AM »
Assuming you have all set so that your brother can access files on your computer at all -
You should be able to do this, using symlinks - https://www.sevenforums.com/tutorials/278262-mklink-create-use-links-windows.html
Just, be careful - and create a reserved folder for this. You don't want to go linking just anything criss cross.

For example

mklink /D c:\httpdocs\virtualfolder g:\media\virtualmaterial

So that you can delete both folders later if you want, without breaking anything.
(This would tell windows that the contents of folder "virtualmaterial" should be shown in "virtualfolder" and should be accessible using the "virtualfolder" path.)



Edit: Though, I think using something like OneDrive might be a lot easier.

I'll get back to you on this and Thank You!

Edit: Works but I just now have to learn how to link it right... Doesn't quite come out that easy for this old dog. But this working. Need to protect folder. Thanks for your help.
« Last Edit: July 10, 2019, 12:41:51 PM by Martinfin »
-> Martinfin

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,697
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Downloading from Drive G:
« Reply #7 on: July 10, 2019, 12:57:14 PM »
Good to hear, I have never tried that with a server setup - so wasn't really 100% sure. Goodluck with it!
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Martinfin

  • Semi-Newbie
  • *
  • Posts: 43
  • Gender: Male
  • SMF Community are Great People!
Re: Downloading from Drive G:
« Reply #8 on: July 10, 2019, 03:11:28 PM »
Thanks so much. Can't believe I got it working and I'm not very smart.  Also got it protected. Having friends try to bust into it to see if I did it right but this is a nice piece of info. Hope someone else can utilize and learn from it.

Thanks again.
-> Martinfin

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,697
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Downloading from Drive G:
« Reply #9 on: July 10, 2019, 03:54:35 PM »
No problem, glad you found it useful :)
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas