Buttonbar: FTP file full path isn`t quoted while D&D

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Zapped
Junior Member
Junior Member
Posts: 4
Joined: 2006-11-22, 09:00 UTC

Buttonbar: FTP file full path isn`t quoted while D&D

Post by *Zapped »

Make Buttonbar command button launching FTP manager, e.g. "C:\Program Files\Download Master\dmaster.exe" (DM). Then connect to FTP server (ftp://server/), CWD (change dir) on it to a folder containing spaces in its name (dir name with spaces). Then select some file (filename) and D&D it onto our made button.
Program (DM) will be launched in the following way

Code: Select all

"C:\Program Files\Download Master\dmaster.exe" ftp://server/dir name with spaces/filename
Since dirname contains spaces but it isn`t quoted, DM gets wrong parameter to dowload: ftp://server/dir, not whole path
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

D&D puts short DOS names into the command line, therefore no quotes are added. for FTP paths, no dos names exist, therefore the path is pasted with its spaces.
Author of Total Commander
https://www.ghisler.com
Zapped
Junior Member
Junior Member
Posts: 4
Joined: 2006-11-22, 09:00 UTC

Post by *Zapped »

ghisler(Author) wrote:D&D puts short DOS names into the command line, therefore no quotes are added. for FTP paths, no dos names exist, therefore the path is pasted with its spaces.
Does it mean quotes can`t be added? AFAIK, list of D&Ded files is filled by programmer, isnt`it?
Post Reply