NEED HELP!!!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i am developing a program (in c#) and it involves accessing a web site,
dowloading tfiles from this website, then deleting them off the site, (the
site is an online manager for my fax machine), wat is teh best way to
approach this kind of project.

if anyone can give me any kind of advice regarding this, that would be very
helpful

Thanx,

thaynann
 
Hi,

Well, either a regular website or a web service will solve your problem.
It's very straigh forward, what is your problem?

cheers,
 
I have discovered 2 .NET classes, HttpWebRequest and HttpWebResponse, lookin
over these, they might just be what i need to do.

the app is meant to be running in the background on a server (every few
mins) to copy the file ans remove them automattically, i am kinda new to c#
development involving aspects of web services as well...will all this work
with a Windows Form Application, so that it can be viewed when running to
show wat files have been copied and wat files are left, or do i need to make
the application a Web Service project.

I know that these questions may seem rather mundane, but any help that i can
get will be of great assistance.

Thanyann
 
Hi,

A win app wil do fine, make it minimized and visible only in the system
tray, you could change the icon when a new file is received. use the
HttpXXXX classes for this.

Well, I think you have all what you need, happy coding :)

cheers,
 
thanx for ur help, i seem to have got my app, with basic functionality at the
moment, i am just stuck on how to make a POST, i have teh code that
getRequestStream, and writes it to the stream, but i am not sure what to add
to my POST data, the only examples i have come across are only sending
usernames and passwords, i dont need those, i am tryin to move to a new page
in my browser, but the command attached to the button that changes pages is a
javascript function, an m not sure how to fire that function to get the
browser to 'turn' pages
 
Back
Top