Downloading files off Internet

Hi there,
I'm trying to download zip files off an Internet site and so far all I've ound after an hour of trawling the net is some code to get to the file which I then incorporated into my program. The output is valid so I think I'm on the right path. The site dowsn't require authentication so all I want to do is download that file. If anyone has a site that I can visit to get more info on this or help me in the right direction. Not sure if I need to use sockets or if I can simply save the file that is being viewed. The code that I have so far:
        public FileDownload(String fileName) throws MalformedURLException, IOException {
            URL url = new URL(URL_ADDRESS + fileName + URL_FILE_EXTENSION);
            URLConnection connection = url.openConnection();
            printinfo(connection);
        public static void printinfo(URLConnection u) throws IOException {
            // Display the URL address, and information about it.
            System.out.println(u.getURL().toExternalForm() + ":");
            System.out.println("  Content Type: " + u.getContentType());
            System.out.println("  Content Length: " + u.getContentLength());
            System.out.println("  Last Modified: " +
                               new Date(u.getLastModified()));
            System.out.println("  Expiration: " + u.getExpiration());
            System.out.println("  Content Encoding: " + u.getContentEncoding());
        }

Thanx a million,
I really feel like an idiot but I'm having problems with the file itself. When I run the program it gives the following error:
Exception in thread "main" java.io.FileNotFoundException:
Exception in thread "main" java.io.FileNotFoundException: C:\Downloads (Access is denied)Not sure if I made created the path name correctly and it would really be a great help if you could tell me how to point the path to the applications directory.
The path is a global variable:
private static final String FILE_PATH =  "C:/Downloads/";
>File f = new File("The path & file name that you want
to save it");I then used that variable in the code that you provided like this:
File f = new File(FILE_PATH);

Similar Messages

  • Can t download files from internet to my Ally

    i ve had my Ally less than week.......when i try to download files from internet i get error msg that download failed.....i tried to click link and hold link and choose save and still download fails........help me.......please

    Try to Clear your Temporary Internet Files and Cookies. To delete your temporary internet files on the Lg Ally follow the directions below:
    From the Home screen, touch the applications tab (bottom of the screen).
     Touch Browser.
    Press the Menu key.
    Touch More
    Touch Settings.
    Touch Clear cache.
    Some visited website content stored on the device. The cache enables the browser to download only the content that has changed since the last time a website was visited. Since the browser only downloads changed content, pages are loaded faster.
    Touch OK.
    Touch Clear history.
    A listing of URLs (website addresses) that have been recently visited.
    Touch OK.
    Touch Clear all cookie data.
    Some visited website content stored on the device. The cache enables the browser to download only the content that has changed since the last time a website was visited. Since the browser only downloads changed content, pages are loaded faster.
    Touch OK.
    You can also find this information on the Verizon Wireless website HERE
    Hope this helps!

  • CANNOT OPEN ATTACHMENTS OR DOWNLOAD FILES OFF OF WEB

    CANNOT OPEN EMAIL ATTACHMENTS OR DOWNLOAD CERTAIN FILES FROM INTERNET WITHOUT MESSAGE SAYING MY SECURITY SETTINGS WONT LET ME. I HAVEN'T MADE ANY CHANGES TO FIREWALL OR SECURITY ESSENTIALS. 

    HP AMD Phenom II (e922y tower) with MS win 7.  recently not able to open outlook attachments or download files from internet or attachments, don't know what has changed.  downloads enabled in permissions. when i click on download of save attachment nothing happens. anyone had this issue?

  • Cannot Download files from internet on my main account

    I have had my macbook for about 3 months, and recently i havent been able to download files from the internet on my main account...i have had to switch between accounts. Is there anyway to fix this? Or to transfer all my files from one account to another? any help would be greatly appreciated
    Justin

    That sounds odd...
    Any error messages? What happens when you try to download an item? Have you tried downloading to a specific, non-desktop, folder?

  • RV082 Downloading files and internet issues

    Hi all wondering if someone can help me before i finally give up.. I have an rv082 which i have recently installed in my work. Users on the network including myself cannot download anything off the internet with out it timing out and also streaming media stops after maybe 2 minutes..
    Also we use skype and msn messenger for communicating with other people on the internet and we have been missing out conversations on this.
    The router is on the latest firmware also
    Can anyone help.
    Thanks

    You may need to adjust the MTU in the WAN settings of your router. I have found several instances where the MTU needed to be set to a lower value than 1500 (Auto) for stable internet connections. A simple and effective way to test the MTU can be found at the following link:
    http://help.expedient.com/broadband/mtu_ping_test.shtml
    When you have found the highest MTU that does not fragment packets, set that value in the router at Setup> WAN Connection Type> WAN 1.
    Please reply and let us know if this helps.

  • MacBook does not respond when I try to download files off the internet

    I have a MacBook OS X 10.5 Leopard and recently I have been trying to download and open things from the internet and they won't download. For example, I tried to download Safari (I have FireFox) and the box that says save file as... came up so I hit okay and usually the application opens but it didn't. This has happened several times over the past week and I do not know how to fix it.

    If you have access to another PC, download the following scanner in a removable device:
    http://www.microsoft.com/security/scanner/en-us/default.aspx
    And run it in your PC and perform a full system scan.

  • My iMac freezes up when download file from internet

    When I download any filed from the internet (using safari or firefox) my computer freezes up.  Help!

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports 'com.autodesk.AutoCad com.evenflow.dropbox com.google.GoogleDrive' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[45]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n\t(%s)\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}')printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ s/ *:$//;x;s/\n//;/Apple|Capacity:|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;};/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;} ' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/:/;END { if(NR<100)print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}')print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR==2'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' ' s/^.{52}//;s/ .+//p ' ' /Launch[AD].+\.plist$/;END{if(NR<100)print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/;END{if(NR<100)print "/System/"};' '/^\/usr\/lib\/.+dylib$/p' '/\/etc\/(auto_m|hosts[^.]|peri)/s/^\.\/[^/]+//p' ' /\/(Contents\/.+\/Contents|Frameworks)\//d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| ","||kMDItem'${p[35]}'=");sub("^.."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' /lR/ { if($2<='${p[25]}')print $2;} ' ' BEGIN { FS=":";} $3~/(sh|ng|ic)$/ { n=split($3,a,".");sub(/_2[01].+/,"",$3);b=b"\n"$2" "$3" "a[n]" "$1;c=c$1;} END { d="sort|tail -n'${p[38]}'";print b|d;close(d);if(c)print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"file -b "F|getline T;if(T!~/^(A.+ E.+ text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' /:/{$0="'"${p[28]}"'"};1;' '/ en/!s/\.//p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status "-F '$Time $Message' -k Sender kernel -k Message Req 'Beac|caug|dead[^bl]|FAIL|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL'" '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/*/*.{BS,Bas,Es,OSXU,Rem}*.bom' '{/,}L*/Lo*/Diag* -type f \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;' '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto_master,{cron,fs}tab,hosts,{launchd,sysctl}.conf} /usr/local/etc/periodic/*/* .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n 'syscall::'${p[33+j]}':return {@out[execname,uid]=sum(arg0)} tick-10sec {trunc(@out,1);exit(0)}'";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP RSSI Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear;};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ test "$v"&&echo "$_";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;A0;{ A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D22 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D23 24 24 32 31;D13 25 37 32 33;A1 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D23 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;D22 32 31 43 38;D23 20 42 32 41;D23 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-  
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with "Model Identifier." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • When downloading files by internet download manager sometimes shows the file name of downloaded video as videoplayback instead of the original file name

    when downloading video files by the ( internet download manager) most of times the file name downloaded as ( video playback ) instead of actuly name of the files
    please let me know how to solve such problems?

    can you please also contact IDM support about it?
    * http://www.internetdownloadmanager.com/register/new_faq/main.cgi

  • Problem downloading file in Internet Explorer

    Hi, I have a problem with Internet Explorer. I want to click on a link that references a file with .dat extension, then select "Open" option and view the file in Notepad (I have the mapping with .dat files and Notepad). When I click on it, if I select "Save" option, the file is stored in disk correctly. But if I select Open opcion, Notepad opens with an error dialog:
    Can't find file C:\Documents and Settings\TANDIL\Configuraci�n local\Archivos temporales de Internet\Content.IE5\LZR539BK\Mensuales.dat
    Do you want to create a new file?
    I think that IE doesn't copy the file correctly in temp directory ...
    In my java class I set the response like this:
         resp.setContentType("binary/octet-stream");
         resp.addHeader("Content-Disposition", "attachment; filename=\"" + lote.getNombreArchivo()+ "\""); //el nombre de estos archivos son del tipo XXXXXXX.dat
         OutputStream out = null;
         try {
              out = resp.getOutputStream();
         } catch (IOException e) {
              e.printStackTrace();
    out = new java.io.BufferedOutputStream(out);
         copy(lote.getArchivo().getBinaryStream(), out); // lote.getArchivo().getBinaryStream() : es un array de bytes que se copian en la salida
         out.close();
    I set the response in differente ways, but I can't solve the problem ...
    resp.setContentType("application/octet-stream");
    resp.setContentType("text/plain");
    resp.setContentType("aplication/force-download");
    Thanks in advance
    Regards

    Hi,
    I think you will get better answers if you post this question in a web related forum. The problem is not related to java but rather to http/html.
    Kaj

  • Downloaded file from internet and now I can't find it

    So my dumb ***  downloaded a file from the internet today from an untrusted source and now I can't find it anywhere except for when I click on the downloads button on the safari web browser (i.e. )
    I clicked on the file it shows that I downloaded and this pops up
    "Safari can’t show the file “4-More-PeopleAreUsingCellPhonestoListentoOnlineRadioinTheirCars.xlsx” in the Finder because “4-More-PeopleAreUsingCellPhonestoListentoOnlineRadioinTheirCars.xlsx” has moved since you downloaded it."
    I looked for it in the finder window under the "downloads" folder, looked under "All my files" sorted it by the date added, clicked on the magnifying glass next to the only place I can see it and the file still didnt show up in finder.
    help, anyone?
    I'm running mountain lion on a mac book pro and am but a mere seed in the red wood forest of all the trees supporting this site.
    Random fact of the day: I come to this site often and it has proven itself more than useful but have never posted up a discussion board before so this is my first, hope the screenshots help.
    <Edited By Host>

    Eustace Mendis wrote:
    OK. I downloaded the file. It ended up on the desktop - as it is supposed to since that is my instruction to Safari - and I opened the file with Excel.
    It consists of this priceles gem of information. That's it, nothing else.
    More People Are Using Cellphones to Listen to Online Radio in Their Cars
    Percentage of Cellphone Owners Who Have Listened to Online Audio in a Car by Listening to the Stream from a Cellphone Connected to a Car Stereo
    2010
    6
    2011
    11
    Source: Arbitron, "The Infinite Dial 2011," April 5, 2011.
    Pew Research Center's Project for Excellence in Journalism
    2012 State of the News Media
    I have no idea why it disappeared from your Mac. But I trust this reassures you there does not seem to be anything malicious about the file.
    You might want to search on your Mac using some of the key words in the file.
         Not that I am denying the results but out of curiousity how did you manage to download and locate the file when I didn't provide you with the website from which I downloaded it from?
         The thing is, what I supposedly downloaded wasn't supposed to be an xlsx file nor any type of text file for that matter. I got it from a website called ryushare.com.
    I also tried to search for it with the use of the key words in the file you found and no luck. Any way to know for a fact it's not going to affect my computer? Also, any way I can look for the file and delete it through terminal?
    Thanks again Eustace

  • How to get the functionality of downloading files from internet on my jsp

    i have a jsp page that lists me the names of the zip files in a paricular directory on a remote computer over the network.wat i want to do is download those files.so when i click on them it gives me "page cannot be displayed" error.but when i go to that remote machine and run the same jsp to list me the files and download the same it allows me to download the files.but i want the same functionality over the network.so i think that that link is looking for that file locally instead of looking for them over the network.so is it so that i need to give the ip of the remote machine from where i want to download the file and if yes then how and if no then is there any way that i can do it some other way.
    in short this functionality is like downloading some file from the net like downloading software or music....i want to incorporate the same on my jsp.please guide me.

    You can try this, Give the URL from where you want to Download.......
    import java.io.*;
    import java.net.*;
    public class DnldURL {
    public static void main (String[] args) {
    URL u;
    InputStream is = null;
    DataInputStream dis;
    String s;
    try {
    u = new URL("http://username:[email protected]:8080/files/for/me/file.txt");
    is = u.openStream(); // throws an IOException
    dis = new DataInputStream(new BufferedInputStream(is));
    while ((s = dis.readLine()) != null) {
    System.out.println(s);
    } catch (MalformedURLException mue) {
    System.out.println("Ouch - a MalformedURLException happened.");
    mue.printStackTrace();
    System.exit(1);
    } catch (IOException ioe) {
    System.out.println("Oops- an IOException happened.");
    ioe.printStackTrace();
    System.exit(1);
    } finally {
    try {
    is.close();
    } catch (IOException ioe) {
    Here in the URL we will give username and password, if the remote system is password protected.

  • Downloading files from Internet

    Hi,
    Can Someone Help me With This Problem ....
    I have an Application that gives the User an option to download content from a given url address : eg www.yahoo.com
    (This refers the yahoo home page);
    It should be able to download the html source code, images, sound files or any file that is been used in that url address. So I can recreate the complete html page to show the user the web page that was downloaded.
    I used a file InputStreamReader to download the html source code.
    But I have no idea on how to download the files that html page is using
    image files and sound files etc etc.
    Can Anyone Tell Me how ............
    Shirantha.

    You will need to parse the html file looking for
    <a> tags and find the value of the href attribute.
    You will then have to decide if it is an absolute or relative path, and
    build the appropriate new url request.
    Goto 10
    This isn't a particularly easy thing to do, as
    (1)you may not know when to stop following links
    (2)url's maybe servlets,etc, that will fetch html pages, which the local versions will need to be patched to point to the generated html files, not the servlet url.

  • High CPU usage when downloading Files

    Hi there,
    i noticed somethign strage when I download file off the internet or intranet. As soon as my download speed surpasses 1MB/s the CPU usage increases. To be exact the process kernel_task.
    For example:
    2,5 MB/s -> ~30%
    10 MB/s -> ~60-70%
    10+ MB/s -> ~80%
    This is really annoying and I have now clue how to fix this. The Harddrive is a SAMSUNG HM320JI with a Journaled HFS+ partition. No Virus Scanner or anything. Also just reinstalled Snow Leopard yesterday.
    Hope someone can give me some useful information how to fix this.

    Hiya,
    could it have something to do with the write speed/ cache/ram? On a "slow" disk, or one that is nearly full or one that is partitioned, it will take a great deal more ram and cache to "digest" the faster download and write it onto disk. I tend to do downloads to a separate drive. Have you got one? and can you repeat the high CPU usage when downloading / saving to the external drive? I note your drive might have 5,400 rpm, with "just" 8mB cache and 320 GB (quite a few SATA's have 7,200 rpm and 32 mB cache).
    NB: If anything, I found SL more efficient, especially on my 4 year old Macbook, which is running much faster and has got more responsive after installation of (full version of) SL.
    Message was edited by: Alexandre

  • Can't download file from any browser and download manager

    i confused wit my MBP, becaus MBP can't download file from internet ( via USB modem & Wi-fi)..
    can you help me to fix it ??
    i use iGetter, and it not responding to download, safari too..

    I was able to download the trial from rarlab.com. What happens when you click on a download? You need to make sure you select to download the Mac version. The .exe files do not run on a Mac.
    BTW, you might want to check out GUI Tar  https://www.macupdate.com/app/mac/14503/gui-tar
    The other two sites also work for me. What exactly happens when you click on a link to download? Do you know how to find your downloads?
    How to download YouTube videos using Safari or Firefox
    6 Different Ways to Download Videos from YouTube to your Mac

  • Downloading Files When Clicking Open or Save Nothing Happens

    Hello
    I work as part of a IT team within a organization that has 200+ Windows 8.1 devices, recently we have been experiencing a problem when downloading files using Internet Explorer 11.
    You click the file to download (word document,PDF etc) and you get the yellow bar at the bottom asking you to open save etc but when you select any of the options nothing happens and this is becoming increasingly more common.
    I cant believe we are the only people to have this issue but i have searched and cant find any answers.
    I hope somebody can help us.
    Thanks,

    Hi Bristow2013,
    What is the download link, could you please share it and allow me to have a test?
    The download option works at my side(Checked with downloading applications),  please take a look at the
    View Downloads under Tools at the right-up corner of Internet Explorer, or tap
    Ctrl + J, check and see if the downloads is available there.
    Further, also check the add-ons in Internet Explorer, more information, please see:
    Download files from the web
    Best regards
    Michael Shao
    TechNet Community Support

Maybe you are looking for

  • I have an iphone 4 contract that's up in july 2013, but my iphone is broken...can i buy a used phone and activate it?

    I'm not under warranty, insurance or anything like that. The reps at the store when I bought my phone were not very clear about really anything with me and I'm just not sure if the contract is ONLY for iphones..? I was thinking of getting a Samsung o

  • Insert Query - Logic?

    Table Name : WLCustAct_Emp Structure and data CustLifeNo WLActCatId WLDayId WeekNo WLEmpTypeId 330374 FRI 1 330374 FRI 1 C 330374 M FRI 1 330374 M FRI 1 330374 M FRI 1 C 330374 FRI 1 330374 FRI 1 330374 FRI 1 C 330374 FRI 1 330374 D MON 1 330374 M MO

  • Ibook G4 12 inch Crashing

    I have a iBook G4 12 inch and it just started crashing. i reinstalled the 10.4.2 several times, i check the HDD and it passes. Could it be the memory? if so is it soldered to the MB? i check the usual spot under the keyboard and it empty. It even cra

  • Inserting double-byte (Japanese) characters

    I am trying to insert a < 30 character Japanese string into a table with a column of type VARCHAR2(30), but I get the Exception: ORA-01401: inserted value too large for column which is fairly self explanatory....... I'm using the thin driver against

  • 06 IMovie question on resizing a clip

    How do I resize a video clip from 600 to uner 100m? It's not even a minute long. I have Imovie, streemclip and quicktime softward. thanks