Please I will like to write the following lines to a file (exactly the way it is below)
if "%1" == "" goto usage
c:\Software\a.exe "FT-CDS-MDI-SCR PP" -i -l %1\%2 %3 -d Messenger -r
I have been messing around with slashes, speech marks etc with no luck (Using StreamWriter). I dont seem to...
Thanks for the tip, I have explored the FileSystemWatcher object, but because of the involvedness in our design and the use of various configuration elements to determine what directories to monitor, remove, add etc. The idea of using it was discarded. I have something that works, but all I need...
I am writing a piece of code that monitors files in a directory and copies them onto another directory, by calling other methods etc. I have a setting in the registry that determines the polling intervals. This part of the code is in an endless loop. I have written this as a clean .exe, but now...
Help Please
I have a file that has read-only permissions. How can I change these permissions (via code) to read-write (on a windows platform). I am targeting a 1.1 Runtime.
Thanks
Is there a way one could force all files created in a sub-folder to have a particular set of permissions irrespective of who or what permissions the user grants the file when its created.
i.e. I will like all files created in /send to have 777 permissions irrespective of who created the file...
WhokilledKenny - I have to reboot the server because no-one else can connect once these errors start. I am looking into the case of multiple connections from one IP but the FTP log isnt really helpful.
monksnake - Thanks for the link.
I just wonder whether setting a limited number of allowed...
WhoKilledKenny, thanks for your response.
OS: Windows 2003 Server.
I also set FTP Site Connections to Unlimited. At any given time the number of concurrent users is never more than 3.
Any ideas?
Our FTP server (running IIS 6.0) seems to be returning FTP error 421 to connected users on a weekly basis. We have about 60 clients that connect to this server at random times during the day.
The error temporarily disappears when we reboot the FTP server. Does anyone know what the cause of this...
I have a directory with files created over a period of time. How can I list files created over a period of the last 7 days (i.e. Files created today, yesterday, the day before yesterday and so on).
I have looked at the DateTime Object, but haven’t had so much luck.
Thanks in advance.
Please how can I list (Console.WriteLine) files in a directory that were created today.
foreach (FileInfo file in directory.GetFiles())
{
// List files that were created today
Console.WriteLine(?);
}
Thanks in advance
Is there anyway I could programmatically interface with IIS 6.0 (using C#)?
I will like to know at any given time, the number of connected users logged on to my FTP server. At the moment, I manually have to open up IIS, get properties on the FTP Site, and see the number of users via the...
Please is there a way one can use this method to exclude files with certain extensions (i.e. getting all files in a folder apart from .tmp, .exe etc) or alternatively can you use this method to return files with extensions like .txt, .doc, .xls but exclude .tmp and .exe)
Thanks in Advance
Something wrong with my logic and code!
Please help!!
I have the following text file, and I want to extract the first field (directory paths) of each line, and maybe write it to another file or an arraylist.
This is the file...
Is there a limit to the number of active Windows Services that can run on Windows 2003 server?
I have a number of user created services and I am unable to start them all. I know there was a limit on Windows NT, but I wouldn't have expected the same on 2003.
If there is a limit, is it something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.