Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attachments clarification

Status
Not open for further replies.

sweetleaf

Programmer
Jan 16, 2001
439
CA
Hi

I wrote a program that allows a user to select a document then attach it to an email. When the document is selected the user clicks another button "Attach" which uses the file system object to copy it to the nt server which i am emailing from.

A colleauge told me that i was doing this all wrong and that the file needed to be "uploaded" to that server and not just copied there. I am confuse since it seems to work just fine the way it is. Can someone please clarify this to me, I'd really appreciate it.


thanks,
 
thanks giahan,

Yeah thats what I've read and heard. However, my question still stands - why "upload" a file to another server when you can just "copy" or "move" it there using FSO?

Thanks,
 
b/c your code compile on the server where you load your web. When you have the email attach, it only goes to the server and find the file on the server, it can't go to the client PC.
Hope this answers ur question.
GH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top