Ask a Question related to ASP.NET General, Design and Development.
-
Naveen M #1
using FTP Wildcard in asp.net code
Hi,
We have an asp.net app that uploads and downloads files
files from an FTP server. It works this way.
1) Put a MyFile.request file on the server
2) server processes and returns MyFile.txt
3) My application looks for MyFile.txt and downloads.
So far so good. The problem occurs if there is some error
in processing in which case the server does not return a
MyFile.txt but an error file called MyFile-MM-DD-YYYY-hh-
mm-ss.err and this file's type shown on the server is
binary . The MM-DD-YYYY-hh-mm-ss addition to the file name
is arbitrary over which I have no control. I am trying to
download this file by searching for MyFile*.err which
throws me an error saying invalid filename.
Could anyone help me here or tell me where I could look
for similar .net code to look for wildcard entries in
filenames?
Thanks in advance
Naveen
Naveen M Guest
-
Need help with wildcard
I need help with wildcard. I tried to do a search and search for any record contains "agency list" in that column. I got no record return in this... -
WildCard Defaults
I'm trying to use % as the default value in the query variables. I have a select list displaying numbers. At the top of the select list I want an... -
wildcard search
I have the following SQL that searches based on the exact input stored in a session variable If reqname <> '' Then strSQL = strSQL &... -
newbie: rcp and wildcard
dear unix-gurux, i'd like to rcp a complete subdirectory-structure with all files within from an unix host to another unix host. my command looks... -
Wildcard and DTS..?
Hi all, I have a path in a DTS-package that looks like: sFilename = "d:\path\*.PMS" & Right(Year(Now()), 2) sFilename = DTSGlobalVariables ... -
Christopher Frazier #2
Re: using FTP Wildcard in asp.net code
You could use the FileInfo and DirectoryInfo classes to search for these
..err files. Perhaps look for FileInfo.Name.EndsWith(".err") in the
Directory.
hth,
-Christopher
[url]http://weblogs.asp.net/CFrazier[/url]
Naveen M wrote:
> Hi,
> We have an asp.net app that uploads and downloads files
> files from an FTP server. It works this way.Christopher Frazier Guest



Reply With Quote

