MSFN Forum: How can I download links from dropbox? - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How can I download links from dropbox? Rate Topic: -----

#1 User is offline   venerable13 

  • Group: Members
  • Posts: 4
  • Joined: 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 November 2012 - 04:50 AM

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.


#2 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,322
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 November 2012 - 05:50 AM

Can you please post the wpi log?

#3 User is offline   venerable13 

  • Group: Members
  • Posts: 4
  • Joined: 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 November 2012 - 05:55 AM

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.
.

This post has been edited by venerable13: 25 November 2012 - 06:00 AM


#4 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,322
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 November 2012 - 09:12 AM

View PostKelsenellenelvian, on 25 November 2012 - 05:50 AM, said:

Can you please post the wpi log?


#5 User is offline   venerable13 

  • Group: Members
  • Posts: 4
  • Joined: 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 25 November 2012 - 09:51 AM

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.

This post has been edited by venerable13: 25 November 2012 - 09:51 AM


#6 User is offline   an3k 

  • Junior
  • Pip
  • Group: Members
  • Posts: 95
  • Joined: 15-June 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 December 2012 - 10:30 PM

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 User is offline   venerable13 

  • Group: Members
  • Posts: 4
  • Joined: 25-November 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 December 2012 - 07:57 AM

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 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 31 January 2013 - 12:17 PM

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)

Quote

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

This post has been edited by myselfidem: 15 February 2013 - 03:39 AM


#9 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,384
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 15 February 2013 - 03:48 AM

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

This post has been edited by myselfidem: 15 February 2013 - 03:54 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy