Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1658
  • Last Modified:

Copy file to Web Server

How can I copy a file from a client PC to a Web Server??

I have tried with FileSystemObject, but It doesn't work well..Please help !!
0
enryo
Asked:
enryo
1 Solution
 
prokniCommented:
You need to use file upload tools to do that.
I am using
http://www.softartisans.com

SA-FileUp?
It is preety handy and cool.
If you nwat to use then I cna give you some source.
FileSystemObject works on server. If I underestand it correctly you wnat to copy one file from client side to the server and that mean suploading some files to the server.
0
 
enryoAuthor Commented:
Thanks for your response Prokni..

Do you personally have use that tool, how does it work ??
Do you have source?..

Does someone knows if I can use some Web Folders utility??

0
 
phuctranCommented:
go to www.dundas.com and download the free Dundas Upload component.  It comes with examples and documentation.
I am using it.  But only if you can register the component on your server using c:\winnt\regsvr32 DSUpload.dll.  If it is not your server, then ask the administrator for permission.
There is a pure ASP code to upload, but I don't use it.  Maybe someone can help you to get the code.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
prokniCommented:
Yes I personaly am using it and it works great.
As other dll file you need to register it.I do have source but it comes with documentation.
It has been heavily used in out extranet and it works great.
0
 
John844Commented:
here is some more info.  some of it overlaps other comments...


Uploading typically requires a component,
either the posting acceptor from Microsoft,
ASPUpload from http://www.aspupload.com/,
SAFileUp from http://www.softartisans.com,
ActiveFile from http://www.infomentum.com/activefile/,
SimpleASPUpload FREE from http://www.asphelp.com/aspsimpleupload/ 
or ScriptUtilities from http://www.pstruh.cz/help/ScptUtl/library.htm (which also has "PureASP" -- a way to upload
without a component).

My personal preference is ASPUpload because of its excellent documentation and its additional methods
to change permissions, attributes and ownership of files the instant they're uploaded. It also supports
access to the Form collection, while many other solutions do not.
Most components come with documentation on the form and script required to make the upload happen.

also some posting acceptor links:
http://www.webappdeveloper.com/whitepapers/Using%20MS%20Posting%20Acceptor.html 
http://msdn.microsoft.com/workshop/server/asp/server052499.asp 
0
 
enryoAuthor Commented:
phuctran,

Thanks a lot for your valuable help, I have tried that component and It work very well ..

Also I will like to thank other experts prokni and John844.

I really appreciate..
0
 
mgfranzCommented:
Good post John.

Another great FREE upload tool is ABCUpload, http://www.websupergoo.com/abcupload-1.htm

I personally use ASPSimpleUpload, but I have been playing with ABCUpload and like it...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now