Pulling Files From Local Hard Drive

I am using a file type input box in an HTML form. When a file is selected, the local pathname results. Is there a way to run this form online, and access a file on the visitor's PC from the web? What pathname needs to be used?

View Replies


ADVERTISEMENT

Download File From Server To Local Hard Drive

my current setting is user will click a link in the web page and choose the place that they want to save the file to.

Now i am trying to auto download the file. that means user click the link, it straight away download to for eg. "D:Test". my problem is the web page is at server. user will access the web page thru http, but how am i going to auto download to the user's local drive?

View Replies View Related

Saving Images To Hard Drive

How can i save an image that i have on display on a ASP page, to my hard drive?
I'd like to be able to save it to let's say "C:My Documents" or something like that...

View Replies View Related

Asp Copy File From Local To Remote Share Drive Disk

I have two machines, one generate files, and copy to the other.
I try wscript.shell in my program, but it dit not work.

The two machines are not in the same domain. I saw some people's
question but not suitable for me,their machine are in the same domain.
They can assign permission to do the job.

View Replies View Related

Opening Bianry Files From Hard Disk

I'm looking for code regarding opening (not saving) binary files (pdf, word, excel...) from hard disk with asp, the website is hosted in C: and the pdf files are in D:

View Replies View Related

Copying Files Using Mapped Drive Error

im trying to create an online doc library for our intranet using a MS Access back end

a form allows the users to enter all the details of the doc and then select the file by using a file browser ( input="file" )

the asp script then copies the file from server A to the intranet

the problem is , is that if the user chooses a mapped drive ( e.g. the S drive ) then it fails - if they use the full drive map then it works fine

SO

Fail : s:stu.txt
Works : stuscomputer estdocsstu.txt

is it becuse the intranet server doesnt know what drive S is ?

View Replies View Related

Writing Text File To A Mapped Drive Or Network Drive

how to write a text file to a mapped drive or network drive. In my script, I’m currently writing the text file to a local folder on the server temporarily until I can figure this out.

So far I have tried to use the mapped drive letter, network path, etc. to get this working. I believe all the permissions are in order (I hope) as well. No matter what I have tried, I just get a Path Not Found script error. I know this has to be possible, just I’m missing something … probably something right under my nose but I just can’t figure it out.

View Replies View Related

Viewing ASP Files On Local Machine

I'm using WinXP Professional SP2, I've installed IIS, but am having a problem viewing the temp version of the ASP file IE makes when you go to view an ASP page.

So, I hit F12 to bring up IE and my ASP page, IE generates a URL something like, http://localhost/MyWeb/ACEI/TMP91g0dk4dw.asp ... but that always comes back as a "File Not Found" error, however if then I replace the TMP91g0dk4dw.asp part with the actual file name e.g demo1.asp..the page runs fine.

View Replies View Related

Write Text Files To Local Machine

I need to know how to write a text file to a local machine. Here is my code:

Set myFSO = Server.CreateObject("Scripting.FileSystemObject")

Set WriteText = MyDrive.CreateTextFile("C: est.txt", True, False)

Right now it writes the file to the C: drive on the server.

View Replies View Related

Copy Files From IIS Image Path To Local Client's Machine

explain abt copy files from IIS image path to local client's machine.

View Replies View Related

Hard-coded RSS Reader

I have a client that has asked if I can provide his users with a downloadable rss reader that is hard-coded to his XML feed only.I'm thinking the download should be a java applet.

View Replies View Related

Save On Hard Disk Exel File

how to work with ASP apart from tweeking some codes through Macromedia at times.The application has 1 form and 2 reports.

The report is viewed directly at the site and now I want a feature to export the report to excel by adding a button on the report so that it asks me to save it onto my harddisk in Excel.Can anyone help me with the code or concept?

View Replies View Related

Network Drive

<i><b>Originally posted by : Augusto (augustocm2000@yahoo.com)</b></i><br />Hi<br />I've got a problem that I´ve been trying to solve but there is no way I can find the solution.<br /><br />I am mapping a network (intranet) drive in my computer (winNT 4.0), but when I try to "see" this drive (or a directory of this drive) from an asp page, it is impossible! What I mean is that the drive is mapped and accessible in my windows explorer, but my asp code says "Path Not Found". And I have no problem when I "see" a local drive, it locates without no problem.<br />Does anyone know if this is a problem with the server??A configuration problem, for example?!<br />

View Replies View Related

Drive Space

I want to check the disk drive space on a small intranet. Like 30 computers. All have been partitioned and have a D: drive that is shared and is the drive I'm trying to check. This is basically what I have tried:

Code:
Dim fs, pcdrive, cdrive, n

Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set pcdrive = fs.GetDrive("xx.xx.xx.xxshare01-d")

Response.Write("Share01 Free Drive Space is:&nbsp;" & pcdrive & "<br>")

set pcdrive = nothing
set fs = nothing

Is there something wrong with the code or would it possibly have to do with permissions? When this script runs,I get a page cannot be displayed.

View Replies View Related

Get UNC From Drive Letter

1. The file is on a map drive, which is mapped to a folder
on the same server. Example. The user's folder 'John'.
2. I am able to get the file information
("E:PhotosImage1.jpg") and can copy the file to the
folder. ONCE I KNOW THE UNC ("headoffice-
dellsystPhotosImage1.jpg" file to copy)
I would like to be able to get the UNC from the user's
system, by submitting the drive letter to a function.
This script is for an Intranet and should be in ASP or
JavaScript.
..

View Replies View Related

Network Drive

I am trying to write a file of emails to my mail server for a newsletter.The emails come from a form on a website and append the file.However I can not accomplish this.I have tried mapping the a network drive.Then writing to the file with the path

"U://subscrib.txt" using the filesys obj.

This did not work and I am unsure why.I could not add the internet user to the permissions on the mail server because its not the same machine.

View Replies View Related

FSO Network Drive

I have a mapped drive on my intranet web server to my internet web server. When I iterate through the drives collection on my intranet site, my mapped drive does not show up. Is there anyway I can get to this drive to read a small set of known files? I don't really want to have to create a virtual folder on the internet web server and move the files in question to it so that my intranet server can get to them.

View Replies View Related

Map Network Drive

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?

View Replies View Related

Map To Network Drive

i want to map to other drive/folder in other machine is possible to do ? i am just handling some file management through web(intranet). my asp files are on my webserver, i do have an file server as well.

want i want is map to my file server so that user can handle their files (of course they are restricted to some extend). some sample code on this.

View Replies View Related

Map Network Drive

I'm trying to create an admin page that can run miscellaneous scripts for our IT department. Currently, I'm trying to create a script that can map a network drive for a user (e.g. a form where I can input pathfolder, drive letter, and domainuser). Is this possible? If so, can someone point me in the right direction?

View Replies View Related

Listing Folders In C: Drive

I want to be able to list all my files in a folder on the hard drive... this will be listed on our local intranet site at work.

View Replies View Related

Connect To Mapped Drive

I have mapped a drive in our IIS, but I don't know how to connect to it from
ASP. I would like to place files (like images files) to the mapped drive
T:XXXYYY and display files from there.

I've tried using Server.MapPath, but when I put T:XXXYYY as parameter, it
will say it requires virtual path but not physical path.

Then I tried using:

Set MyFileObject=Server.CreateObject("Scripting.FileSystemObject")
Set MyFolder=MyFileObject.GetFolder("T:XXXYYY")
but it will say Path not found.

View Replies View Related

Get Folders In Mapped Drive

I mapped dirve in a another computer as K: and I need to listout folders in a asp page that mapped drive. So I was checked that drive is in ready state using IsReady property, but it will return false. But when I was tried in VB application using same code it work perfectly. So any one know what can be happned.

<%
set fso = CreateObject("Scripting.FileSystemObject")
set d = fso.GetDrive("K:")

if d.IsReady Then
response.write " Drive " & d.driveletter & " is Ready "
else
response.write " Drive " & d.driveletter & " is not Ready "
end if
%>

View Replies View Related

Write A File To Someone's C Drive

if it's possible to save a file down to someone's C drive from an ASP page. I've left him fiddling around with the FileSystem object and TexStream object, but I don't fancy his chances.

I'm guessing this may not be possible, as people may not be overly happy with the concept of web pages writing files to their machines, but I thought I'd ask. And it's on an intranet if that helps.

View Replies View Related

Remote Server Drive Space

I have wrote small script that can get local drive information (e.g. size). Is there anyway I can get disk information from server ?

'Get Drive's Free space
dim MyDriveC,MyObject, MySpace
set MyObject = Server.CreateObject("Scripting.FileSystemObject")

'Set Object
set MyDrivec = MyObject.GetDrive("c:")

'Free Space
MySpace = MyDrivec.AvailableSpace

'Write msg
'Response.Write("Available space on Drive C: " & MySpace)

code is working fine but when I try to put other then "c:" it says path not found.

is there anyway I can get infromation from server or remote computer ?

View Replies View Related

Reading File On Network Drive

I am trying to read a file which resides on FILESERVERMYFOLDERmyfile.txt.I can not map this server on the webserver. I need to access it through UNC.I have a domain account which when used with ASP.NET works fine through impersonation. I use it for ASPUpload and it works fine to save files on FILESERVERMYFOLDER

I want to read the file through FILESYSTEMOBJECT. I don't know if I can impersonate using FILE SYSTEM OJBECT.How can I read the file.

View Replies View Related

Check Network Drive Exists

Need to knnow how to check if a given network drive and folder exists.

i understand the File io system and how to check if a folder or a file exists.

PS. This would be a maped network drive.. i.e. 23232.23.4556 ( z: ) or enginering on 'werserverde' ( Y: )

Just some more to maybe help answer my question What I need it to beable to enter this "10.52.1.38~Library" into my serch box and have it check if it is valid or not. Code:

View Replies View Related

Cannot Access Remote File From Mapped Drive

I want to access files from a remote server so I mapped it in my
server under z: for myserverwebmysiteimages

I added this UNC path to my IIS virtual directory and name it as
"upload" but I still cannot use any FSO to read it. Here is my code:

View Replies View Related

Access Database Path To A Network Drive

Database path works on drive c:, but it doesn't work on a mapped network drive while i move the database to the mapped network drive it stops working.

Can anybody help how can I write Access Database Path to a mapped Network drive in my vb script?

View Replies View Related

Pulling Name From Database

I am working on a site where you must log in to access the site. On this site we have a link to an off site that needs a user name and password to access it. We have made the user names and passwords the same for our site and the offsite.

the thing that we are doing is when they click on the link to the off site we want to pull thier name and password form a data base (which is already made) and input it into the user name and password.

I am not sure exactly how to code this to pull the name from the data base.

I as of right now have it HARD CODED with a user name and password and it works. But I need to some how have it pull the "correct" name and login.

I work for a smaller Insurance firm and these names are for our reps. We can not have just anyones name getting pulled from the database due to each rep is working on differnt cases. Code:

View Replies View Related

Pulling Data.

I have a login script up and running and i have used a session variable to greet the user when they successfully login. what i am trying to do now is create a query to select other information from my database using the session variable, their username. i have been trying all sorts of different things and just cant get it to work.

I know that i have to do a select * where users = session variable(username)

but i dont get where in the code i put it... Here is the code of my protected page: Code:

View Replies View Related

Pulling Information

I am working on a project involving pulling information from Active Directory (Name, email address, contact no.) and sticking this information in some SQL tables. Using ASP, How do I enable windows authentication (username and password from active directory) ?.

In other words, when the incharge user wants to login to the tables on the web, he must use his/her windows username and password ? On the same project, I want to assign different groups with different security levels. (something similar to the Active Directory security groups), and let the admin asign rights to each group in order to control access and privilege of each user within a group.

View Replies View Related

Pulling Data

I came across a topic regarding joining three tables, but couldn't apply it to what I am doing. I have three tables: Accounts, Reservations, Invoices. My goal is to put together a statment for each Account showing all outstanding Reservations and Invoices in chronological order.

Both Reservations and Invoices tables have their own date fields (Reservations - actual date of service, Invoices - date when invoice was created).

so basically Go through Accounts and then for each account that has either UNPAID Reservations or UNPAID Invoices populate a list of transactions where Reservations. ServiceDate and Invoices.CreatedDate should be listed in one column and sorted chronologically.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved