Copy Folders And Files

I am trying to use the FileSystemObject to create a copy of a directory (including all sub-folders and files within this directory) but i just cant get me head around it.

Can anyone point me to a tutorial or some sourcecode that i can play with?

View Replies


ADVERTISEMENT

Fake Thumbnails...2 Folders, 2 Files

Would this be a good idea... to create a thumbnail folder and a lg image folder... and then like link it somehow? How would any of you approach this? I want the website to load the thumbnail images into watever given category and then let the thumbnail have a link to a larger picture which clicked on...

Would this be easy to integrate with what i already have??? I'm using filepaths for the mysql database and the images are resized with html so you can see where the problem lies at...

View Replies View Related

How To Extract Files And Folders From A Zip Archive Using ASP

Is it possible to extract files and folders from a zip archive using ASP? If not classic, will .net do it as a standard task, ie no activex dlls, etc?

View Replies View Related

Password Protection - Folders/individual Files

I have been using two forms of password protection:

A) On working web sites I use an ASP script that is included in every page requiring protection: uses session - works fine

B) On quick test sites or temporary stuff I use the Windows Network Authentication provided by my web host. A whole folder is protected at once which is very convenient but it has a problem. If a user types the wrong password and is denied access, the next time they go to type the password, their browser sometimes remembers the wrong password as so they go straight to the 'access denied' 401 page.

How to proceed?

1) Does anyone know of a way of preventing all browsers from cacheing the login info.

2) Is there any way of using ASP to protect whole folders?

View Replies View Related

Search Network Folders For Pdf Files Inline

I am wanting to create a search page that will search a folder in the company network (unc path) based on a pdf filename (01223233.pdf etc) and open the file in the browser. acrobat will take care of the rest ....

View Replies View Related

File Protection :: Protect Files Or A Folders From Unauthorised Access

is there any way to protect files or a folder from unauthorised access, i.e.when a variable is false?

e.g.

when variable li = 1 then grant access to folder and files within
when variable li <> 1 then deny access

i have a folder with images and word documents i only want people with the variable set to 1 to be able to access them.is there a way?

View Replies View Related

Copy Files Between Two Web Servers...

I have a need to have a web server (windows based) grab files each week from
a linux based server - hosted elsewhere. I cannot use UNC paths.

I want to have a script (.asp/asp.net) on the windows server that I would
provide a list of files to copy. The script would then copy the listed files.

The problem is that the using a filestream and copyto runs into an error
with URI paths.

This will be a substantial amount of data each week. I don't want to copy
it locally and then back up to the windows web server. I want/need the copy
to be directly between the two servers.

View Replies View Related

Copy Files On Network

I have created an VB-ActiveX-Componente that copy files on network.
This works on one my development computer when I install application
on other IIS servers (files to copy on same server with same rights) I
get error message "Invalid filename or number". So what can cause this
problems?

View Replies View Related

Copy Files To A Web Folder

I have some files located in a file server and managed by a SQL database from a web based interface using ASP + VBSCRIPT technology. I need to automatically copy those files to a web folder.

View Replies View Related

Copy And Paste ASP Files

I have set up a new server and now I try to move all the web ASP files, scripts to my new server. I do copy and paste all the files to my webroot directory. None of the page works, the browser simplely redirect me to the search engine page. I have about total 50 ASP scripts and files. None of them shows after I entered the address in the browser. No bug and no syntex errors.

If I created a very simple ASP page like "Hello world", it works fine. Then even the Hello world page stopped working after I copy and paste any parts of the code from my backup CD. I also heard someone mentioned about domain name hard coded program, could it possible in my case?

View Replies View Related

Copy Tables Across Diff. Access Files

I was trying to integrate a forum software to an existing site. The site is having a different database file already. What i want to do is, copy the forum tables from forum database file to the existing site database. How can I copy the tables from FileA to FileB using ASP?

View Replies View Related

Take Hostname, Look If Folder Exsist, If Not Create And Copy Files

what I need is is when a visitor comes to the site, I need it to check
the host name. if "www.hometowndigest.com" is the host, then check a
folder named "something" and if the folder does not exsist, create
folder "www" and then copy folder "temp" and its contents.

If the folder "www" is there, look in it, check to see if the files in
folder "temp" are in there, if not, copy the files that are not from
folder "temp" into folder "www". Code:

View Replies View Related

Copy Selected PDF Files From ASP Page Into Clipboard & Paste It In Outlook. How?

I want to create an ASP page, which can copy the real PDF files into
the clipboard and then the user can paste it in Outlook message as
attachments(it's like inserting attachments)

My idea is: When user checked the checkboxes for the requested PDF
files from ASP page and press the "Add To Clipboard" button, all
requested PDF files will be copied into clipboard. Then, the user open
MS outlook message and right click -> Paste all PDF files as
attachments.

But, my code is just can copy the filepaths into clipboard not the
REAL PDF FILES. How can I copy the REAL PDF FILES? Code:

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

SSL Folders

I have a domain www.company.com and also a sub domain like
forum.company.com I have learned that the sub domain is actually a
folder under my main domain so if I typed www.company.com/forum - it
would go to the same file as if I typed the sub domain, unfortunatly
all the files in the subdomain point to root paths eg:
/Images/logo.gif

This isn't a problem as the subdomain is seperate and I treat it like
its a new website.

I was wondering before I spend more money and activate a 10mb SSL
folder - how would I actually code for this folder?

Is the SSL on a seperate server, or just a folder off the main domain
name?

I want to do a register system "username" etc & some personnal details
through a sercure line.

Can anyone point me to where I can get more info?

View Replies View Related

Translating Folders

My web site is entirely based on XML/XSL. Transformation of XML into HTML is a
server-side process. All my URLs are like this:
http://host/Application/?Document=AnyDoc&Chapter=3. There is only one script,
default.asp, in the root web that processes requests and displays HTML content
based on the query string.I'd like to intercept calls to http://host/Application/Catalog and translate into http://host/Application/?Document=Catalog before it is passed to the custom
error 404 handler. Can it be done - do I need a HTML filter or something?

View Replies View Related

Hyperlink Sub Folders

I am writing an intranet and want to be able to hyperlink to all files
within a specific folder AND it's subfolders. Whilst I can hyperlink to the
files in the specified folder AND I can also iterate through the subfolders
and list them, for some reason I cannot hyperlink to the sub folders. I am
writing this software at home using a computer that has IIS and Windows 98
and am accessing this as my server from another computer on my network.

My Home Page on the Server is http://maxitek (the name of my Windows98
Computer) and when I look at the value of the variable "PathSpec" - it
becomes C:Inetpubwwwroot which when I try to create links to the sub
folder it is probably here where the problem is. The files themselves link,
but not with their full subfolder names, i.e., for a file called
"C:Inetpubwwwrootmytestmytest2mytest.txt" I am getting a link that just
looks like this Code:

View Replies View Related

Creating New Folders

I've looked everywhere and can't seem to figure out how to create folders. I've got a tonne of other stuff sussed and am about to attempt creating text files, but folders elude me still.

View Replies View Related

Create Folders

I have written some ASP code that creates a group of folders using the FileSystemObject. It all works fine when the folders are being created on the same server becuase I have the correct permissions. The problem is that the code is going to be activated when people do something on our intranet. The guy in IT has set up the permissions for the Inetuser account so that in theory it should work.

It isn't working though. The first place it falls over is when I check to see if a folder exists on this other server, it doesn't find it. I am trying to access it using the full path i.e.

If fso.FolderExists(//servername/folder1/folder2)) then...

That doesn't seem to work though because it doesn't find it when it definitely exists. Does anyone know how I should be doing this?

View Replies View Related

View Folders

I expect this has been covered before but I can't anything to reflect this. How (with code) can you view folders within a directory from within a drop down menu?

View Replies View Related

Searching In Folders?

How can I use these search scripts to search in folders ? Now the search is only going through the folder where the script itself is. Code:

View Replies View Related

Browsing Folders

How to adjust is so, that when an Word or xls link is clicked, that file will open in the right appl (Word or Excell) Code:

View Replies View Related

Browse For Folders

This HTML will give you a browse button that allows you to select a file on your hard drive:

***********************************************
<INPUT TYPE="File" NAME="FileName" >
***********************************************

Is there something similar that will allow you to select a partcular directory? For example, I may want to select a folder called projects rather than a file.

When I click search in Editplus, I get a browse button that allows me to select directories. Under ODBC Data Sources in my control panel, there is a button to select directories. What programming is needed to get this type of browse capability?

View Replies View Related

Different Virtual Folders

If I have 1 Virtual Dirctory with 2 different subfolders are these 2 different folders different virtual folders? Or if I have 2 different Virtual Directories each containing a subfolder are these two subfolders 2 different virtual folders?

I'm asking because Microsoft is using the term "virtual folders" and I am not sure if they mean the former or the later.

View Replies View Related

IIS Folders Wont Change

Seems that my XP Pro IIS is being a jackass. When I run my ASP scripts it seems to give me this wierd error. Big_Al told me that it was because my script is inside a read-only folder and that something along the lines is really messing it all up.

Now this had brought a new problem. I changed the IIS Console features to Read, Write etc. but its not changing the wwwroot nor the sub folders. Whenever I un select read-only it simply reactivates itself ! What do I do to make the damned thing change!?!?!

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

Permissions On My Windows Folders For ASP

I currently have a asp page that will display what is currently in my windows folder. The problem i have is with permissions. I have all my departments on a page when i type in called: http://myserver/Website/dir_list.asp

in this i am showing different departments in hyperlinks to the windows structure. I have beside each department to tell me the amount of files that are in that department(folder).

I am having a problem whereby if i right click n the eningeering department and get rid of myserverusers account. I do not want everybody to have access to this.Only a dedicated person for the engineering department.

when i put the person individual login name to have access to it and get rid of myserverusers, it will come up with permission denied on the count, even though i have given myself administrator permission to the folder.

I basically have to take the permissions for myserverusers away from the folder but if i do, no matter what permissions i give the folder, it will keep denying me access without this. IUSR_<machinename>

Has any one ever comes across something like this before?

View Replies View Related

Parent And Child Folders....

I have one asp file including another asp file in a seperate folder. The file of the parent is in a read only, but the child is in a write and read file. If i run the child alone you can write with it no problems, but if i try to write with it calling it through the parent it tells me that permission are denied.

So my question is: are file permissions inhereted by the child from the parent? Is there any way of getting around this besides moving the parent into the same folder as the child?

View Replies View Related

Querying Msx 5.5 Public Folders

Would anyone have a way to access certain Exchange public folders that
contain news group emails, perform a query on the folders for keywords and
return a list of those emails?

Basically, I've been asked to put a simple
single field on a web page that will query a list of exchange public folders
and return a list of those emails that have a key word match.

sort of like the MS Index server does on folders with files where one has an
asp interface to query the index data base.

View Replies View Related

Multiple Virtual Folders

I am an ASP web developer developing a website.I've got ASP files in many sub-folders of many levels deep.

I've always used:

<!-- #INCLUDE VIRTUAL="/VIRTUALSITE/SUBFOLDER1/SUBFOLDER2/FILE.asp" -->

The VIRTUALSITE name is really the virtual directory created under IIS.

I clone my website multiple times, to cater for different people. So, each person gets a different VIRTUALSITE name.This gets messy when I need to update the websites. I can't do a diff/merge because the files of each site had a "search & replace" applied to them to change the VIRTUALSITE name to the corresponding person.Has anyone experienced this problem? Can someone give me some tips/solution on how to resolve this?

View Replies View Related

Password Protecting Folders

I am developing a small e-commerce site that allows users to create an account, pay, and then download audio files.I have only been doing ASP for about 6 months and this is a new problem for me: I need to not only password protect the pages (using Sessions and checking usernames and passwords against an Access database), but I also need to password protect the audio files themselves, so that users can't just type in the absolute URL to the audio files and get them for free.

I'm guessing password protecting the entire folder that contains the pages and audio files would be the best way to go, but I have no idea how to do this, and haven't been able to find any info on it.the site is part of a larger already existing site which is on a Shared Windows hosting account, so I have no root-level access to install any new software or technologies.

View Replies View Related

Public Folders And Protection

we have a folder with pictures of signed up users. we are trying to protect this folder from the public in two ways. hide the relative path

e.g. /welcome/images/544235432.gif

makes it easy for a user to easily download this file . put a password and access the folder through this passwords .

View Replies View Related

Password Protecting Folders

how do i password protect folders in my site. using asp. i run win2000 server.

View Replies View Related







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