How Can Upload A Folder
how to upload a folder not just a file?
View Replieshow to upload a folder not just a file?
View RepliesCan any one give the code or the link of how 2 upload a folder consisting of some excel files without using a 3rd party component.Remember i should upload the folder at one click.
View Replies View RelatedCan i upload folder by using pure ASP?? The folder that will be upload may contain various type of file. I know how to upload file but i can't find any coding to upload the folder.
View Replies View RelatedI have no problem uploading files of
up to 6MB but when trying to upload a 50MB file it hangs for ages
before coming up with an error. My questions are;
- Has anyone else used N2D Personal Web Folder and if so, did they
encounter this problem ?
- Is the error due to a timeout problem that can be reset either on
the server (W2K server) or via IIS (IISv5)
I'd really appreciate any help anyone can give me with this, if it
would help to see the code please let me know.
I'm trying to write a function that allows a user to upload photos (like a photo album). I currently use AspSmartUpload as my upload component - but I only know how to upload one file at a time. Does anyone know if it's possible to upload an entire folder at once, or will the user only be able to upload one photo at a time?
View Replies View RelatedI need to upload a file to a folder wich might not exist yet. How can i create a folder before uploading the file or is there a parameter in asp that creates a folder before copying the file there if it doesn't exit?
View Replies View RelatedI am triying to upload a file with ASPUPLOAD which works fine the only problem I need to change the folder where is going to be uploaded.
I tried with:
folder = ""+cstr(request.querystring("folder"))
path=Server.MapPath("."&folder)
Set Upload = Server.CreateObject("Persits.Upload.1")
Upload.OverwriteFiles = true
Upload.SetMaxSize 1048576
Count = Upload.Save (path)
But always uploads into the same folder (where the ASP is uploaded).
I use ASPUpload as a component to allow users to upload images to website. I did not find on ASPUpload.com website clear explanation on how to upload entire folder of images to website.
1) Is it possible to do using ASPUpload?
2) Could you recommend me other sites, articles etc to read about this problem (with code samples)? Or could you provide me an example of code samples.
We face problems uploading excel (with macros) documents using HTML
File Upload.
The file contents are corrupted while viewing the same. However, we
are able to upload excel (w/o. macros) documents successfully. Is
there anything we have to take care of, while handling uploads of
excel documents with macros?
I keep getting the following error message when attempting to run the below script.
Persits.Upload.1 (0x800A001)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
line 42.
line 42 is "File.ToDatabase Connect, SQL"
Code:
I need some help with aspupload and a database. I have used the same script before and it worked fine, but now it wont upload. Code:
View Replies View RelatedI have been using pure asp upload for uploading pictures and files fo rome time now.
I have a question about it thou - Is there any chance that the pure asp upload can upload a file to a directory and then copy it to a backup directory?
If anyone ever come accross this issue please let me know how u resolve it.
However, when i opened a page on my pc the database string was:
DBFolder = path & "..mysqldataformuladata
I cant find the folder in question. Even when ftping.
Any ideas where is could be lurking?
I got a folder name f1 in server. I need to copy same folder and paste it in same root dorectory. Can any one help with asp code for it ....
View Replies View RelatedDoes anyone know of an asp script, online somewhere, that I can use to find
out the permissions of a folder? My ISP says these folders have full
permissions, but my programs say "permission denied". I don't know if it is
the programming, or if the folder don't really have the right permissions.
Is their any way of implementing an Upload section on my site that can upload a folder with images in them, insdead of just images..
View Replies View RelatedI have a folder with about 40 swf training movies.
I want to loop through the folder and display the titles of the movies and make them links.I just need help getting pointed in the right direction to make this happen.
I am wriging a web application which cosists of a main directory with all the main code, and a subdirectory with the administration features. althogh the two locations will share configuration resources, I need to protect the admin folder from unauthorised access. I know that in apache their is some kind of authentication (I think it is used through an ".htaccess" command or someting) and I'm wanting to do a similar thing in ASP.
View Replies View RelatedI have a script which allows a user to upload and delete files from the
server.Is it possible (and if so how) to do a check to see if the folder is empty
(ie if the last file in a particular folder is deleted by a user) and if it
is empty, delete the folder?
how can i create a new folder by using ASP??
View Replies View RelatedIs it possible to create a folder using a virtual path? This is for a site on a shared hosting server.
View Replies View Relatedim having a problem with folder path in include files. I have a solution, but there must be a way better one. The problem is when i have an include file... menu.inc in my root directory root/. This menu.inc references images in the root/images/ folder.
I also have an articles folder root/articles/. The menu.inc is included in files in the articles folder, however this messes up the image paths and files in the articles folder are looking for the images in root/articles/images/.
to combat this, in front of every image reference in my menu.inc file, i have a variable <%= pathVar %>. At the top of every file in the articles folder, i have the command <% pathVar = "../" %>. this will insert a ../ before the images folder in the reference therfore correcting the image reference. In the root folder I use <% pathVar = "" %> , so the <%= pathVar %> amounts to nothing leaving the paths correct.
This works, however means having to switch from HTML to ASP mode for every image in the include file, which is not efficient. Is there a better way around the path problem.
I've managed to get file listings, do textstreams, move around in the file system a bit, just wondering how I get folder listings as I would file listings...
Here's what I've tried, but it's not quite working:
[vbs]
strPathInfo=Request.ServerVariables("SCRIPT_NAME")
strPhysicalPath=Server.MapPath(strPathInfo)
Set objFile=objFSO.GetFile(strPhysicalPath)
Set objFolder=objFile.ParentFolder
Set objFolderFolders=objFolder.Folders
For Each objFolderItem in objFolderFolders
mess=mess & "<tr><td><a href=""" & objFileItem.Name & """>" & objFolderItem.Name & "</td><td></td><td></td><td></td><td></td></tr>"
Next
[/vbs]
I want to allow a user to select a windows folder for reading. I have tried
to work it out without success. Can anyone help me out or point me in the
right direction. I am an experienced VB6 programmer but this is my first
ASP.Net project.
how to download .mdb file from the db folder. I had written .asp file to download that .mdb file. By programming it to copy .mdb file from db folder to httpdocus folder,but say one error that is Permission Denied !
I had tried another way that is converting tables to .xml file and downloading it - Its Working When i tried convert .xml file to table - Here, I need coding for conversion.
I'm creating a folder...no problem there:
dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.CreateFolder Server.mapPath("pictureskickoff")
but...how do I check if there allready is a folder there with the same name before creating one?
I use breadcrumbs for navigation
I have a folder called College Students in WWWRoot
in college students i have a page called mainpage.shtml
when i open the page like this
www.abc.com/college students/mainpage.shtml
i see the breadcrumbs like this
Home >> College%20Students >> Students List
but i want to see it like this
Home >>College Students >> Students List
Students List is the title of the page
Can someone tell me how to get rid of those %20 that i see when i have spaces in my folder name
I need to know how to do the following..
Rename a folder
Check to see if folder exists and if it does return an error message.
I really need a coding help regarding sharing Folder Module to specific members through giving them rights for access while using Classic ASP....
View Replies View RelatedHow do you create a folder in the server and then upload files to that folder? could you recommend a good and free FTP plugin?
View Replies View RelatedI am looking to pull the contents of a folder and display them. I have been able to do this from the code below but only from a local folder. I would love to be able to get the contents from a web folder. Code:
View Replies View RelatedI'm trying to delete files and folders using FSO. But everytime i run the script, it took very long time to run and files or folders weren't deleted. Here's the script : Code:
View Replies View RelatedHow can I know whether a folder is empty using FileSystemObject?
View Replies View Related