• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Searching files from a drive and displaying them in an window

 
sankar dunga
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

It might be the simple question. Please give me best answer.

I have an external disk. I want to search for what files exists in that disk and wants display them in an window(ie in GUI).
And later i want select one or more files from them and then want read them to my local host memory.

And later can i delete those files from external disk?

Please give answer how can i do it?

thank you
with regards
sankar
 
Hunter McMillen
Ranch Hand
Posts: 492
Firefox Browser Linux VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried?

Hunter
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12015
24
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is rather broad to get much help here. What specifically are you having trouble with? What have you tired, and how is it working?

Folks here love to help you solve your problems, but they don't really like to write your code for you.

As with all projects, I would suggest breaking it down into smaller, discrete parts. The various tasks I see that are all independent of each other are:

1) get a list of files from a given directory
2) Given a list of files, display them
3) Allow a user to select one or more files from a GUI
4) given a list of files, read them into memory
5) given a file, delete it.

Each and every one of these five items can be written without any of the other four working. Write the methods independently of each other. Test each until you are 100% sure they are bullet proof, then test them all again and again.

Only when you are 1000% sure they work should you start wiring them together.
 
Joanne Neal
Rancher
Pie
Posts: 3742
16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may find this helpful for steps 1 -3.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic