[文章作者:张宴 本文版本:v1.0 最后修改:2008.12.12 转载请注明原文链接:http://blog.zyan.cc/post/387/]

  借用了兄弟部门在全国N台服务器的空间放一些视频文件,由于只给我开放FTP帐号,于是找了一款Linux命令行下的FTP客户端软件──ncftp,用来作整个目录批量上传。ncftpput是它的一个附带程序,在shell脚本中调用ncftpput上传文件到FTP服务器,非常方便。

  详细内容见其官方网站:http://www.ncftp.com/

  编译安装:
wget ftp://ftp.ncftp.com/ncftp/ncftp-3.2.2-src.tar.gz
tar zxvf ncftp-3.2.2-src.tar.gz
cd ncftp-3.2.2/
./configure --prefix=/usr/local/ncftp
make && make install


  示例:将本地/data0/htdocs/videofile/flv/games/目录内的所有文件和目录,上传到FTP服务器的flv/games/目录内(如果不存在flv/games/目录则自动创建)。
/usr/local/ncftp/bin/ncftpput -u FTP帐号 -p FTP密码 -P FTP端口 -m -R 192.168.1.2  flv/games/ /data0/htdocs/videofile/flv/games/*



Tags: ,



技术大类 » 其他Unix技术 | 评论(49) | 引用(1) | 阅读(64955)
CoachOutlet Email Homepage
2012-5-18 17:44
coach outlet has become a popular shopping experience for consumers around the world, and a desirable distribution channel for manufacturer's and retailers. Coach outlet online develops very quickly because it runs by its own special way and it contents the customers greatly.
Air Jordan Email Homepage
2012-5-18 17:44
Thank you for shopping in our store. We are a reliable online jordan bags seller, specialist in providing numbers of new air jordan bags at amazing price . If you need practical, fashionable and well-known nike dunks, you can consider to choosing on the nike Outlet. Its nice and popular design will make you feel a sense of fresh air.
Nike Air Max Email Homepage
2012-5-18 17:44
This nike air max for sale belongs to the sounding just what are termed as nike air vintage best sellers, many other products and services for the reason that range appearing companies the actual nike air Galliera, plus the nike air outlet monogram selection. nike dunks are made of high leather materials which can be durable and fashionable.They will make you become the focus in the streets or audience.
xujie123
2012-5-21 11:28
Our online store offers you discounted Designer louis vuitton replica wallet at present. You could find them in desirable quality and price. If you don't mind high class louis vuitton uk, have a good time here.louis vuitton Store Online Handbags can also bring great accuracy as well as practical applicability and fashionable.Have you ever dreamed of being as charming as Madonna? Have you ever thought of becoming an envy of all your friends? If so, come to louis vuitton outlet.<br/>
xujie555
2012-5-21 13:58
coach factory outlet uses graceful accessories to match the classical logo of coach, which is the best combination of coach. The handmade coach products?can make you more charming and graceful.coach factory online provides people many coach goods. If you wish to snatch the coach handbag, then this best method is made for that you like for coach discount.coach factory outlet online is a fashion brand to ensure its quality. With designer coach shoulder bags, you will always attract people's attention. The bags will emphasize your personal style and taste.<br/>
xujie333
2012-5-21 15:17
coach outlet online Store guarantee that all the coach handbags offered are own high quality. In addition , all of them are sold at an unexpected low price.If you want to purchase, just visit their website.coach factory outlet is really sizzling kinds of shopping way for you. With the usage of the replica designer coach bags, you can surely be able to change your individual looks in a stunning manner.Coach bags on sale from the coach outlet are cheap or discount prices that you certainly will stand out from the crowd on your next camping trip!<br/>
Cheap Jerseys Email Homepage
2012-6-13 02:09
Interesting blog! I have really enjoyed to read your post. Your blog is very useful and very informative for me. Thanks for sharing.
Christian Louboutin Wedges Email Homepage
2012-7-24 09:12
Cheap Red Bottom Shoes
Red Bottom Shoes Outlet
when these kinds of treatment can be purchased. Warfare confirming targets gunfights in addition to shelling, that instant influences for example dem.christian louboutin shoes ise in addition to accidents.
Christian Louboutin Slingback
Christian Louboutin Wedges
yerrey Email Homepage
2012-7-26 18:23
Very nice and helpful information has been given in this topic. I like the way you explain the things. Keep working. Thanks. .
coach88888888 Email
2012-8-13 17:54
If you desire to go to Coach Factory Outlet, but have no idea in which to go, you can research online. It is no doubt that there is drastically information and details about it for the reference.Coach Factory Online are loved by many people, when you walk in the street, you could see many people take coach styles.hat experts claim Coach Outlet Online shopping is in the changes they are available in.Coach Outlet will send you a coupon in the post to use in their upon only after you type a achieve. The Coach bags are customarily somewhat many than the ones in the stores.
GH Email Homepage
2012-9-26 11:02
Purple and dark is typically a typical Karen Millen colour as nicely as the products and solutions retain a girly playful glamor and so are influenced through the rock and roll culture.A typical misconception is the actuality that their skincare and products and solutions are inexpensive whereas costs to the skincare collection are comparable to other luxury skincare brands.One with the most effective ways, perhaps, to expertise the Anna Sui  idea would be to key in their shop during the ny SoHo area, which is Karen Millen dress typically a boutique.You might be transported in to a fairy tale globe in which rock and roll posters and Gothic/Victorian design combines with girly and feminine style and somehow it all manages to search good.You might get Anna Sui skincare products and solutions with as significantly as 55% away from Dress4Less and get free of cost transporting with our unique offers.in the occasion you undoubtedly are a Karen Millen Ireland celebration buff then you definitely should be also mindful with the significance of celebration dresses.
cczgvsd
2012-11-28 16:24
我的淘宝客网站开好了大家看看把
[2012-12-23 12:43]
来源:魏面使完
内容:我的淘宝客网站开好了大家看看把http://t.cn/zjXt1oK
孔份份或 Email
2012-12-26 18:08
修改一级建造师考试分数(QQ:862488826)修改经济师考试分数
Karen Millen dresses Email Homepage
2013-1-31 10:24
subliminally,Karen Millen UK obtaining dressed up is often a "plan". We just do not talk as well as think much over it. Until you might be a few, along with your mom's wanting to coax anyone into quit messing around with what it is which includes your own focus in the moment--and Karen Millen look closely at getting ready for, say--church. If you actually desire to "dress up" your small Karen Millen coat business, be successful, and take it in order to where you want that it is, to be able to where it needs to be--you have to have a strategy. A well-thought away Karen Millen for sale "business plan"! Where would you commence? The actual collection? The ebook store? Yahoo and google, Bing, Lycos? Use searching pertaining to "business plan". Attempt "Business Insurance policy for Electronic Assistant". As well as, cause your own query at several Marketing assistant discussion boards; you'll discover you can obtain a test strategy within dimensions various from a basic one-pager to 1 with Twelve or perhaps 21 internet pages. Or higher! When Personally, i Googled my method on the internet looking for matters one could include in a Business Program,
海阔天空 Homepage
2013-5-13 20:37
海阔天空俏佳人娱乐会所15026982229 小姐服务24小时出差旅游大学生兼职按摩小姐上门,处女开红,兼职空姐,,白俄罗斯小姐,兼职模特,性感少妇全国连锁,就近提供北京、上海、广州等地姐兼职美女上门保健按摩北京小姐上门,上海兼职美眉,广州美女上门保健按摩,西安女大学生兼职,重庆空姐兼职,杭州酒店宾馆美女,温州兼职美女,南京白领兼职,全国本地找小姐上门按摩,模特私拍,援助交际更多请进 www.lvcai.org 查看
best wrinkle serum Email
2013-6-17 11:19
你的另一个非常丰富的职位。希望从本网站阅读更多有用的信息。 best wrinkle serum xkw9w3b
right diet Email Homepage
2013-7-19 11:12
另一个伟大的教程。你总是发布非常有用的技巧。谢谢。 The Right Diet
django Email Homepage
2013-11-30 19:43
Uggs Sale the ideal idea Coach Outlet Online  enough time to search for many of reduction Ugg boot. Like big portions? If you began ready your apartment, Coach Outlet  it's always best to consider the most effective way direct to the stage it could be to utilise your inventory throughout Coach Factory Outlet  concern, or maybe you basically won't destination stuff not enough.we're anti- whitening tray because Coach Outlet Online  i will be enjoy just get germ dog breeders
Steven Email Homepage
2015-3-19 02:59
Thank you for this post Weight Loss Tea
分页: 2/3 第一页 上页 1 2 3 下页 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]