@related: file transfer Protocol busybox ftps sftp ssh raid armv5

HARMATTAN

http://rzr.online.fr/q/ftp# using #FtP #ClI on #MeeGo/ #HarmattaN : #NcFtp for backup/sync and #LFtp upgraded thx @itsnotabigtruck !n950club

check http://rzr.online.fr/q/harmattan to InstalL

For “OldSkewl Mobile DiY blogging” , I write using redak then recursive upload w/ ncftp my online dokuwiki … KisS

  apt-get install ncftp
  cd ~/mnt/notes/
  redak ~/mnt/notes/index.txt
  ncftpput -R -u $u -p $w $h $dest .

Alternative is to use lftp or RSync …

@TaG: RSynC FilE TransfeR ProtocoL HarmattaN HandSet

www.turfnet.com_wilber_wp-content_uploads_2010_02_blogging_monkeys.jpg

OBSOLETE

ftps

"A record packet with illegal version was received."
put: Fatal error: gnutls_record_recv: A record packet with illegal version was received.

* GnuTLS recv error (-8): A record packet with illegal version was received.

curlftpfs

is there a way to set the '-k' option of curl (ie : curl -k –ftp-ssl $url )

here is the anoying issue i'd like to workaround

> PASV
* Connect data stream passively
* GnuTLS recv error (-8): A record packet with illegal version was received.
* Closing connection #0
ftpfs: operation ftpfs_getdir failed because Input/output error
unique: 4, error: -5 (Input/output error), outsize: 16
unique: 5, opcode: RELEASEDIR (29), nodeid: 1, insize: 64
unique: 5, success, outsize: 16

tftp server test

sudo aptitude install tftpd busybox

busybox tftp  -g -l /dev/stdout -r uImage.buffalo    localhost | xxd | less

sudo less /var/log/syslog
#| Nov 26 13:56:34 lap in.tftpd[13346]: connect from 127.0.0.1 (127.0.0.1)
#| Nov 26 13:56:34 lap tftpd[13347]: tftpd: trying to get file: uImage.buffalo
#| Nov 26 13:56:34 lap tftpd[13347]: tftpd: serving file from /srv/tftp

tftpboot

busybox

busybox tftp client seems to have a 32MB limit

i=33554432
dd if=/dev/zero of=/tftpboot/home/$USER/tmp.tmp bs=$i count=1 ; busybox tftp -g -l /dev/null -r home/$USER/tmp.tmp localhost
1+0 records in
1+0 records out
33554432 bytes (34 MB) copied, 0.167244 s, 201 MB/s
using server "127.0.0.1", remotefile "home/rzr/tmp.tmp", localfile "/dev/null".
sending 28 bytes
00 01 68 6f 6d 65 2f 63 6f 76 61 6c 70 2f 74 6d 70 2e 74 6d 70 00 6f 63 74 65 74 00 
received 25 bytes: 0005 0000
tftp: server says: Undefined error code



i=33554431
dd if=/dev/zero of=/tftpboot/home/$USER/tmp.tmp bs=$i count=1 ; busybox tftp -g -l /dev/null -r home/$USER/tmp.tmp localhost

received 515 bytes: 0003 0000
sending 4 bytes
00 04 00 00 

windows

copy images

On WindowS :

  • NaS: switch off, plug out
  • WiN: boot win ; ncpa.cpl 192.168.11.1 ; start 'TFTP Boot.exe'
  • NaS: press funct, plug in, switch on, blink blue repeat, release funct, press funct, wait,
  • WiN: tfp message, start navi, wait 60s, once found launch updater, debug, change ip, update

ToDo :

If using VirtualBox / BridgE disable FireWall set Host to 192.168.11.54 and guest gateway to same ip

MORE

ftp.txt · Last modified: 2020/09/08 20:43 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki