Lftp or other FTP Client qpkg's

Backup, Restore, Q-Back 25s/35s, Netbak Replicator

Lftp or other FTP Client qpkg's

Postby sc430fan » Wed Jun 27, 2012 6:15 am

Hi All I have a livedrive briefcase tat I want to backup of my NAS to...

I have found these instructions

http://blog.livedrive.com/2010/11/for-a ... briefcase/

They refer to lftp as the client, is there a qpkg or an easy way to install it?

Alternatively is there another client? and does it use the same commands?

I have tried the rtrr FTP client and it will not work with livedrive

I hope this makes sense

Paul
sc430fan
Starting out
 
Posts: 27
Joined: Fri Nov 18, 2011 5:36 am
NAS Model: TS-110

Re: Lftp or other FTP Client qpkg's

Postby sbresin » Thu Jun 28, 2012 5:08 am

Hi,

You could have a look at this... Never tried though

viewtopic.php?p=185355

Stanislas
sbresin
Easy as a breeze
 
Posts: 459
Joined: Sun Jan 08, 2012 10:50 pm
NAS Model: TS-119P+

Re: Lftp or other FTP Client qpkg's

Postby father_mande » Thu Jun 28, 2012 3:30 pm

Hi,

lftp is provide thru Optware ipkg (with others clients)

Code: Select all
lftp - 4.3.6-1 - Sophisticated ftp/http client, file transfer program supporting a number of network protocols.
Successfully terminated.


Philippe.
QNAP TS-459, 4.0.1 ,QPKG Debian6, Ajaxplorer 4
QNAP TS-109, under Debian Wheezy
QNAP TS-219P II, 4.0.1
QNAP TS-269L, 4.0.1 QPKG HDStation
Image
*** Perhaps Virtualbox will survive !! ***
.. VENEZ nous rejoindre, les Francophones : http://forum.qnapclub.fr/index.php
User avatar
father_mande
Experience counts
 
Posts: 1977
Joined: Mon Oct 06, 2008 6:52 pm
Location: Saint Mande, France
NAS Model: TS-x69L

Re: Lftp or other FTP Client qpkg's

Postby sc430fan » Sun Jul 01, 2012 4:32 am

Hi all

Thanks for the replies, I found lftp in the optware library.

All good

Paul
sc430fan
Starting out
 
Posts: 27
Joined: Fri Nov 18, 2011 5:36 am
NAS Model: TS-110

Re: Lftp or other FTP Client qpkg's

Postby ra3ac » Sat Sep 01, 2012 7:54 am

I have been searching for a way to sync files to Livedrive and found this post. I had a few hours to kill and with my basic Unix experience I got this working - so sharing as couldn’t find the info anywhere online - hope it helps someone:

1 – install Optware
login to QNAP GUI and go to Home>>Applications>>QPKG Centre and install Optware.
Once installed go to the link http://x.x.x.x:80/Optware/ (x.x.x.x being IP of NAS drive). Hit the “Submit Query” button, install lftp.

2 – Create a script file
Open the Public folder on the Qnap (\\x.x.x.x\Public) and create a new text file; rename the file (i called mine Dealsync) and delete the .txt file extension. Open the file in Notepad++ and add the following:

lftp ftp.livedrive.com
lftp -u email@yahoo.com,password
cd Team\ Folders/Creative\ \&\ Studio/Local\ Drive/
mirror -R -v /share/HDA_DATA/Deal .
quit

The above script copies any new or updated files in the shared Deal folder to the Livedrive folder: Team Folders\Creative & Studio\Local Drive.

3 - Create a cron job to schedule the running of the script
- 3.1. “vi /etc/config/crontab” and add the entry.
0 * * * * /share/HDA_DATA/Public/Dealsync

This runs the job on the hour every hour

- 3.2. Run 'crontab /etc/config/crontab' to load the changes.
- 3.3. Restart cron, i.e. “/etc/init.d/crond.sh restart”

I have no idea how to see logs if the job completed or not but its working. Good luck.
ra3ac
New here
 
Posts: 3
Joined: Mon Aug 29, 2011 5:54 am
NAS Model: TS-210

Re: Lftp or other FTP Client qpkg's

Postby Antirealism » Sun May 19, 2013 10:42 pm

Thank you for sharing this.

worked perfectly.

to find the log file look in

~/.lftp
transfer_log

I found that i had to add a / to the end of "mirror -R -v /share/MD0_DATA/Folder/."
too get all sub folders to sync.

I have a pro livedrive so to use sftp with lftp you need to change this in config or you will get FEAT negotiation error

only problem is I don't no were to find this config file to change this ??? Any one

found this from a google search.


To use sftp with lftp you must recompile it with ./configure
--with-openssl=/usr/lib or else it will hang at
FEAT negotiation since by default it only communicates in ftp.I
Highly recommend using sftp so your packets can be encrypted.
It's slow to use especially for people who have slow internet.


I hope this helps anyone that's looking :)
Antirealism
Starting out
 
Posts: 10
Joined: Tue Sep 18, 2012 5:06 pm
NAS Model: TS-219P

Re: Lftp or other FTP Client qpkg's

Postby pwilson » Sun May 19, 2013 11:19 pm

sbresin wrote:You could have a look at this... Never tried though

viewtopic.php?p=185355

Stanislas


Yes, I've been meaning to try "lftp", but just like internaut19's article: Re: FTP Client with Webinterface (which you quoted above), I am so satisfied with "ncftp" that I never seem to give "lftp" a try.

I have been using "ncftp" for 20 years, and it does the trick for me. Unlike the horrible buiilt-in "ftp" (/sbin/ftp, which is actually "netkit-ftp-0.17"), ncftp can handle fully qualified FTP URL's like: ftp://csdread:csdread@ftp.qnap.com/NAS/Manual/RemoteReplicationCompatibility.pdf (ie ftp://username:password@fileserver.example.com/filename).

I probably should look at "lftp", but I simply have never found a compelling reason to try it. Perhaps someone familiar with both "lftp" and "ncftp" can provide some insight on why I should give "lftp" a try.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-419P+ w/ 4 * Seagate Barracuda 2TB 5900rpm (RAID5) - FW: QTS 4.0.1 Build0606
Forums: View My Profile - Search My Posts - Send Private Message - View My Photo - Top Community Forum Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs - HowTos - QNAP Video Library
User avatar
pwilson
Moderator
 
Posts: 4317
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada
NAS Model: TS-419P+

Re: Lftp or other FTP Client qpkg's

Postby doktornotor » Mon May 20, 2013 12:06 am

There's also some net2ftp beta QPKG for the shell-impaired... :p
QNAP, why is your homework still not done?
3.8.2 Build0301 - Codename "Titanic" - Dear customer, GTFO! NOT acceptable once again!
QTS 4.0 - Codename "Leaky Snail" - Slower than ever. Yes, we can!
QNAP's new logo competition
User avatar
doktornotor
Experience counts
 
Posts: 2742
Joined: Tue Apr 24, 2012 5:44 am
NAS Model: Not Selected

Re: Lftp or other FTP Client qpkg's

Postby Antirealism » Mon May 20, 2013 5:11 pm

The reason I tryed Lftp was because RTRR ftp doesnt work well with Livedrive.
it seems to make a folder thats oddly named. I did read this was ment to be
a time stamp but it dos not look like any clock i have seen.
then it creates all subfolders but there is no content in them.

I have not looked in to ncftp. does it work in the same way ? sync 2 folders across ftp or sftp (mirror as it says on lftp website)?
does net2ftp have this too ?

LIst of features Lftp can do http://lftp.yar.ru/features.html


The reason I ask is that Livedrive backup charge extra for a
nas to be backed up and to have this feature running you
need a windows or mac machine running so the client can work.
which I find rubbish since the idea of nas is to not need a pc/mac running.
There Blog says for liunx user they have ftp/sftp asscess using Lftp.
http://blog.livedrive.com/2010/11/for-advanced-users-backing-up-a-linux-pc-to-your-livedrive-briefcase/

if i could get sftp working to Livedrive then I could backup the whole nas. I never feel like i could send personal stuff over normal ftp.

but with 3tb cloud storage for £24 a year plus unlimted backup storage of pc/macs i am willing to keep poke about and see what works best.
Antirealism
Starting out
 
Posts: 10
Joined: Tue Sep 18, 2012 5:06 pm
NAS Model: TS-219P


Return to Backup & Restore

Who is online

Users browsing this forum: No registered users and 2 guests