Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ASP / Components / July 2008



Tip: Looking for answers? Try searching our database.

How to upload a file to 2 FTP sites without an upload component for company

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Laphan - 26 Jul 2008 16:23 GMT
Hi All

I can't get round this because it's a local government thing, but I've done
a CMS for a school (in ASP classic) that allows them to upload gifs, jpgs,
pdfs and docs to their site for the usual CMS stuff.

Works fine on my host as I use ASPupload and I have one FTP location for my
data, but I've now found out that I've got to put the site on the local
government's servers and they only provide the following setup:

1) No ASP components such as ASPupload.  They say I can do it in ASP.net as
standard, but they can't give me any example code on how to do this!!!  Any
ideas bearing in mind that I upload the file and then update an SQL DB with
the file info?

2) They have 2 FTP locations for 1 site (no mirroring) so a user normally
uploads the same content to 2 locations.  This is no good for me as it's
50/50 as to whether the user uploads the file via my CMS to FTP site 1 or 2
and then 50/50 as to whether the visitor sees the content from FTP site 1 or
2.  I cannot get them to alter this setup, even though I think it is crap,
so do you know of a way where I can upload the file to these 2 locations
simultaneously???

Thanks
Adrienne Boswell - 27 Jul 2008 05:12 GMT
> Hi All
>
[quoted text clipped - 21 lines]
>
> Thanks

You can FTP without a component -
http://benmeg.com/code/asp/ftp.asp.html - I use this at work all the
time, saves me from having to upload the files using a component.  I
just have to put in the name of the image, or other file, then ftp it
up.  

You can also upload without a component -
http://benmeg.com/code/asp/ftp.asp.html
I have used this as well, and it works fine.

Signature

Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Daniel Crichton - 29 Jul 2008 12:41 GMT
Adrienne wrote  on Sun, 27 Jul 2008 04:12:21 GMT:

>> Hi All

>> I can't get round this because it's a local government thing, but
>> I've done a CMS for a school (in ASP classic) that allows them to
>> upload gifs, jpgs, pdfs and docs to their site for the usual CMS
>> stuff.

>> Works fine on my host as I use ASPupload and I have one FTP location
>> for my data, but I've now found out that I've got to put the site on
>> the local government's servers and they only provide the following
>> setup:

>> 1) No ASP components such as ASPupload.  They say I can do it in
>> ASP.net as standard, but they can't give me any example code on how
>> to do this!!!  Any ideas bearing in mind that I upload the file and
>> then update an SQL DB with the file info?

>> 2) They have 2 FTP locations for 1 site (no mirroring) so a user
>> normally uploads the same content to 2 locations.  This is no good
[quoted text clipped - 4 lines]
>> even though I think it is crap, so do you know of a way where I can
>> upload the file to these 2 locations simultaneously???

>> Thanks

> You can FTP without a component -
> http://benmeg.com/code/asp/ftp.asp.html - I use this at work all the
> time, saves me from having to upload the files using a component.  I
> just have to put in the name of the image, or other file, then ftp it
> up.

> You can also upload without a component -
> http://benmeg.com/code/asp/ftp.asp.html
> I have used this as well, and it works fine.

Your second link is the same as your first ;)

For ASP uploading, I've used this in the past with plenty of success: http://www.motobit.com/help/scptutl/pure-asp-upload.htm

Signature

Dan

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.