Go Back   Trackpads Community > General Discussions > Computer and Technology > Web Design

Web Design Forums and discussions on webdesign

Web Design

Reply
 
LinkBack Thread Tools
Old 05-07-2005, 16:00   #1 (permalink)
srm
Civilians

 
Default Batch uploading of files

I could do with a pointer in the right direction here... I have two web
sites, hosted on different servers. They share a database in common. This
is an article database - I make all additions and changes to the database
on server A and the database is copied each night to server B. It also gets
copied to my local (development) machine (running Linux) - the one running
the cron job, so I always have up-to-date data to work with. That all works
fine. But I also want to do something similar with the image files to
accompany the articles.

I'm half-way there: each night, a cron job on my local machine downloads the
images from server A. It uses wget with the -N switch, which means that
only new or updated files are actually copied. At that point I have a full
set of the files on my local machine. I now want to upload them to server
B.

I use ncftpput for uploading batches of files where I know they are all new.
But I can't see a switch for bcftpput that will say "don't bother uploading
if the file's already there", and I don't want to upload all the files
every time.

Any thoughts?
--
@+
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Reply

Bookmarks

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerPoint 97 Batch Converter (Pptcvt.exe) - Batch Converter Error Paul L Microsoft Applications 6 08-14-2007 23:10
Uploading large files.. Raj Dhrolia Web Design 1 10-04-2005 14:00
Case sensitivity while uploading files Ray Fichthorn Web Design 0 01-21-2005 20:00
Please help with uploading FP2000 files Harriet Web Design 0 07-23-2004 15:10
Batch Processing JR Microsoft Applications 1 06-15-2004 17:22


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 13:00.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.68637 seconds with 19 queries