Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


upload file to server and check folder

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,1444
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> upload file to server and check folder
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 upload file to server and check folder - 10/10/2004 12:30:34 AM   
  Yutaka

 

Posts: 5
Score: 0
Joined: 2/8/2003
From:
Status: offline
hello guys,

I got a problem doing uploading. Actually it works, but I want to do about checking. The scripts that I'm using is ASP

What I want to do is upload the file to: IP address\foldername

Actually I want to upload to IP address\DesignCtr\MQS\
In folder MQS, got month's folder like Aug, Jan,....etc
In each month's folder got 2 folders which are Best and DVD

When I want to upload a file, example the file name is AUG-report.doc
I got to grab the the file name "AUG" to check whether folder AUG is exist in folder MQS, if not then create a folder named AUG

if it exists, then I use the value <%=division%> which contains either value Best or DVD to check whether in AUG folder has Best or DVD folder(refering to division value), if not then create Best or DVD folder and store the file. Example if the <%=division%> value is Best, then store it in Best folder.

If folder Best or DVD already exist, then check AUG-report.doc is exist or not, if it exist then prompt out the message whether to overwrite it, if not then store it.

This is the upload file(http://www.geocities.com/cbkai/uploader/fileuploader.zip), but upload to C drive, I want to upload to an IP adress followed by folder's name. And the checking part I got no idea how to do. Anyone can please help?
I will be very appreciate your help. Thank you.

Yutaka
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> upload file to server and check folder Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts