ariya / phantomjs

Scriptable Headless Browser
http://phantomjs.org
BSD 3-Clause "New" or "Revised" License
29.47k stars 5.75k forks source link

File download #10052

Closed ariya closed 4 years ago

ariya commented 13 years ago

alexsa...@gmail.com commented:

It would be good to accept (and save) 'Content-Disposition: attachment; filename=' content.

Disclaimer: This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #52. :star2:   40 people had starred this issue at the time of migration.

rakeshnambiar commented 7 years ago

@ankitgr8 .. Many thanks... Will come back to you in case I am facing any issue.

rakeshnambiar commented 7 years ago

@ankitgr8 .. I am working in Windows10. Do you know where is the PhantomJs default download directory?

ankitgr8 commented 7 years ago

Not sure what is the path, but u can print the path in your js script, to get the details..

geotheory commented 7 years ago

If you hit this wall building on Macbook (Xtools):

Xcode not set up properly. You may need to confirm the license
   agreement by running /usr/bin/xcodebuild without arguments.
ERROR: Failed to build PhantomJS! Configuration of Qt Base failed.

First double-check you have full Xcode (not Command Line Tools version). Then if you fail to build the following should workaround:

cd /Applications/Xcode.app/Contents/Developer/usr/bin/
sudo ln -s xcodebuild xcrun
yogeshmsharma commented 7 years ago

I am also looking for setting up PhantomJs default download directory. So when I click on element it should download in that directory. Please suggest

ankitgr8 commented 7 years ago

Windows or Linux

On 04-Dec-2017 5:50 PM, "Yogesh" notifications@github.com wrote:

I am also looking for setting up PhantomJs default download directory. So when I click on element it should download in that directory. Please suggest

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ariya/phantomjs/issues/10052#issuecomment-348946587, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGCQGrCQq_rHtduT7NCIH4tbpf5Gpnwks5s8-N9gaJpZM4Ajhpl .

yogeshmsharma commented 7 years ago

on both Windows as well as Linux.

ariya commented 4 years ago

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed. In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

kriegaex commented 4 years ago

😱