473,657 Members | 2,625 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Map a drive to an ftp share



I build an NT service using the FileSystemWatch er() 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 FileSystemWatch er 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?
Nov 17 '05 #1
23 2167
John Bailo wrote:


I build an NT service using the FileSystemWatch er() 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 FileSystemWatch er 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?

Nov 17 '05 #2
John Bailo wrote:
John Bailo wrote:


I build an NT service using the FileSystemWatch er() 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 FileSystemWatch er 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.gon orrhea
http://microscum.com/mscommunity
"Trustworth y Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Nov 17 '05 #3
John Bailo wrote:
John Bailo wrote:


I build an NT service using the FileSystemWatch er() 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 FileSystemWatch er 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.

Nov 17 '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
Nov 17 '05 #5
Moron you don't define your terms. There is no file watcher class on windows only FileChangeNotif ication object. Explorer uses one of these on every window you have open.

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

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


I build an NT service using the FileSystemWatch er() 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 FileSystemWatch er 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?

Nov 17 '05 #6
David Candy wrote:
Moron you don't define your terms. There is no file watcher class on windows only FileChangeNotif ication 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 FileSystemWatch er class.
Overload List

Initializes a new instance of the FileSystemWatch er class.

[Visual Basic] Public Sub New()

[C#] public FileSystemWatch er();

[C++] public: FileSystemWatch er();

[JScript] public function FileSystemWatch er();




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

--
Texeme Textcasting Technology
http://texeme.com
Nov 17 '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.gon orrhea
http://microscum.com/mscommunity
"Trustworth y Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Nov 17 '05 #8
David Candy wrote:
Moron you don't define your terms. There is no file watcher class on
windows only FileChangeNotif ication 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.gon orrhea
http://microscum.com/mscommunity
"Trustworth y Computing" is only another example of an Oxymoron!
"Produkt-Aktivierung macht frei"
Nov 17 '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
Nov 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3089
by: Serge | last post by:
Hi, i would map a network drive from a share on another server. it works fine with the net use command under user login but it do not work from an asp script or dll. is this that i have to add the iuser_<computer_name> profile into network computer that share it resources?
6
9704
by: moonriver | last post by:
I write a program accessing files in network drive o:. It is doable as a standalone application. However, if it is running under windows service, the following exception will appear: 13/07/2004 10:24:48 AM run() error: System.IO.IOException: The specified network password is not correct. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare...
5
21559
by: Niloday | last post by:
Hi All, I am trying to access a mapped network drive from a service that I have created. The service needs to create/delete folders/files on a network drive. When I tried to connect to a folder on mapped network drive (eg. N:\Storage that corresponds to \\FS1NS\SharedDir\), I get an error as "Could not find part of path N:\".
1
3411
by: Max Baki via .NET 247 | last post by:
I all, i've write a sample ftp Windows service which download files and copy them on remote share or remote mapped drive (the service works fine on local drives). This part of code is the function to change the local path for downloaded files. If the configured path is different from local drive C: the new path is selected. The program works fine in debug or release mode into Visual Studio. All downloaded files were placed on remote...
11
1526
by: Brett | last post by:
I have an assembly on a shared LAN drive. On my developer machine, I give that assembly full trust from the .NET wizard. It works fine. I go to a user machine on the LAN, map to the shared drive, give full trust on that machine but the assembly doesn't fully work. No errors. The assembly post data from MS Access to a website. The posting part doesn't work. The firewall was turned off and still nothing. Any ideas? Thanks,
5
4463
by: Nirosh | last post by:
Hi All, Can any one suggest me a best way to do this .. I have a thrid party tool "EXE" that we need to use with our web service to manipulate some complex XML files, which reside in a seperate files server. we have mapped the fodler to a different folder and need to allow the EXE to process on the mapped drive. When I trigger the EXE via web service the EXE get the permission of the launching user (mean ASP.NET user) resulting a...
2
9527
by: Dave Stewart | last post by:
I am attempting to write a vb.net windows service that will automate various file movements on my network. When I attempt to access files on a mapped drive or UNC file share, I get exceptions claiming that the file is not there. However if I copy the file path directly in to explorer it pops right up. I know that my service is running as local system and this must be causing the problems. When I write the windowsidentity.getcurrent().name...
0
2552
by: jarmar | last post by:
We have a network share \\fileserver1\share that users have mapped individually/manually to any drive letter of there liking , not thru a login script. I have created a network share \\fileserver2\share that I want these users to start using. It is the same data as above just on a different, newer server. I need a script that will look for a mapped network drive ( again unknown letter ) that has a UNC path of \\fileserver1\share and will...
13
7065
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I am actually trying to get the UNC path of the main module of a process running from a mapped drive, and I am trying to do this from a service. The ProcessModule class only provides the full path with the mapped drive letter, but the drive letter refers to the drive mapping for the user that started the process, and cannot be resolved to a UNC path from a service running under LocalSystem. Presumably, therefore, I need to get the drive...
5
5362
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I am trying to accesss a Mapped Drive from my asp.net code running on IIS 6.0. I am using a FileUpload control and fileUpload.SaveAs() to save the file to the server. I want to save the file to a mapped drive that is mapped to a share on the network. When I save to "C:\temp\myFile.txt it works but when I save to Z:\temp\myFile.txt is will not work. I also want to copy, delete and move these files. I have found some pages on the net...
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8730
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7321
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.