By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,812 Members | 1,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,812 IT Pros & Developers. It's quick & easy.

Access remote server using C# windows app

P: n/a
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...

Jul 8 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello Pratcp,

Use FtpWebRequest class to manage files

PI have a remote server (a shared hosting webserver) where I have few
Pusers ftp some flat files. I need to access these files using a
Pwindows app/windows service written using c# and run it on a nightly
Pbasis.
P>
PHow do I access the remote server in a c# windows service or console
Papp? The reason I need remote access is that I cannot have any type
Pof schedule jobs running on a shared hosting webserver. I was
Pcontemplating on using SSIS sql 2005 packages, but again the hosting
Pprovider will not allow me to run sql server agent and execute jobs
Pon the database server.
P>
PAny 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
Jul 8 '06 #2

P: n/a
Thanks Michael. FtpWebRequest seems promising as it allows for async
operations as well.

Michael Nemtsev wrote:
Hello Pratcp,

Use FtpWebRequest class to manage files

PI have a remote server (a shared hosting webserver) where I have few
Pusers ftp some flat files. I need to access these files using a
Pwindows app/windows service written using c# and run it on a nightly
Pbasis.
P>
PHow do I access the remote server in a c# windows service or console
Papp? The reason I need remote access is that I cannot have any type
Pof schedule jobs running on a shared hosting webserver. I was
Pcontemplating on using SSIS sql 2005 packages, but again the hosting
Pprovider will not allow me to run sql server agent and execute jobs
Pon the database server.
P>
PAny 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
Jul 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.