By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,640 Members | 1,600 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,640 IT Pros & Developers. It's quick & easy.

asp file upload question

P: n/a
All,
I have two Windows Server 2003 boxes running IIS 6.0 webservers that
host our proxy pac file. These two servers are behind a network load-
balancer and house our corporation's Proxy PAC file. I am working on
developing an ASP-based file upload solution for our Proxy team so
that when they make a change to the PAC file, they simply have to go
to this upload site, browse for the new PAC file on their system and
then upload it to the web server.

What I am wanting the ASP-based file upload solution to do is the
following:

1) Allow them to browse for a file to upload from their system.
2) See if the file name already exists on the server, if it does,
rename the file currently on the server to:
%filename%ddmmyyyy.old
3) Do both of these things to both servers simaltanously.

Additionally, I do not want to use anything like SA-FileUp or
commercial solution for this. I know with ASP.NET and VB / VBS there
has to be a way to do this but I cannot find any examples of how to do
this.

Now, additionally, I have very good HTML skills but I am rather
lacking in ASP coding skills so any examples that you would like to
include in your posts would be greatly appreciated!

Thanks in advance,
Will Smothers, MCSE

Apr 24 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
just google

ASP.NET upload

you'll find many examples of uploading files using vb.net coding

<wi***********@gmail.comwrote in message news:11*********************@t39g2000prd.googlegro ups.com...
All,
I have two Windows Server 2003 boxes running IIS 6.0 webservers that
host our proxy pac file. These two servers are behind a network load-
balancer and house our corporation's Proxy PAC file. I am working on
developing an ASP-based file upload solution for our Proxy team so
that when they make a change to the PAC file, they simply have to go
to this upload site, browse for the new PAC file on their system and
then upload it to the web server.

What I am wanting the ASP-based file upload solution to do is the
following:

1) Allow them to browse for a file to upload from their system.
2) See if the file name already exists on the server, if it does,
rename the file currently on the server to:
%filename%ddmmyyyy.old
3) Do both of these things to both servers simaltanously.

Additionally, I do not want to use anything like SA-FileUp or
commercial solution for this. I know with ASP.NET and VB / VBS there
has to be a way to do this but I cannot find any examples of how to do
this.

Now, additionally, I have very good HTML skills but I am rather
lacking in ASP coding skills so any examples that you would like to
include in your posts would be greatly appreciated!

Thanks in advance,
Will Smothers, MCSE

Apr 24 '07 #2

P: n/a
Take a look at PureASP upload, http://www.motobit.com/help/scptutl/pure-asp-upload.htm.
you can
1) upload file to server with ASP using IE/Firefox
2) Check the existence of file on server (see Upload-Unique-names.asp)
using filesystem object and rename the old file if exists
3) You can do it also remotelly, if the ASP user has access to disk on
both servers.

Antonin

wi***********@gmail.com napsal:
All,
I have two Windows Server 2003 boxes running IIS 6.0 webservers that
host our proxy pac file. These two servers are behind a network load-
balancer and house our corporation's Proxy PAC file. I am working on
developing an ASP-based file upload solution for our Proxy team so
that when they make a change to the PAC file, they simply have to go
to this upload site, browse for the new PAC file on their system and
then upload it to the web server.

What I am wanting the ASP-based file upload solution to do is the
following:

1) Allow them to browse for a file to upload from their system.
2) See if the file name already exists on the server, if it does,
rename the file currently on the server to:
%filename%ddmmyyyy.old
3) Do both of these things to both servers simaltanously.

Additionally, I do not want to use anything like SA-FileUp or
commercial solution for this. I know with ASP.NET and VB / VBS there
has to be a way to do this but I cannot find any examples of how to do
this.

Now, additionally, I have very good HTML skills but I am rather
lacking in ASP coding skills so any examples that you would like to
include in your posts would be greatly appreciated!

Thanks in advance,
Will Smothers, MCSE
Apr 25 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.