469,327 Members | 1,242 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

Map a drive to an ftp share



I build an NT service using the FileSystemWatcher() class to detect when
new files arrive at our ftp server.

Now I want to configure it to watch for files on someone else's remote
server.

Questions:

1. Can I map a drive letter to an ftp share?

2. Do you think the FileSystemWatcher class can respond in the same way
when monitoring a remote ftp site as it does when watching a local
directory?

Specifically, can it raise an event for the creation of a new file on
the ftp directory?
Jul 21 '05 #1
23 3293
John Bailo wrote:


I build an NT service using the FileSystemWatcher() class to detect when
new files arrive at our ftp server.

Now I want to configure it to watch for files on someone else's remote
server.

Questions:

1. Can I map a drive letter to an ftp share?

2. Do you think the FileSystemWatcher class can respond in the same way
when monitoring a remote ftp site as it does when watching a local
directory?

Specifically, can it raise an event for the creation of a new file on
the ftp directory?


Ok, after a little browsing I find something called the NetHood.

It seems to let me browser my Network Neighborhood places as directories
-- somewhat. I am able to open a cmd window, and cd into the NetHood
and then the ftp sites, with the name ftp.mysite.com being the directory
name.

However It doesn't seem to show the ftp sites in a "logged in" mode.

Is there a way to have them display as they would when logged in via
Windows?

Can I issue a logon at the command line to one of my /NetHood/ sites?

Jul 21 '05 #2
John Bailo wrote:
John Bailo wrote:


I build an NT service using the FileSystemWatcher() class to detect
when new files arrive at our ftp server.

Now I want to configure it to watch for files on someone else's
remote server.

Questions:

1. Can I map a drive letter to an ftp share?

2. Do you think the FileSystemWatcher class can respond in the same
way when monitoring a remote ftp site as it does when watching a
local directory?

Specifically, can it raise an event for the creation of a new file on
the ftp directory?


Ok, after a little browsing I find something called the NetHood.

It seems to let me browser my Network Neighborhood places as
directories -- somewhat. I am able to open a cmd window, and cd
into the NetHood and then the ftp sites, with the name ftp.mysite.com
being the directory name.

However It doesn't seem to show the ftp sites in a "logged in" mode.

Is there a way to have them display as they would when logged in via
Windows?

Can I issue a logon at the command line to one of my /NetHood/ sites?


LOL! After spamming XP gen, do you really expect an answer from here?

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Jul 21 '05 #3
John Bailo wrote:
John Bailo wrote:


I build an NT service using the FileSystemWatcher() class to detect
when new files arrive at our ftp server.

Now I want to configure it to watch for files on someone else's remote
server.

Questions:

1. Can I map a drive letter to an ftp share?

2. Do you think the FileSystemWatcher class can respond in the same
way when monitoring a remote ftp site as it does when watching a local
directory?

Specifically, can it raise an event for the creation of a new file on
the ftp directory?

Ok, after a little browsing I find something called the NetHood.

It seems to let me browser my Network Neighborhood places as directories
-- somewhat. I am able to open a cmd window, and cd into the NetHood
and then the ftp sites, with the name ftp.mysite.com being the directory
name.

However It doesn't seem to show the ftp sites in a "logged in" mode.

Is there a way to have them display as they would when logged in via
Windows?

Can I issue a logon at the command line to one of my /NetHood/ sites?


I guess not -- NetHood isn't what I thought -- it just seems like a
container for some *.lnk files that then perform some magic.

The original query stands.

Jul 21 '05 #4
kurttrail wrote:

LOL! After spamming XP gen, do you really expect an answer from here?

Hi,

It's an old technique to try and muddy the waters by just attacking a
person randomly.

Unfortunately, the awareness of Usenet is way in advance of the
technology that you use.

Sorry charlie, you would have been a hit in the 90s when people were
first learning about Usenet -- but not here, not now.
--
Texeme Textcasting Technology
http://texeme.com
Jul 21 '05 #5
Moron you don't define your terms. There is no file watcher class on windows only FileChangeNotification object. Explorer uses one of these on every window you have open.

--
----------------------------------------------------------

"John Bailo" <ja*****@texeme.com> wrote in message news:fq********************@speakeasy.net...


I build an NT service using the FileSystemWatcher() class to detect when
new files arrive at our ftp server.

Now I want to configure it to watch for files on someone else's remote
server.

Questions:

1. Can I map a drive letter to an ftp share?

2. Do you think the FileSystemWatcher class can respond in the same way
when monitoring a remote ftp site as it does when watching a local
directory?

Specifically, can it raise an event for the creation of a new file on
the ftp directory?

Jul 21 '05 #6
David Candy wrote:
Moron you don't define your terms. There is no file watcher class on windows only FileChangeNotification object.

Wow. Maybe you should write MSDN and tell them about this then:

http://msdn.microsoft.com/library/de...sctortopic.asp
Initializes a new instance of the FileSystemWatcher class.
Overload List

Initializes a new instance of the FileSystemWatcher class.

[Visual Basic] Public Sub New()

[C#] public FileSystemWatcher();

[C++] public: FileSystemWatcher();

[JScript] public function FileSystemWatcher();




Explorer uses one of these on every window you have open.

--
Texeme Textcasting Technology
http://texeme.com
Jul 21 '05 #7
John Bailo wrote:
kurttrail wrote:

LOL! After spamming XP gen, do you really expect an answer from
here?

Hi,

It's an old technique to try and muddy the waters by just attacking a
person randomly.

Unfortunately, the awareness of Usenet is way in advance of the
technology that you use.

Sorry charlie, you would have been a hit in the 90s when people were
first learning about Usenet -- but not here, not now.


Shows how much you know, this is far from random. You are a waste of
life. And the only place and time you would have been a hit would be
would have been before life appeared on the planet.

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Jul 21 '05 #8
David Candy wrote:
Moron you don't define your terms. There is no file watcher class on
windows only FileChangeNotification object. Explorer uses one of
these on every window you have open.


He is just trolling. Wants to get people to waste their time on him.
All he is good for is to make fun of.

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Jul 21 '05 #9
kurttrail wrote:
Shows how much you know, this is far from random. You are a waste of
life. And the only place and time you would have been a hit would be
would have been before life appeared on the planet.


Probably correct, given the appearance of your chromosome set at this
date and time.

--
Texeme Textcasting Technology
http://texeme.com
Jul 21 '05 #10
kurttrail wrote:
David Candy wrote:
Moron you don't define your terms. There is no file watcher class on
windows only FileChangeNotification object. Explorer uses one of
these on every window you have open.

He is just trolling. Wants to get people to waste their time on him.
All he is good for is to make fun of.


At least I have a job...

BTW :

Check out my new home page:

http://www.texeme.com

--
Texeme Textcasting Technology
http://texeme.com
Jul 21 '05 #11
John Bailo wrote:
kurttrail wrote:
Shows how much you know, this is far from random. You are a waste of
life. And the only place and time you would have been a hit would be
would have been before life appeared on the planet.


Probably correct, given the appearance of your chromosome set at this
date and time.


You make no sense. Unless you are suggesting that I'm the only life
left on the planet at this date and time.

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Jul 21 '05 #12
it's a .net thing dickhead.

--
----------------------------------------------------------

"John Bailo" <ja*****@texeme.com> wrote in message news:42**************@texeme.com...
David Candy wrote:
Moron you don't define your terms. There is no file watcher class on windows only FileChangeNotification object.



Wow. Maybe you should write MSDN and tell them about this then:

http://msdn.microsoft.com/library/de...sctortopic.asp


Initializes a new instance of the FileSystemWatcher class.
Overload List

Initializes a new instance of the FileSystemWatcher class.

[Visual Basic] Public Sub New()

[C#] public FileSystemWatcher();

[C++] public: FileSystemWatcher();

[JScript] public function FileSystemWatcher();










Explorer uses one of these on every window you have open.



--
Texeme Textcasting Technology
http://texeme.com

Jul 21 '05 #13
kurttrail wrote:
John Bailo wrote:
kurttrail wrote:

Shows how much you know, this is far from random. You are a waste of
life. And the only place and time you would have been a hit would be
would have been before life appeared on the planet.


Probably correct, given the appearance of your chromosome set at this
date and time.

You make no sense. Unless you are suggesting that I'm the only life
left on the planet at this date and time.


Given the paucity of responses to my query about file systems, ftp and
expert mode...possibly true.

--
Texeme Textcasting Technology
http://texeme.com
Jul 21 '05 #14
David Candy wrote:
it's a .net thing dickhead.


Get with it Rumplestilksen.

..NET is the Windows OS

--
Texeme Textcasting Technology
http://texeme.com
Jul 21 '05 #15
John Bailo wrote:
kurttrail wrote:
David Candy wrote:
Moron you don't define your terms. There is no file watcher class on
windows only FileChangeNotification object. Explorer uses one of
these on every window you have open.

He is just trolling. Wants to get people to waste their time on him.
All he is good for is to make fun of.


At least I have a job...


I thought you milked male horses for your pleasure.
BTW :

Check out my new home page:

http://www.texeme.com


LOL!

How long did it take you to write the html?

<html>
<head>
<title>Texeme</texeme>
</head>
<body>
<img src="texemewelcome.JPG">
</body>
</html>

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Jul 21 '05 #16
John Bailo wrote:
kurttrail wrote:
John Bailo wrote:
kurttrail wrote:
Shows how much you know, this is far from random. You are a waste
of life. And the only place and time you would have been a hit
would be would have been before life appeared on the planet.
Probably correct, given the appearance of your chromosome set at
this date and time.

You make no sense. Unless you are suggesting that I'm the only life
left on the planet at this date and time.


Given the paucity of responses to my query about file systems, ftp and
expert mode...possibly true.


Nope, your dead, and I'm your tormenter.

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Jul 21 '05 #17
Except for the small fact windows doesn't use it.

--
----------------------------------------------------------

"John Bailo" <ja*****@texeme.com> wrote in message news:vK********************@speakeasy.net...
David Candy wrote:
it's a .net thing dickhead.


Get with it Rumplestilksen.

.NET is the Windows OS

--
Texeme Textcasting Technology
http://texeme.com

Jul 21 '05 #18
He's spam been pulled. No chinese wallpapers.

--
----------------------------------------------------------

"kurttrail" <do*********@anywhereintheknowuniverse.org> wrote in message news:%2****************@tk2msftngp13.phx.gbl...
John Bailo wrote:
kurttrail wrote:
John Bailo wrote:

kurttrail wrote:
> Shows how much you know, this is far from random. You are a waste
> of life. And the only place and time you would have been a hit
> would be would have been before life appeared on the planet.
>

Probably correct, given the appearance of your chromosome set at
this date and time.
You make no sense. Unless you are suggesting that I'm the only life
left on the planet at this date and time.


Given the paucity of responses to my query about file systems, ftp and
expert mode...possibly true.


Nope, your dead, and I'm your tormenter.

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"

Jul 21 '05 #19
John - I believe the file watcher classes can look at a remote drive and
monitor its activity by using a UNC path - if it has the correct
permissions. An ftp drive is just a directory opened to port 21, so you can
ignore the ftp element and just monitor the drive if you can map to it using
unc from your code.

Sorry, I dont have an example for you.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"John Bailo" <ja*****@texeme.com> wrote in message
news:fq********************@speakeasy.net...


I build an NT service using the FileSystemWatcher() class to detect when
new files arrive at our ftp server.

Now I want to configure it to watch for files on someone else's remote
server.

Questions:

1. Can I map a drive letter to an ftp share?

2. Do you think the FileSystemWatcher class can respond in the same way
when monitoring a remote ftp site as it does when watching a local
directory?

Specifically, can it raise an event for the creation of a new file on the
ftp directory?

Jul 21 '05 #20
kurttrail wrote:
John Bailo wrote:
kurttrail wrote:
David Candy wrote:

Moron you don't define your terms. There is no file watcher class on
windows only FileChangeNotification object. Explorer uses one of
these on every window you have open.
He is just trolling. Wants to get people to waste their time on him.
All he is good for is to make fun of.


At least I have a job...


I thought you milked male horses for your pleasure.
BTW :

Check out my new home page:

http://www.texeme.com


LOL!

How long did it take you to write the html?

<html>
<head>
<title>Texeme</texeme>
</head>
<body>
<img src="texemewelcome.JPG">
</body>
</html>

Quit picking on John. At least his website offers more useful information
that yours does. :-)

--

`,,`,,`,,``, ,`
Windows is *NOT* a virus. Viruses are small and efficient.
Legal Notice And Disclaimer:
http://www.euronet.nl/users/frankvw/legal.html
Jul 21 '05 #21
John Timney (ASP.NET MVP) wrote:
John - I believe the file watcher classes can look at a remote drive and
monitor its activity by using a UNC path - if it has the correct
permissions. An ftp drive is just a directory opened to port 21, so you
can ignore the ftp element and just monitor the drive if you can map to it
using unc from your code.

Sorry, I dont have an example for you.


Thanks John!

That's the answer I was hoping for.

Does anyone else have an idea for mapping a drive or unc addressing an ftp
share?

I spent about 4 hours Googling, but couldn't find the answer.

The best I could find is the "NetHood" but that just seems a set of links to
ftp sites -- not actually drive/directories that I can us.

--
Texeme
http://www.texeme.com
Jul 21 '05 #22
Candy's message was completely unnecessary. People can ask all sorts of questions wheher simple or not. This newsgroup is to help people with their problems. How does a question make someone moron is beyond me!! Candy Floss should apologise immediately to John. In any case, the question wasn't posed specifically for Candy Floss so how did it touch his raw nerve needs a detailed investigation at the highest level! Perhaps, that nerve is raptured inserting uncle Bill's SP2 patch!!!

Kev


David Candy wrote:

Moron you don't define your terms. There is no file watcher class on windows only FileChangeNotification object. Explorer uses one of these on every window you have open.

--
----------------------------------------------------------

"John Bailo" <ja*****@texeme.com> wrote in message news:fq********************@speakeasy.net...


I build an NT service using the FileSystemWatcher() class to detect when
new files arrive at our ftp server.

Now I want to configure it to watch for files on someone else's remote
server.

Questions:

1. Can I map a drive letter to an ftp share?

2. Do you think the FileSystemWatcher class can respond in the same way
when monitoring a remote ftp site as it does when watching a local
directory?

Specifically, can it raise an event for the creation of a new file on
the ftp directory?

Jul 21 '05 #23
Kevin Brunt (Fat B@stard)!! wrote:
Candy's message was completely unnecessary. People can ask all sorts
of questions wheher simple or not. This newsgroup is to help people
with their problems. How does a question make someone moron is
beyond me!! Candy Floss should apologise immediately to John. In
any case, the question wasn't posed specifically for Candy Floss so
how did it touch his raw nerve needs a detailed investigation at the
highest level! Perhaps, that nerve is raptured inserting uncle
Bill's SP2 patch!!!


Obviously you don't have much experience with Ballo the Clown. Calling
him a moron is an insult to morons everywhere.

--
Peace!
Kurt
Self-anointed Moderator
microscum.pubic.windowsexp.gonorrhea
http://microscum.com/mscommunity
"Trustworthy Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Jul 21 '05 #24

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Max Baki via .NET 247 | last post: by
13 posts views Thread by =?Utf-8?B?RGF2ZQ==?= | last post: by
5 posts views Thread by =?Utf-8?B?SmVycnkgQw==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by listenups61195 | last post: by
reply views Thread by Purva khokhar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.