Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


FTP Connect & File Upload

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> FTP Connect & File Upload
  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 >>
 FTP Connect & File Upload - 6/28/2008 5:48:35 AM   
  zeddjb

 

Posts: 1
Score: 0
Joined: 6/28/2008
Status: offline
I'm sort of new to VBS so bare with me please.

I have an FTP site and I am using CerberusFTP Server.  The server works just fine for me, almost flawlessly.  What I would like to do is make a VBS that will connect to my FTP from a remote location and upload a folder.  I would only like it to run when double-clicked from the remote computer.  I want this folder to be overwriten when it is run.

Reason: I run an FTP server not only for me, but my father also uses it to back-up his pictures and other folders.  From that, I create backups of the system.  It's sort of a small time non-profit buisness that I do for my family.
  The method he uses now to copy those folders is all done manually, and he is, lets say not exactly a computer genius.  In fact, most the time I have to VNC into his computer from my house and start the process myself. 

If anyone has a set of VBS code I could look at or point me to that would be great.  I do have a little knoledge of VB, as I did take a VB class.  So you don't have to break it down all the way to barny style.

Thanks.
 
 
Post #: 1
 
 RE: FTP Connect & File Upload - 6/29/2008 3:19:42 AM   
  yfki

 

Posts: 73
Score: 0
Joined: 12/12/2007
Status: offline
Check this out..

http://www.naterice.com/blog/template_permalink.asp?id=51

Wscript.Echo FTPDownload("192.168.1.1", "domain\user", "password", "C:\", "\", "123.txt")
Wscript.Echo FTPUpload("192.168.1.1", "domain\user", "password", "C:\123.txt", "\")




      

(in reply to zeddjb)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> FTP Connect & File Upload 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