Using unix to try and get url file from c++

Hi,
Can I use unix to try and get a url file and read it from c++??
eg given a url and filename , can I read it, from c++???

The various unix standards do not, as far as I know, provide any URL resolution APIs. You can of course build your own, using sockets and file io, but you would have to build your own protocol stacks for http, https, ftp, etc. This is a pretty big challenge.
A better approach is to use an existing third party library that has already implemented these bindings. cURL is one such library, and has API definitions for many languages, including C++:
http://curl.haxx.se/libcurl
It is released under a very generous license, so you should be able to use it in almost any context. You will need to either download and compile the sources, or get prebuilt binaries somewhere.

Similar Messages

  • How to check image GPS data and get image file from image field

    Hello,
    I have some trouble and want to fix this problem.
    1. I want to validate image file before its attached in image field about the image file have a GPS data or not. Have any way that can be check about image has contained a GPS data?
    2. After validate image and PDF form is upload to the server. I want to get image file that embed in image field, because I have to extract image from PDF form and store this image in project image folder. If this topic can be fix by code script please give me some example code.
    Thakyou for every comment and suggestion
    Best Regards,
    Mai

    Hi Naill,
    First I have to say thankyou for your answer.
    About my (1) question, My image fields have set to be a embedded data and I try to test many example script of image fields.I can get image content type, image size. But that not work when I used ImageField1.desc.embeddedHref.value. It's response as "Unknown Embedded URI". Therefore, image field is and embedded data. How can I access filename?
    (2) In that forum. As I see, his problem is about how to automate change image field with href image file. But I want to extract an exist embedded image in PDF form to normal image file with original metada (such as extract image filed to .JPEG with GPS data. Same as before attached in PDF form.). There has any concept or solution in this problem?
    Best Regards,
    Mai

  • Using AMP to download and save FLV files from web sites?

    I thought I had heard months ago that this new media player was going to allow you to download and save the FLV files from web sites like YouTube and others, where a direct download while possible, isn't the easiest thing to currently do. But I don't really see any way in this new media player to download and save files from web sites....it's plenty willing to play them if they're already saved on your hard drive, but I thought one of the reasons for Adobe building this was to make it easier to get them in the first place?

    I'd have to agree. This is one of the most useless products I have seen from a company of this standard. Why they continue to provide this product as an example of what can be done with AIR, is bewildering.  Myself and others have posted over and over again that the player deletes the saved movies at some random time, an hour or two hours after they appear to be saved.
    What is the point of having a 'saved' icon the CD ICON if that movie will be deleted   FOR NO BLOODY reason.  I just wasted 400 mb of my quota dowloading moves 3 times...!! just to realise that the application deletes them from the VERY CACHE that it copies them to.
    Adobe, if this is what I can expect while trying to view the tutorials for FLEX what will the development experience be like. Myself and others are fed up with posting this bug to Adobe, just to be ignored. How much stress to do you want on your servers before you WAKE UP.
    I have been in 4 meetings over the last 2 weeks and everyone has remarked about the 'experience' trying to view these tutorials.
    Wake up to yourself. If you want to charge $500 for FLEX then atleast fix this crappy player.
    PS. I note that this player is supposedly built with Flex and that the list control truncates rather than wraps, in addition, no 'tool tips',  dates are not localised, the video keeps unpausing itself each time I return from the downloads page, no settings for where files should be cached. Occasionally the underlining (grey) window bar appears over the top of the flash window edge.  I've used the application for an hour or so...
    Where is the alternative... I'll be glad when Adobe get some real competition.. so that they pay attention to input.  A big wastefull site if all support does is read and ignore posts.!!!!!!!!!!!!

  • I installed the InDesign CC Testversion and now i try to open INDD-Files from earlier Version. Always i get the error "This file is made by an earlier Version...." but it´s CC that is the latest Version. What is the problem ? Should i have to convert the

    I installed the InDesign CC Testversion and now i try to open INDD-Files from earlier Version. Always i get the error "This file is made by an earlier Version...." but it´s CC that is the latest Version. What is the problem ? Should i have to convert the files ?

    Adobe has been using confusing version names for at least five years.
    There are now two versions labeled CC, version 9 and version 10 (also known as CC 2014). Version 10 is the latest, and if you attempt to open a version 10 file in Version 9 that is not fully patched you will get an error message telling you that the file cannot be opened. The latest patch for version 9 should use a cloud-based service at Adobe to convert version 10 files to IDML and allow you to open that.
    I suspect you may be using an older operating system. Version 10 requires that your system runs at least OS X 10.7 or Windows 7 SP1 and if you are not it will not even be offered to you.

  • HT1351 Whenever I try and eject my iPod from iTunes after it is done syncing a box pops us that says "The iPods' 'Owners iPod' cannot be ejected because it contains files that are in use by another application".

    Whenever I try and eject my iPod from iTunes after it is done syncing a box pops us that says "The iPods' 'Owners iPod' cannot be ejected because it contains files that are in use by another application".iTunes is the only thing open on my computer so I don't understand what this could mean.  If anybody could help me out that would be great. Thanks

    Hello, cgtyoder. 
    Thank you for visiting Apple Support Communities. 
    Try resetting the iPod and power cycling your Mac to see if this message disappears.  If the issue persists you may need to restore the device to factory settings.  The article below will walk you through both these steps.
    How to reset iPod
    http://support.apple.com/kb/ht1320
    Cheers,
    Jason H.

  • Can anybody please tell me i'm having so much trouble with app iphone , i've set up an id and billing .. but every time i try and get an app it says i haven't used account and goes through all billing crap again

    why when i try and get an app does it tell me i haven't used the account before and try and take me through all the billing crap again ???? i haven't used it but how are you supposed to use it if it won't let you ???? this is my first i phone

    Flash Player is free, and you might ask for help in Flash Player
    This forum is about the Cloud as a delivery process, not about using individual programs... and as far as I know, Flash Player is a different, free, download
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Using Windows 8.2 and copying large files over USB 3.0 to Segate Backup Plus USB hard drive - I get the following error:-

    Using Windows 8.1 and copying large files over USB 3.0 to Segate hard drive -  I get the following error:-
    Error 0x80070079: The semaphore timeout period has expired
     Using Windows 8.1 with a 3 - 4TB USB Segate drive that is using Microsoft's bitlocker.    It seems I can copy small files w/out issues; however, copying large files and directories causes this error.  Connectivity is USB 3.0 from a Dell
    Latitue3 e6520 to Segagate drive. 
    Can anyone share fix or determine methodology to fix?

    Hi Joe,
    Was the error gone when you turned off the Bitlocker from this drive?
    If no, please refer to this similar thread's solution to resolve:
    https://social.technet.microsoft.com/Forums/windows/en-US/c3fc9f5d-c073-4a9f-bb3d-b7bb8f893f78/error-0x80070079-the-semaphore-timeout-period-has-expired?forum=itprovistanetworking
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • When I try to backup my files from photoshop elements 12 the "calculating total media size" box will only get as far as 46% and then freeze, how can I make it go to 100%

    When I try to backup my files from photoshop elements 12 the "calculating total media size" box will only get as far as 46% and then freeze, how can I make it go to 100%

    hi barbara
    thank you for your response, i appreciate it.  there's definitely nothing wrong with the mouse or trackpad, both work fine in every other application....i can also easily change size dimensions in other programs on my computer so it doesn't seem to be that either.  it seems like there is something weird going on in the way that pse and my mac are interacting with each other, just wish i knew what it was.    thank you again, wish me luck!

  • My daughter created a movie using iMovie, which she has worked on for a month, when trying to save it on a jump drive she was asked to "finalize" the movie...now there is no record of it at all. Any ideas how I could try and retrieve the file?

    My daughter created a movie using iMovie 11, which she has worked on for a month. When trying to save it on a jump drive she was asked to "finalize" the movie, and while this was running (quoted 13 hours!) she received an error message. Now there is no record of it at all, I have looked in trash etc. Any ideas how I could try and retrieve the file?

    The file cannot be reloaded in iMovie using File > Open Recent  ??
    There is no trace of the file in a Spotlight search?
    The project files are not under <user>/Movies/iMovie Projects ??
    Finalizing creates small, medium and large version of the finished video. It does take a long time, but it should not destroy your project files.
    Oh, and you really MUST have a backup of your files. You can expect to lose files if you have no other copies of them.

  • It can't find URL when i use HLS for vod and the vod file name contain Chinese.

    It can't find URL when i use HLS for vod and the vod file name contain Chinese。eg: http://127.0.0.1:8134/hls-vod/你好.mp4.m3u8.
    How does it support Chinese path?

    To answer the post title FireFox save all downloads automatically in the download folder, which you can find in the Documents folder. If you want to choose where to save your downloads go to tools>options>check always ask me where to save files.
    Secondly, I am assuming you have IE 8 installed as this is the only version that supports this fix that is currently not in beta. Go to control panel>internet options>advanced tab and reset the settings at the bottom. This may or may not fix the problem but it is a good first step.

  • I previously had PS CS5 Trial installed but removed it using both Control Panel Programs and deleting all files from the CS5 directory on Program Files.  I then installed a purchased product from Adobe disc using the serial number on the case.  But when I

    I previously had PS CS5 Trial installed but removed it using both Control Panel Programs and deleting all files from the CS5 directory on Program Files.  I then installed a purchased product from Adobe disc using the serial number on the case.  But when I try to launch it, I get a screen headed Photoshop CS5 Extended Trial.  It asks for the serial number and says that my trial has expired.  It rejects the serial number from the Adobe case saying "This Serial Number is not valid for this product".  It thinks that I still have the expired Trial Version installed.  How do I convince it (the program) that the Trial Version is long gone and the currently installed product was installed with a valid and accepted serial number????

    Let me know how it goes. Go into your Adobe account and register your serial number asap.
    https://www.adobe.com/account/my-products-services.html
    That way, should you lose it or you need support, it is on record that it's yours and you can fetch your s/n it from anywhere.
    There are too may sad stories here, where people forgot and the box is buried or lost.
    Gene

  • Every time I try to upload MOV files from my iphone 5s onto my adobe premiere elements on windows 8 i get 'the importer reported a generic error'

    every time I try to upload MOV files from my iphone 5s onto my adobe premiere elements on windows 8 i get 'the importer reported a generic error'

    jade harding
    What version of Premiere Elements are you using on Windows 8.1 64 bit? For now I will assume Premiere Elements 12 in a NTSC set up.
    Your iPhone 5s video is expected to be 1080p @ 30 progressive frames per second? Do you confirm that? Because of the source of your video, it is highly likely that you are dealing with a variable frame rate.
    Please give the following a try to see if you then have an "importable" product to take into Premiere Elements presumed 12/12.1.
    Download and install the free HandBrake program.
    http://handbrake.fr/
    Import your video file into the program.
    Make sure you browse to and set Destination (suggested Desktop location)
    Go to the Video Tab and set
    Video codec = H.264 (x264)
    Frame Rate = 29.97
    put a dot next to Constant for the Frame Rate
    Click on the Start at the top left of the workspace
    Wait for the "Queue Finished" to appear in the progress bar at the bottom left of the workspace.
    Then see if this H.264.mp4 (1920 x 1080 @ 29.97 progressive frames per second file can be imported into Premiere Elements 12 project with a manually set project preset of NTSC/DSLR/1080p/DLSR 1080p30@ 29.97.
    Details for setting manual project preset can be found in
    ATR Premiere Elements Troubleshooting: PE11: Accuracy of Automatic Project Preset (New Project Dialog) Setting
    The details that I have posted in this reply are customized for Premiere Elements and should work fine for you.
    We will be watching for your results.
    ATR

  • When I try and save a file Photoshop crashes "McAfee blocked suspicious activity-Buffer overflow"

    I never had this problem before. When i try and save a file Photoshop just fails instantly crashes and I get this error message from McAfee software:

    Well, you could just make your firewall behave and create an exception rule as the warning suggests... It's unlikely that this is PS itself, anyway. Eitehr it's a flakey driver or a cracked plug-in you may be using (not implying anything here, so keep cool) may produce a wrong hash value/ signature and trigger the alarm.
    Mylenium

  • I'm relatively new to Mac and want to try and get the most out of the new MacBook Air.   My wife and I have been sharing the same Apple ID. We both have iPhones - she has a 5 and I've got a 4S.   We only have one copy of iTunes and we have been sharing t

    I'm relatively new to Mac and want to try and get the most out of the new MacBook Air.
    My wife and I have been sharing the same Apple ID. We both have iPhones - she has a 5 and I've got a 4S.
    We only have one copy of iTunes and we have been sharing the account. (She doesn't really use the computer for anything beyond writing the odd weekend assignment.)
    Would I be better off setting her up with her own and making her as a separate user on the computer? Would this require much work?
    In recent times with updates, we have a few problems with the duplication of texts and that sort of thing. Both of our texts are stored on the computer and that sort of thing. Also, sometimes texts I send her are sent through to me  from her, if that makes any sense.
    Anyway, I don't really want to overly complicate matters when it comes to accounts etc, but I wanted to know if a fresh Apple ID would be the best thing or even a new user?
    Any tips etc would be greatly appreciated
    Thanks in advance
    MacBook
    I have this question too (0) Reply

    Your question is almost too much a personal one, begging the question "do we (husband and wife) feel comfy sharing one account on the Mac"   maybe thats why nobody answered you.
    It doesnt complicate anything, but it adds steps for switching accounts on the Mac/ purchases etc. of course
    since your question is mostly personal, ..I wont answer THAT part of it, but creating a new account is easy.....messing with switching back and forth is also a personal preference 'issue' as well.   I prefer to keep things simple, but...........you and yours,  I dont know.......
    http://support.apple.com/kb/PH11468

  • While upgrading Adobe Creative Suite CS4 ME into Adobe Creative Suite CS5.5 Design Premium, I get an error saying This serial number is not of a qualifying product, please try another. I used to be able to get a code from customer service but I can't get

    While upgrading Adobe Creative Suite CS4 ME into Adobe Creative Suite CS5.5 Design Premium, I get an error saying This serial number is not of a qualifying product, please try another. I used to be able to get a code from customer service but I can't get to the chat. Please advise!!!!

    MoeGhazal I reviewed your account and it looks like you have have upgraded from a CS4 volume license for Design Premium to a retail upgrade of Design Premium 5.5.
    I also show that you made two purchases of CS5.5 Design Premium but the second purchase was canceled.  Please make sure you are utilizing the serial number which ends in 7886.
    If you are using the correct serial number then it is likely the installer will not recognize your volume license CS4 serial number as being valid for an upgrade.  If you can contact our support team then you can be walked through an unlocking procedure to allow you to proceed with the installation.  You can contact our support team directly at Contact Customer Care.  You may want to try installing a web browser you have not previously utilized.  It is likely a toolbar or some other software application is affecting your ability to access chat support successfully.
    If you are still unable to reach our support team then please verify the information under your account is accurate.  If you can please then update this discussion after confirming this then I can request a member of our support team contact you directly.
    Again I would recommend reaching out directly if possible as it will be the most efficient method of resolving your current error.

Maybe you are looking for

  • XI Server Malfunction:Error in Receiver Adapter

    Hi all, We are facing a problem with the J2EE Engine of our XI server.No scenario is working,as the receiver adapter is not being called. For every scenario,the sender adapter works fine,but I get the following error on the receiver side: <b>'HTTP re

  • How do I create a 3D rotating images animation

    Hi, I'm trying to create an animation like the one on www.ibuypower.com I have 4 images that I would like to array in a similar 3d animation that users can manipulate like the one on this site. Any tips? Thanks

  • Printing the populated JSP page

    I'm generating the student reports of all the students in a class. I've the data in form of beans in my servlet. i can forward to a JSP and display the reports of the students one by one. as soon as the report is generated, i want the JSP page to be

  • Packet rate extremely high and crash my network

    ALL some of my tenant may have virus, or something, and let the packet rate to very high, and the traffic to internet, and crash the firewall also. what i can do for those trunk or switchport in order to lower the risk. i had try to stormcontrol broa

  • Save pdf file in background without gui_download

    Hi, we are generating a adobe interactive pdf document in background. Now we want to save the pdf document in backgroud task. I have read that i cannot use cl_gui_frontend_services=>gui_download because there is no presentation server available but a