How to form FTP URL using absolute path for FileZilla server?

I need to write a file to FileZilla FTP server hosted in Windows operating system using absolute path. The path in which I need to write the file is C:\Test\Batch_File\count\. The home or root path is set to C:\Test\Batch_File When I use relative path like ftp:// the FTP transfer works fine. I want the user to connect using the absolute path, something similar to the one like ftp://. I know using the URL as ftp:// is the best way but I just want to experiment this. The client from which I am connecting is IBM DataPower appliance.

1 Answer

There's no magical way to simply configure FileZilla FTP server to allow an access to a whole system. For a good reason, you actually do not want to do this in general. Particularly giving even read-only access to C: (system) drive is a huge security risk.

You can configure it drive-per-drive though.

  • First add a fake root/home folder and point it to some empty physical path (say C:\empty) and set the folder read-only.
  • Then add virtual path /X: for each X: drive you want to make accessible (though using simple /X might be better, some FTP clients may not like the colon).

And now you can use an FTP path like the /X/foo/bar (or the URL ftp://) to access the X:\foo\bar.

enter image description here

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like