• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

"." not a valid filename

Q&A Forum › Category: Arduino › "." not a valid filename
0 Vote Up Vote Down
Arthur Spurr asked 4 years ago

Hello there, uploaded code from module 4 Learn ESP32 with Arduino pages 136 to 138
error when compiling “;” is not a valid filename
2px; cursor: pointer;}”);
client.println(“.button2 {background-color:
#555555;}</style></head>”);  this line highlighted in red
// Web Page Heading
client.println(“<body><h1>ESP32 Web Server</h1>”);
 
any suggestions or what more information do you need to help me
thanks
Arthur

5 Answers
0 Vote Up Vote Down
Arthur Spurr answered 4 years ago

apologies, error is   “;” is not a valid filename, rather than “.” is not a valid filename

0 Vote Up Vote Down
Steve Mercer answered 4 years ago

I don’t have that book but I would check that you haven’t tried to copy/paste from the book itself. Whilst it is generally readable by the human eye the code would not format correctly within the IDE. Try getting the code directly from the download links given in the book.
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Arthur.
Did you proceed as Steve mentioned?
Don’t copy the code directly from the eBook. Copy it from the link available next to the code section.
Regards,
Sara

0 Vote Up Vote Down
Arthur Spurr answered 4 years ago

Yes, thanks for the advice Steve, despite my careful checks after copy and paste I had missed a couple of bits of unwanted text, all sorted now.
Regards

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Great.
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.