Jump to content

Hello I have a dell edge r610 running windows server 2016 decanter.
I want to use this server as a ftp server so fare everything is working but
I want to have a virtual directory but that directory is on a different PC that PC has the specific folder shared so it is accessible.
But as soon as I set this directory as a virtual directory in the ftp server it gives me a error saying the following:
The path does not exist or environment variables in the path could not be expanded to verify whether it exists.

Is there any way to have a virtual directory that is on a different PC on the same network?
 

Link to comment
https://linustechtips.com/topic/944598-ftp-windows-server-2016/
Share on other sites

Link to post
Share on other sites

A 2016 Datacenter server with just a FTP server seems like a waste. Can't imagine you bought a license for that :P  I'd honestly just run a Linux server for this.

 

 

PC Specs - AMD Ryzen 7 5800X3D MSI B550M Mortar - 32GB Corsair Vengeance RGB DDR4-3600 @ CL16 - ASRock RX7800XT 660p 1TBGB & Crucial P5 1TB Fractal Define Mini C CM V750v2 - Windows 11 Pro

 

Link to comment
https://linustechtips.com/topic/944598-ftp-windows-server-2016/#findComment-11505535
Share on other sites

Link to post
Share on other sites

Pretty sure UNC paths arent supported with FTP so you'd have to mount the share as a drive letter. 

On the PC side, you'd also have to setup your permissions, the commonly accepted practice is to add a "service" account, with the permissions that you require - then use that account username/password to mount it on the server. Then with IIS you would need your virtual directory, and I believe in ftproot you need to create a link to the mounted share. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | Asus RTX 4060 Dual OC | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 8 x 20TB Seagate Exos X22 | 4 x 16TB Seagate Exos X18 | 3 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Spoiler

NAS: Innovision 4U 24-bay chassis (12GB MiniHD SGIO Backplane) | Intel Core i9-10980xe | EVGA X299 FTW-K | EVGA RTX 2080Ti Super FTW3 | 128GB (8x16GB) Corsair Vengeance LPX 3200Mhz | DEEPCOOL PN1000M PSU| Noctua NH-D12L Chromax Black | 16 x 16TB Seagate Exos X18 | 2 x 2TB Samsung 990 Pro | 2 x 2TB Intel U.2 P4510 | LSI 9305-24i HBA

 

Link to comment
https://linustechtips.com/topic/944598-ftp-windows-server-2016/#findComment-11505566
Share on other sites

Link to post
Share on other sites

20 minutes ago, Jarsky said:

Pretty sure UNC paths arent supported with FTP so you'd have to mount the share as a drive letter. 

On the PC side, you'd also have to setup your permissions, the commonly accepted practice is to add a "service" account, with the permissions that you require - then use that account username/password to mount it on the server. Then with IIS you would need your virtual directory, and I believe in ftproot you need to create a link to the mounted share. 

At that point it's probably easier to create a VHDX file on the SMB share then mount that on the FTP server so it's like a physical disk with local file system perms etc. FTP on windows is rubbish though so...

Link to comment
https://linustechtips.com/topic/944598-ftp-windows-server-2016/#findComment-11505603
Share on other sites

Link to post
Share on other sites

19 hours ago, Jarsky said:

the commonly accepted practice is to add a "service" account, with the permissions that you require

Don't worry about it. most people say they created a service account, but that's just a standard account with a shared password...

 

make sure its NOT a Managed Service Account /s

Link to comment
https://linustechtips.com/topic/944598-ftp-windows-server-2016/#findComment-11508271
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×