Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb Site ManagementScripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 3rd, 2006, 09:10 PM
Basslord1124 Basslord1124 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Southern Ohio
Posts: 47 Basslord1124 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 43 m 24 sec
Reputation Power: 0
Send a message via AIM to Basslord1124 Send a message via Yahoo to Basslord1124
Help with FTP backup script....

All right, I am trying to put together a batch FTP script that will backup my MP3 collection from my server (Linux) to my local machine (Windows) and right now I have hit a brick wall.

Originally I had done the idea of this script by using a batch script on the Windows machine that would use the net use command to create a temporary networked drive to that folder (I had my MP3 folder set up as a network drive as well) and back it that way. That worked great...but then I thought maybe I should start doing it through FTP instead and honestly, I am beginning to think FTP is making it twice as hard.

This is what I'd hope to accomplish:

-Back up all files, directories, and subdirectories and maintain that integrity when it's transferred to my local machine (Windows) through FTP.

But as I said, I am running into some snags mainly around the directory/subdirectory issue. From what I am seeing at this point, it appears like I am going to have to go through basically each directory to back it up. That, to me, seems like a lot of extra work and might make the script a tad difficult to maintain...especially if I decide to change the directory structure around a tad (which occasionally I do). This is what my directory structure looks like, in a general sense...

M:\MP3
M:\MP3\Artist
M:\MP3\Artist\Album
M:\MP3\Artist\Album\song.mp3

...and so forth.

So am I truly gonna have to change directories in the script to make it work? I originally thought I could use the wild card at the main directory (in this case MP3) but that didn't work....unless I was doing something wrong. But anyways, if anyone has any suggestions let me know. I'd really appreciate it.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementScripts > Help with FTP backup script....


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway