RE: Windows to Linux File Transfer (Automatically)
- From: "Mertens, Bram" <mertensb@xxxxxxxxxxxx>
- Date: Mon, 25 Oct 2010 10:55:31 +0200
I would recommend against FTP as it (at least with all ftp clients I've seen and used) doesn't provide clear feedback in case of problems. At least not by means of return codes etc. you can check on.
I've seen several implementations where the output is parsed to implement some form of checking.
Using rsync would also be recommendation. As stated it allows to use a secure connection, is robust and if conversion from dos2unix is needed simply add it as a step in the cron job.
I haven't tested this but if I remember correctly dos2unix doesn't touch binary files or files which are already in unix format. So it's safe to run on a bunch of files after every run.
Regards
Bram
Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 0406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB
-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of sunhux G
Sent: zondag 24 oktober 2010 12:51
To: General Red Hat Linux discussion list
Subject: Re: Windows to Linux File Transfer (Automatically)
Hi Humphrey,
The link below did mention about ASCII support by lftp but do
you know if this still stands if we're using sftp or scp protocol?
http://lftp.yar.ru/lftp-man.html
*
*
*mget* [*-c*] [*-d*] [*-a*] [*-E*] [*-O* *base*] *files*
*mput* [*-c*] [*-d*] [*-a*] [*-E*] [*-O* *base*] *files*
-a use ascii mode (binary is the default)
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Windows to Linux File Transfer (Automatically)
- From: Abhishek Aggarwal
- Re: Windows to Linux File Transfer (Automatically)
- From: Serge Dubrouski
- Re: Windows to Linux File Transfer (Automatically)
- From: Aaron Bliss
- Re: Windows to Linux File Transfer (Automatically)
- From: sunhux G
- Re: Windows to Linux File Transfer (Automatically)
- From: David Bear
- Re: Windows to Linux File Transfer (Automatically)
- From: sunhux G
- Re: Windows to Linux File Transfer (Automatically)
- From: David Bear
- Re: Windows to Linux File Transfer (Automatically)
- From: sunhux G
- Re: Windows to Linux File Transfer (Automatically)
- From: Humphrey Widjaja
- Re: Windows to Linux File Transfer (Automatically)
- From: sunhux G
- Re: Windows to Linux File Transfer (Automatically)
- From: Humphrey Widjaja
- Re: Windows to Linux File Transfer (Automatically)
- From: sunhux G
- Re: Windows to Linux File Transfer (Automatically)
- From: sunhux G
- Windows to Linux File Transfer (Automatically)
- Prev by Date: Re: append
- Next by Date: Re: Off-topic: Any list or web forum for Linux system
- Previous by thread: Re: Windows to Linux File Transfer (Automatically)
- Next by thread: RE: Windows to Linux File Transfer (Automatically)
- Index(es):