Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

How can I download links from dropbox?

- - - - -

  • Please log in to reply
8 replies to this topic

#1
venerable13

venerable13
  • Member
  • 4 posts
  • Joined 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag
1.I get an Error when I try to download from dropbox on commands-internet-download a program

I put "?dl=1" at final of the link

With "wget" it works or putting it on the adress bar.

2.I try also with this link

I put this ->
http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext&ltype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http%3A%2F%2Fsoftware-files-a.cnet.com%2Fs%2Fsoftware%2F12%2F80%2F80%2F71%2Favast_free_antivirus_setup.exe%3Ftoken%3D1353706996_003427b3fdf5573511c347f24070bd02%26lop%3Dlink%26ptype%3D3000%26ontid%3D2239%26siteId%3D4%26edId%3D3%26spi%3D6f9090653428d3331f2257339658eb21%26pid%3D12808071%26psid%3D10019223%26fileName%3Davast_free_antivirus_setup.exe

on

commands-internet-download a program

And "Error" is showed.

Thanks for readme.


How to remove advertisement from MSFN

#2
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,828 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag
Can you please post the wpi log?

#3
venerable13

venerable13
  • Member
  • 4 posts
  • Joined 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag
Actually I'm testing to do 1 and 2 with bitcasa and works ok, so for any reason dropbox links and second type of links don't works ok with WPI, but bitcasa works perfect. Bitcasa can works with direct links but dropbox now even putting "?dl=1" at final of the link doesn't works ok with WPI. WPI, dropbox or incompatibility problem.
.

Edited by venerable13, 25 November 2012 - 06:00 AM.


#4
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,828 posts
  • Joined 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Can you please post the wpi log?



#5
venerable13

venerable13
  • Member
  • 4 posts
  • Joined 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag
dropbox isn' t a compatible direct link with this program like I said, noways if you teach me how to catch the log I present it.

Edited by venerable13, 25 November 2012 - 09:51 AM.


#6
an3k

an3k

    Junior

  • Member
  • Pip
  • 95 posts
  • Joined 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag
Try ->
"http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext&ltype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http%3A%2F%2Fsoftware-files-a.cnet.com%2Fs%2Fsoftware%2F12%2F80%2F80%2F71%2Favast_free_antivirus_setup.exe%3Ftoken%3D1353706996_003427b3fdf5573511c347f24070bd02%26lop%3Dlink%26ptype%3D3000%26ontid%3D2239%26siteId%3D4%26edId%3D3%26spi%3D6f9090653428d3331f2257339658eb21%26pid%3D12808071%26psid%3D10019223%26fileName%3Davast_free_antivirus_setup.exe"
(just add " to the start and end of the url)

#7
venerable13

venerable13
  • Member
  • 4 posts
  • Joined 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag
It isn't works, I had to find a way to put the direct link because it is a redirection, bitcasa sometimes works but others no, so with direct links works okay, thanks!!

#8
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
This can't be done on Windows 7 or Windows 8, because BitsAdmin.exe is deprecated for those OS.

Manage BITS (Background Intelligent Transfer Service) with Windows PowerShell

Using Windows PowerShell to Create BITS Transfer Jobs (Windows)

Previous versions of Windows provided command-line management of BITS using the BITSAdmin.exe tool. In Windows 7, BITSAdmin.exe is deprecated. Instead, you should use the Windows PowerShell cmdlets.


We must make changes inside installer.js to download files on the Web using Powershell !

From line 1338 we can add:

installer.js
 if (getOSver()=="Win7" || getOSver()=="Win8")
    cmdLine='Powershell Start-BitsTransfer -Source '+URL+' -Destination "%TEMP%\\'+Filename+'" -TransferType Download';
 fsoCmd=true;

Add on line 1342:

 if (getOSver()=="XP" || getOSver()=="Vista")

Tested on Windows 7 x86 and Windows XP. Works fine!

Example downloading WPI_v8.6.3.rar

config.js
prog[pn]=['WPI 8.6.3'];
uid[pn]=['WPI863'];
ordr[pn]=[3];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Applications'];
pfro[pn]=['no'];
cmds[pn]=['{DOWNLOAD} http://www.wpiw.net/downloads/WPI_v8.6.3.rar'];
desc[pn]=['WPI 8.6.3'];
pn++;

WPI_Log.txt
Spoiler


WPI_Log.txt (on Windows XP and IE8)
Spoiler


WPI Downloading files from the Web

Thanks and regards

*Edit: However there is a trouble using the link given by the OP ! The redirection inside the link : ..\Temp\redir?.. give an error to open the Temp file !

WPI_Log.txt (partial)
samedi 2 février 2013 22:17:30
   Programme: Avast Free
   ID unique: AVASTFREE
   Ordre: 000001
   Catégorie: Applications
   samedi 2 février 2013 22:17:32 - cmd1 Téléchargement réussi (Code de retour 0): http://dw.com.com/redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext&ltype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http2F2Fs2F122F802Favast_free_antivirus_setup.exe3D1353706996_003427b3fdf5573511c347f24070bd023Dlink3D30003D22393D43D33D6f9090653428d3331f2257339658eb213D128080713D100192233Davast_free_antivirus_setup.exe
   samedi 2 février 2013 22:17:32 - cmd1 *** Echec *** (Code de retour 999): "C:\Users\Antoine\AppData\Local\Temp\redir?edId=3&siteId=4&oId=3000-2239_4-10019223&ontId=2239_4&spi=6f9090653428d3331f2257339658eb21&lop=link&tag=tdw_dltext&ltype=dl_dlnow&pid=12808071&mfgId=85737&merId=85737&pguid=UK9hpwoOYJMAACcZHcoAAAAq&destUrl=http2F2Fs2F122F802Favast_free_antivirus_setup.exe3D1353706996_003427b3fdf5573511c347f24070bd023Dlink3D30003D22393D43D33D6f9090653428d3331f2257339658eb213D128080713D100192233Davast_free_antivirus_setup.exe" 
   samedi 2 février 2013 22:17:32 - Installation terminée.

Note: We must use a direct link !

*Edit: post and command updated

Edited by myselfidem, 15 February 2013 - 03:39 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).

#9
myselfidem

myselfidem

    Member

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,559 posts
  • Joined 06-January 10
  • OS:Windows 7 x64
  • Country: Country Flag
Command {DOWNLOAD} updated for Win7 and Win8.

Example to downlaod and install mseinstall.exe (fr-fr x86):

config.js
pn=1;
prog[pn]=['MS Essentials'];
uid[pn]=['MSESSENTIALS'];
ordr[pn]=[1];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Applications'];
pfro[pn]=['no'];
cmds[pn]=['{DOWNLOAD} http://mse.dlservice.microsoft.com/download/F/3/9/F392321B-C03D-498A-BEBB-141E2F367E44/frfr/x86/mseinstall.exe'];
desc[pn]=['MS Essentials'];
pn++;

Regards

Edited by myselfidem, 15 February 2013 - 03:54 AM.

For Windows 7 OS: SetProductKey.rar (fr-FR/en-US. Integrate keys).




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users