Forum > General
A few questions from a newbie
Trenatos:
Hey everyone,
My name is Marcus and I'm new to Lazarus and FPC.
I know the basics of C and am not completly new to programming in general.
Now, I have a project in mind that will require a few things and I was hoping some kind soul here could point me in the general direction of where to find information, I'm not asking for someone to code my project for me, I want to learn FPC, Lazarus, FCL and so on.
Ok, so here are some of the parts my project will need: FTP connectivity, sending and receiving files through said FTP connection, the ability to pick a folder through a popup window (Classic choose-a-folder thing common in windows), the ability to scan through that folder for picture files and be able to copy the filenames to a separate file to keep track of things, the ability to write a text-file with settings and such.
Here's what the project is for:
I'm building a website for a business and they're intent on wanting some simple ways of updading certain parts so I want to build a program where they can choose a folder, which is a folder with images that goes into a list for a slideshow on the site, and I might want to make a textfield where they can update some text on the site, all of which goes into a html file or somesuch that would then be uploaded to the website through the FTP functions.
If some kind sould would point me in the general direction of help would be awesome.
theo:
For me It's not exactly clear "where you are".
--- Quote from: Trenatos on July 08, 2010, 03:42:29 am ---I know the basics of C and am not completly new to programming in general.
--- End quote ---
Would you like to learn the basics of Pascal first?
http://www.marcocantu.com/epascal/English/default.htm
http://www.taoyue.com/tutorials/pascal/index.html
http://www.freepascal.org/docs.var
Probably the best short introduction in OOP (Delphi) is here (german language):
http://www.delphi-treff.de/tutorials/objectpascal/delphi-crashkurs/objektorientierte-programmierung/
Trenatos:
Hi theo,
Like I said, I know the basics of C, and I know some: html, php, css, basic
Thank you for the links, I will be reading through them.
But do you have any advice on for example where to find information about an FTP FCL?
Or how to bring up a window to choose a folder (Not a normal file-browser window) etc. just to give me a push in the right direction of where to find this information?
Laksen:
FTP you could do through either Synapse or lNet.
The folder list can be done with TSelectDirectoryDialog, if you need to find a folder on some local drive. If you need to pick a folder on the ftp host, then it's probably much harder
Trenatos:
Thank you, Laksen :)
I was thinking about Synapse for the FTP functionality.
No I need a local folder, which should then be sent to the ftp along with a separate file that goes in a different folder.
I need to figure out how to manipulate files in FPC/Lazarus too.
This is an interesting project with, for me, lots of parts that needs to function for a end user that is a client. :)
Navigation
[0] Message Index
[#] Next page