Convert A File From Unix To DOS
In my pages i have to read a text file which is created in Unix format through my asp code. The problem is that the readline command reads the whole file and not line by line as the file is in Unix format. Is there a way to convert it using asp code and then read it or any other solution to this problem?
As the file is created by an application not controlled by myself it is impossible to force the application developer to do this job so i have to do it during runtime. So what are your suggestions?
View Replies
ADVERTISEMENT
I want to Convert Excel Files to CSV files using ASP code CanAny body help me out in this.
View Replies
View Related
I want to know, How to extract the content of an html file to Tab Delimited text file by ASP
(I want the code that do this)
View Replies
View Related
How can i convert .aspx file in .exe file so that it can run on any
computer.
View Replies
View Related
How to convert XML or HTML to pdf file ? Where can I find free pdf generator ?
View Replies
View Related
i have the following code that converts a file size into a readable format (10MB for example) to show to the user Code:
View Replies
View Related
How can i convert the .fxm(fax) file format to any of editable file formats such as Microsoft word or excel.
View Replies
View Related
I have a Physical path that I need to convert on the FLY I thought using Replace would be a good idea, and it almost works
function MapURL(path)
dim url2
'Convert a physical file path to a URL for hypertext links.
url2 = (path)
MapURL = Replace(url2, "", "/")
MapURL = Replace (url2,"E:","http://myscs/docLibraryDocs")
MapURL = Replace (url2, "IntranetLibrary", "")
end function %>
- Is it possible to have multiple replace on the same variable ?
- am I doing it the right way ? or is it possible to concatenate those replace in one go ?
Is there a limit on how many Replace one can use for one variable ?
The problem I have is that it takes the first two Replace in consideration but not the third one. If I remove or comment the second one then the First and the third one works fine. For some reason, it doesn't like to have the three in the same time.
by the way, the link I try to change is as follow: Code:
View Replies
View Related
how to convert asp file output in excel dynamically.
View Replies
View Related
I've got a site managed in Frontpage and a forum in phpBB/MySQL. I'd like to grab the most recent posts from the Announcements Forum and embed them in the site's homepage. I got the idea from http://pocketpcthoughts.com/ . All of their homepage posts are fed from their FrontPage Archive Forums.
Right now, I'm using a phpBB mod called FetchAll to do the job. It works great except for one thing: I have to do it via an inline frame because I can't include a PHP file in an ASP page, and I have to use ASP because the site is in Frontpage (project requirement; FP is essential to the non-forum part of the site). Code:
View Replies
View Related
I am uploading an excel sheet with .xls extension and want to convert it into .csv file so that it will be easy to read the data which can be inserted in database.
View Replies
View Related
I need to do is display results of a command I run in UNIX, for example:
In the ASP page I'd have a textbox in which the user would type an UNIX command like "cat unixFile", after the user hits the "Execute Button" the results would be displayed in another textbox.
Basically my question is, how can I login to an UNIX server from ASP, send UNIX commands and capture the result?
View Replies
View Related
Is there a way to create directories using vb or jscript in IIS to a unix machine? I want to have the aility to upload files through my Win2k Web Server, and have those files stored on my Mac OS X Server under new directories based on date and Upload ID's from the Db.
View Replies
View Related
Simple quesion: Can you run ASP pages on a Unix server?
I am trying to learn "include files" and before I go any further I need to know if it can be used on a Unix server. IF NOT, what would be my options?
View Replies
View Related
I'm working on a proof of concept for ASP. I've already done it using Windows 2k server, IIS, using open source [no initial cost involved]. I'm looking to doing the same using a linux box. Does anyone know if this can be done without buying any additional tools?
View Replies
View Related
i have got someone who is interested in moving a ASP site to my hosting setup but my host is a UNIX platform. Actually i can see no reason for his site to be ASP cause it looks like a flat html site with .asp encoded pages.I just wondered what the experts think of running ASP on UNIX.
View Replies
View Related
I am trying to replicate the Unix Timestamp,specifically the function
mktime() in Vbscript, ASP. I have the following so far:
ThisTime = DateSerial(2004, 9, 27) + TimeSerial(0, 0, 0)
response.write DateDiff("s", "12/31/1969 00:00:00", ThisTime)
This returns the timestamp: 1096329600, and when you decode that it comes
to: 27 Sep 2004 20:00. I want to set the time too, ie. show for example: 27
Sep 2004 16:15
View Replies
View Related
Please tell me how to execute a unix shell script from ASP?
Is it possible to pass the user id and password for the unix server as call parameters?
View Replies
View Related
Will ASP run on Unix/Linux software like Apache or Red Hat? If so what needs to be done to do this?
View Replies
View Related
I need to access a database on a MS SQL Sever from my unix apache web server.I would preferably want to continue to use ASP rather than go to PHP or Perl - I know that I need to build unixODBC on the web box, but do I need to do anything else other than reference the SQL server in unixODBC?
Has anyone used unixODBC? The console & CLI seem fairly self-explanatory... Do you need extra drivers to connect to a MS SQL box? Can I still use the same server.createobject & ADODB statements in my ASP code? Or do they need to change? Syntax etc?
View Replies
View Related
I'm new to ASP so please forgive my ignorance. Our IT department says that there is no way that what I suggest can be done. I disagree because it should be possible (if not there is a massive hole in the market), but don't have the technical knowledge to back myself.
We have an Windows/IIS web server for our public website. Internally for our intranet we have a Unix box with and Oracle database. What I want to know is: Is it possible to query that database from the windows server using ASP? Are there any clients/COM/APIs etc that this would require? Can anyone direct me to a webpage that has more info?
View Replies
View Related
I currently use ADO (adoConn.Provider = "ADSDSOObject") to access user information in the domain Active Directory. I want to expand my application to be able to access user information in other LDAP compatable user lists (LINUX or UNIX for example). I did some
searching on deja.com (google groups) and microsoft's newsgroups, but couldn't find anything.
View Replies
View Related
i'm trying to use an odbc driver to connect from an asp page to a data source (dbase) on unix sunsolaris. is this poss?
the driver is installed though i cant seem to do it through dreamweaver ultradev - can i do it through the ftp connection?
what would i input as the source on the following to initiate the connection in the asp page?
"Provider= "MSDASQL"; Data Source= server name ?
"Database=test;User ID=sa;Password=blabla"
or how would i do it using the followign as an include file ? Code:
View Replies
View Related
is it possible to convert asp.net coding into asp coding?i know out there, theres a software to convert asp code to asp.net.is there a software to convert asp.net code into asp code?
View Replies
View Related
I have a client that wants to send an invoice when a user submits a certain form on their site. From this form it goes to an asp page that calculates amounts, and check for a voucher. It then enters data in database and emails invoice.
But they want it send as a pdf attachment. How do i go about doing something like that. Do i convert the htm / asp to pdf. and send it?
View Replies
View Related
<%
mysql="SELECT * from data"
Set con = SERVER.CREATEOBJECT("ADODB.Connection")
Set rs = SERVER.CREATeOBJECT("ADODB.recordset")
con.open "DSN=database4atc"
rs.open mysql, con
'recordset.open sqlcommand, activeconnection
%>
how to convert to dns less?
View Replies
View Related
Not having luck in converting my DNS to a DNS less piece of code. This is what I have:
Sub Application_OnStart
Application("ConnectionString") = "DSN=DevDivision"
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.open Application("ConnectionString")
SQL = " SELECT AdminEmail, title, footer, p_id from tblSiteOptions "
set rs = Conn.Execute(SQL)
View Replies
View Related
I'm looking for the best way to convert asp to jsp, ideally free software.
View Replies
View Related
I want to convert one .xls file to .csv file using ASP Is there any way to do this?
View Replies
View Related
I have inherited an ASP application that used MS SQL 7 for a backend DB.The original developer did an excellent job of commenting his work and the applications works fine as is. However, due to licnsing costs,the company is considering moving the application backend to MySQL.
I have looked at the DB structure and it has nothing extreneous other than FOREIGN KEYS. I have heard that MySQL does not support FOREIGN KEYS or Stored procedures.How do I get around the FOREIGN KEY support issue in MySQL?Other than changing my connection strings, if and when I do get the DB end working,do I need to redo the codes?I would like to keep the codes as is and simply redo the interface.In general what should I expect?
The Application was at the initial stages when the company changed course,so they don't mind losing what little data they have in the existing MS SQL 7 db,BUT the table structure must be kept as designed in MS SQL.
View Replies
View Related
is there any way to do a cart blanch dump of a csv file into an MDB file? i.e. specify file, submit, done! that easy?
View Replies
View Related
I have this one short section of code that I need to convert to ASP. Currently it's in PHP and our server does not support that. this code would be used to get someone's email address for a newsletter. Here is the code: PHP Code:
<?php
$var = ', '.$_GET['var'];
$fp = @fopen("file.txt", "a") or die("Couldn't open file.txt for writing! ". $var );
$numBytes = @fwrite($fp, $var) or die("Couldn't write values to file! " .$var );
@fclose($fp);
?>
View Replies
View Related
what is the best way to convert an access .mdb into a mysql .sql file? I found a program but it costs 60$ and thats gay so is there a better way?
View Replies
View Related