Dear Users! Please post bug reports about FDM here!

FDM.exe Command Line

Moderators: Usher, Alex

DigitalPhoenixX

FDM.exe Command Line

Postby DigitalPhoenixX » Fri May 22, 2020 10:15 am

Does anyone know how does the command line for FDM.exe works?
For example: if I try running "fdm URL" in the command line it will open up FDM and try to download the file in the URL
and I also noticed if I use a "-" what's after it is ignored (the parameters are parsed after the "-" unlike normal windows "/")
So I tried the following
fdm -h
fdm --help
fdm -?
help fdm
None of which gave me the documentation for what options I have when running fdm.exe from the command line

Anyway, I want to specify multiple URLs to be downloaded in a folder with a given name in a given location is that possible using the command line?
User avatar
Usher
Posts: 2557
Joined: Sat Mar 20, 2010 2:37 pm
Location: Poland

Re: FDM.exe Command Line

Postby Usher » Fri May 22, 2020 12:29 pm

DigitalPhoenixX wrote:Anyway, I want to specify multiple URLs to be downloaded in a folder with a given name in a given location is that possible using the command line?
If it was even available, it would be unpractical.

* Max URL length isn't specified in HTTP standard, but web browsers use limit about 2048 characters.

* On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. Long local path can be up to 1024 characters.

So in the worst case you could pass only two URLs and local paths in command line.

If you want to implement such a feature, you should keep download parameters in some XML-like file, similar to metalink.

You can also learn how it's done in wget, well known command line downloader.
Andrzej P. Wozniak, FDM user and forum moderator
Read FDM FAQ and the reporting rules
"How to report a bug or a problem with FDM" before posting
Alex
FDM Team
Posts: 2784
Joined: Mon Jul 12, 2004 12:17 pm

Re: FDM.exe Command Line

Postby Alex » Wed May 27, 2020 5:27 pm

DigitalPhoenixX wrote:Does anyone know how does the command line for FDM.exe works?

Hello,
Currently, FDM6 does not support much arguments.
--url URL - add a download with the specified url
--hidden - start hidden
--minimized - start minimized
Are there any features you would like FDM to support via the command line?
Alex,
FDM development team
anderson234
Posts: 3
Joined: Sun Mar 01, 2020 10:53 am

Re: FDM.exe Command Line

Postby anderson234 » Wed Nov 18, 2020 7:19 am

Alex wrote:
DigitalPhoenixX wrote:Does anyone know how does the command line for FDM.exe works?

Hello,
Currently, FDM6 does not support much arguments.
--url URL - add a download with the specified url
--hidden - start hidden
--minimized - start minimized
Are there any features you would like FDM to support via the command line?

Hopefully it can let me decide which folder to save the file,
and let me decide the filename,
and whether to use proxy. At least, it can follow IE proxy settings.
hiroku

Re: FDM.exe Command Line

Postby hiroku » Wed Apr 13, 2022 5:34 pm

Hi there guys!

I would love to simply be able to handle a download via command line, is that a possibility? if so please link me to an example!

Love the software ♥
Alex
FDM Team
Posts: 2784
Joined: Mon Jul 12, 2004 12:17 pm

Re: FDM.exe Command Line

Postby Alex » Thu Apr 14, 2022 8:20 am

hiroku wrote:Hi there guys!

I would love to simply be able to handle a download via command line, is that a possibility? if so please link me to an example!

Love the software ♥

Hello,
Please be more specific.
Alex,

FDM development team

Return to “General forum”

Who is online

Users browsing this forum: No registered users and 1 guest