Select Directory For Upload Using SoftArtisans FileUp

I am trying to use SoftArtisans FileUp Professional to upload a directory. I
have found some sample code to help but you have to type in the directory
name when you run the page.

I want to use a form in the same way as for a file upload to browse and
select my directory for upload. Anyone know how to code this?

Also are there any good places other than the official SA site to go for
help with sample code?

View Replies


ADVERTISEMENT

Directory Upload

where to find some decent code samples for using SoftArtisans FileUp Professional.I have used aspUpload to code a webpage to upload select files, rename them and check they have the right file extension but now I need to do the same for uploading the contents of a selected directory.

View Replies View Related

SoftArtisans SMTPMail And XP

Has anyone tried using SMTPMail on a Windows XP Pro machine? The sys.
reqs. on their site only says W2K (and prior).

I've successfully registered SASMTP.dll, and simply trying to
instantiate it in Classic ASP with:

Dim objMailer
Set objMailer = CreateObject("SoftArtisans.SMTPMail")

results in an error:

Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'SoftArtisans.SMTPMail'
/test.asp, line 12

View Replies View Related

Upload Pictures To A Directory

Can anyone tell me the simplest easiest way to upload pictures to a directory. It's for a content management page - text boxes for new record information and a file browse form box for the picture

View Replies View Related

Upload Entire Directory

I'm developing a site under IIS and ASP. I want some help into a free solution to upload the content of an entire folder, even subfolders, to a web server from a client. It can be used ActiveX, COM or other type of components.

View Replies View Related

Upload File Into Specific Directory Using ASP

I want to know is it possible to upload file into specific directory?
Actually I already find how to upload a file, but I can not choose/browse where I want to store/save the file.

View Replies View Related

Select Mutliple & File Upload In Forms

I have <select muliple> in one of my update forms - ASP. This update form also handles a file upload (enctype="multipart/form-data"). The problem is I am not getting the mutiple values of the select option after submission. Only the value of the first option selected is retrieved. How can I fix this or modify the script to get all the values selected.

View Replies View Related

CDate/SA-Fileup

why this is giving me a 'type mismatch' error on the last line with the (CDate) when i use it with SA-Fileup and everything works fine when I am not using SA-Fileup. Checked out the SA-Fileup docs and couldn't find anything.

here it is.Code:

Set oFileUp = Server.CreateObject("SoftArtisans.FileUp")

eventStartDate = oFileUp.Form("sYear") & "-" & oFileUp.Form("sMonth") & "-" & oFileUp.Form("sDay") & " " & oFileUp.Form("sTimeHour") & ":" & oFileUp.Form("sTimeMinutes") & ":" & oFileUp.Form("sTimeSeconds")

View Replies View Related

SA-Fileup And CDate...

Can anyone tell me why this is giving me a 'type mismatch' error on the last line with the (CDate) when i use it with SA-Fileup and everything works fine when I am not using SA-Fileup. Checked out the SA-Fileup docs and couldn't find anything.

Code:

Set oFileUp = Server.CreateObject("SoftArtisans.FileUp")
eventStartDate = oFileUp.Form("sYear") & "-" & oFileUp.Form("sMonth") & "-" & oFileUp.Form("sDay") & " " & oFileUp.Form("sTimeHour") & ":" & oFileUp.Form("sTimeMinutes") & ":" & oFileUp.Form("sTimeSeconds")

eventEndDate = oFileUp.Form("eYear") & "-" & oFileUp.Form("eMonth") & "-" & oFileUp.Form("eDay") & " " & oFileUp.Form("eTimeHour") & ":" & oFileUp.Form("eTimeMinutes") & ":" & oFileUp.Form("eTimeSeconds")

ESDT = CDate(eventStartDate)

View Replies View Related

SA FileUp File

We got an upload page that was working fine, but now isn't. There was no change to IIS 5.0, Windows 2000 server, the asp page or the 3.13 version of SA's fileup component.

The issue is files that are 7,904 bytes or smaller upload just fine. files that are 7,905 bytes or larger do not upload. Looking at the fileup components' .TotalBytes properties...the 7,904 byte file or smaller fileup can determine the size correctly. if the .totalbyte properties is response.write out for a file larger than 7,904.

Any idea what would cause the smaller files to work just fine and the larger files to fail in the upload process? Why would fileup not be able to determin the filesize of a file larger than 7,904 bytes?

View Replies View Related

SA-FileUp Secure Download Issue

I was wondering if anyone has ever successfully used SA-FileUp's download feature. I am being forced to change from "ASPSmartUpload" as the server I am moving everything to is using SAFileUp version 3.2.

I ran through their documentation and found a section called "secure download", unfortunately, their examples do not work at all!

On Netscape 7, the file "pretends" to download (after changing the file extension), but only an empty file is created.

On IE 6, I simply get an Internal Server Error (when calling the
TransferFile method of my object). Code:

View Replies View Related

Active Directory :: The Attribute Syntax Specified To The Directory Service Is Invalid

I have written a script to update user information in the Active Directory using ADSI. Here is part of it:

Set User = GetObject("LDAP://<GUID=" & GUID & ">")

User.Department = DepartmentName

User.SetInfo

Set User = Nothing

This works fine unless DepartmentName is an empty string ("").

Then I get error 0x8007200B: "The attribute syntax specified to the directory service is invalid."
This happens with all the attributes I have tried, including TelephoneNumber
.
Do I need to delete the value of the attribute instead of setting it to an empty string? If so, how do I do it?

View Replies View Related

Upload Excel With Macros Using HTML File Upload

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?

View Replies View Related

ASP Upload Error - Persits.Upload.1 (0x800A001C)

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:

View Replies View Related

Persits Upload ( ASP Upload ) AND Database Integration

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 Related

Pure ASP Upload - Upload To 2 Directories?

I 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.

View Replies View Related

Error Using <select></select>

I have written some code which should dynamically build a table which is then populated with questionas and possible answers. The format of the answers will vary ie they may be in the form of a radio button which will be rated from 1-5, checkbox or a selectbox.

The first problem I have is if I do not comment out <select></select> I get an error message saying the page can not be found. when I do take it out I get asp timeout. Code:

View Replies View Related

Directory

im brand new to ASP and all but at school they want a webpage and they wont support PHP which is what i know so i need to figure out how to show everything under a directory then if sub folders have them link to that folder

View Replies View Related

Outside Of Web Directory

I would like to do something like this:
<!--#include file="C:dbutilsdbConfig.asp"-->

Where the directory C:dbutils is OUTSIDE of the web directory and not
accessible by a client web browser.
The reason I would like to do this is in case somehow ASP processing
gets turned off in IIS. Since "dbConfig.asp" contains a
username/password for the database, I don't want this file to somehow
get sent back to a client browser as plain text.
Two questions:
1) is it possible to use an include file that is outside of the web
directory?
2) is there even any way that ASP processing can be turned off?
perhaps not explicitly, but maybe via malicious code or virus?

View Replies View Related

Directory To Pdf

Does anyone know if it's possible to convert files to .pdf format through ASP? or better yet, does anyone know of a utility that can take a directory of word documents and form one pdf file with the contents?

View Replies View Related

ASP Directory

I've been playing with the script at http://www.asp101.com/samples/dir_list.asp

What I want to know is if the script can be changed to 'read' from the dir it 'loads' from..

So I can just put the script is heaps of folders without having to edit the 'strPath' for each.

View Replies View Related

IIS 6 And Virtual Directory

I have an Intranet site sitting on an Windows XP server, which has IIS 6.0 installed. This Intranet site contains a virtual directory (VD), which sits on a second server and has Windows 2000 installed.

To test how a virtual directory would work for this particular Intranet site, I had previously set up the VD on the web server. Everything worked well...no errors.

Once testing was complete and the location of the VD changed to the second server, I have been receiving the following error:

Microsoft VBScript runtime error '800a004c'
Path not found

I understand what this error is saying, but I was wondering if anyone knows of any problems between IIS 6 being on a XP server and the VD on a 2000 server and any possible implications.

View Replies View Related

Get All Filenames From A Directory?

Is it possible to read the all filenames from a directory? Basically I want to grab all the filenames from a directory and make a flat file with all the values in it.

View Replies View Related

Trying To Browse A Directory

I'm trying to create my own browsing window for a directory on my webserver. I can access the root the directory and the first sub-directory but anything lower than that I get "path not found". I'm almost sure the problem is attaching the selected directories names on to the objFSO.GetFolder line.

I used the Mid function to get my selected directories. I can't figure out how to add the selected directories to the objFSO.GetFolder line. Code:

View Replies View Related

Protect Directory

I'm trying to protect a directory from users not logged in.
Let say i'm trying to protect a direcory called files.

I only want the user to acces the files when they've logged in.

http://www.sitename.com/files/filename.doc

Even though they know the name and path i want to prevent people from downloading the files.

I don't want the user to be able to send out the link to another friend without logging in.

Is this possible i'm using a wiindows server.

View Replies View Related

Queue Directory

I am using CDONTS with winnt and all the sent emails are sitting in the QUEUE directory in c:inetputmailroot.

View Replies View Related

ASP Active Directory

I'm trying to connect to the active directory using asp. I'm having problems with logging in, what happens is the username accepted is not the user logon name but the displayname is accpeted heres the code:

View Replies View Related

ASP & Active Directory

Could anyone show me a sample, snippet, code chunk ... etc of how I can get ASP to find the Active Directory username based on a supplied email address?

For example: I want ASP to query active directory and retrieve the AD username for where user email address = 'whatever@whatever.com'

View Replies View Related

Directory Trick?

Not sure how to address this, but...

Obviously in the SEO world, this:

http://domain.com/my-article-name

Is better than:

http://domain.com/article.asp?articleid=67

Here's the challenge though: How do you get your dynamic pages to appear as a directory rather than an asp page with a querystring? I'm fairly certain that there is a workaround to this to be able to have one dynamic asp script that appears in your address bar as a directory.

View Replies View Related

Virtual Directory

Is there a way in asp to create a new default web site within IIS
I am setting a content managament system and want to create a new default web site during on of the processes.
So for example if people create a new site within the admin section and call it Jacinto this will create a new virtual directory called Jacinto.

This would then be accessed at http://localhost/jacinto

View Replies View Related

Virtual Directory

Here are a couple of links that describe how to create a virtual directory programmatically on IIS.

http://support.microsoft.com/defaul...kb;EN-US;188954

http://www.vbrad.com/pf.asp?p=sourc...ate_iis_dir.htm

I haven't had a close look at the code yet but it's not in asp/vbscript

Has anybody done it in pure asp.I would like to do it on a site hosted by a third party and I am unable to install any dll's or exe's on the machine because it is a shared webserver.Both .NET and Non .NET would be good

View Replies View Related

Virtual Directory

I have a virtual directory set up and it's fine. Now what I want to do is write files into them. When I try to do that it gives me a "path not found" error.How can I do this? Is this even possible?

View Replies View Related

IIS Virtual Directory

I want to write a web hosting application. But how to create a IIS virtual
directory programmatically in ASP page?

View Replies View Related







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