Access remote server using C# windows app

P

pratcp

I have a remote server (a shared hosting webserver) where I have few
users ftp some flat files. I need to access these files using a windows
app/windows service written using c# and run it on a nightly basis.

How do I access the remote server in a c# windows service or console
app? The reason I need remote access is that I cannot have any type of
schedule jobs running on a shared hosting webserver. I was
contemplating on using SSIS sql 2005 packages, but again the hosting
provider will not allow me to run sql server agent and execute jobs on
the database server.

Any thoughts will be really helpful...
 
M

Michael Nemtsev

Hello Pratcp,

Use FtpWebRequest class to manage files

P> I have a remote server (a shared hosting webserver) where I have few
P> users ftp some flat files. I need to access these files using a
P> windows app/windows service written using c# and run it on a nightly
P> basis.
P>
P> How do I access the remote server in a c# windows service or console
P> app? The reason I need remote access is that I cannot have any type
P> of schedule jobs running on a shared hosting webserver. I was
P> contemplating on using SSIS sql 2005 packages, but again the hosting
P> provider will not allow me to run sql server agent and execute jobs
P> on the database server.
P>
P> Any thoughts will be really helpful...
P>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
P

pratcp

Thanks Michael. FtpWebRequest seems promising as it allows for async
operations as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top