
Open
Posted
•
Ends in 6 days
Paid on delivery
Fix Image Download Functionality in LibreOffice Calc VBA Macro I have a working LibreOffice Calc macro that successfully generates product descriptions, keywords, and DALL-E images via OpenAI API. However, the image download functionality is failing due to network/DNS resolution issues on my Windows system. What's Working - OpenAI Vision API calls (product descriptions) - OpenAI GPT API calls (keyword generation) - DALL-E 3 image generation (returns valid image URLs) - All API integrations are functional - Spreadsheet data processing and writing The Problem DALL-E generates valid image URLs, but downloading them to local disk fails with DNS/network errors. All attempted download methods fail with the same root cause: curl: Exit code 6 (couldn't resolve host) PowerShell: Blocked by execution policy, and when bypassed, DNS resolution fails VBScript with MSXML2: "Server name or address could not be resolved" Windows URLDownloadToFile API: Error code 0x800C0005 (DNS resolution failure) WinHTTP/MSXML2 COM objects: Connection failures System Environment - OS: Windows (cmd shell) - Application: LibreOffice Calc (not Excel) - Language: VBA/LibreOffice Basic - curl version: 7.55.1 (installed but DNS fails) Requirements - Fix the DescargarImagenLocal() function to successfully download images from DALL-E URLs to D:\macro_images\ folder. Must Have: - Download images from HTTPS URLs (DALL-E Azure blob storage) - Save as PNG files with specific naming convention - Work within LibreOffice Basic/VBA environment - Handle special characters in URLs (Azure SAS tokens with &, %, =) - Return local file path on success - Work despite apparent DNS/network restrictions on the system Current Code Structure - File: [login to view URL] - Function to fix: DescargarImagenLocal(sURL, sCarpetaDestino, sNombreArchivo) - Returns: Local file path string or error message - Called by: GenerarImagenesProducto() which generates 6 images per product Deliverables - Working DescargarImagenLocal() function that successfully downloads images Brief explanation of why the solution works when others failed - Any system configuration changes needed (if applicable) Files Available - Complete macro code with all context - Error logs showing DNS resolution failures Budget: 10$ Urgency: High - macro is 95% complete, only download functionality missing Ideal Freelancer Experience with VBA/LibreOffice Basic Knowledge of Windows networking APIs Experience with HTTP downloads in restricted environments Problem-solving skills for network/DNS issues Familiarity with COM objects and Windows APIs Additional Notes The macro processes multiple rows, so the solution must be reliable and repeatable DALL-E URLs expire in 2 hours, so downloads must happen immediately Manual browser downloads work, suggesting the issue is specific to programmatic access All previous attempts have been documented with detailed error logs To Apply: Please describe your approach to solving the DNS/network restriction issue and any similar problems you've solved before.
Project ID: 40187948
Open for bidding
Remote project
Active 56 yrs ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Carcas, Venezuela
Member since Oct 14, 2025
$10-30 USD
$10-30 USD
$10-30 USD
$30-250 USD
$10-30 USD
₹12500-37500 INR
$30-250 USD
₹600-1500 INR
$250-750 USD
$200 USD
₹750-1250 INR / hour
$10-100 USD
$25-50 USD / hour
$10-30 USD
$30-250 USD
$10-30 USD
₹750-1250 INR / hour
$5000-10000 USD
₹12500-37500 INR
$30-250 USD
$30-250 USD
₹400-750 INR / hour
$250-750 USD
$250-750 USD
$2-8 USD / hour