I use below ftp command to push the file from UNIX server to Mainframe system.
To ftp the file successfully i need to get the out put for FNAME as
(double quote followed by single quote filename then single quote followed by double quote).
I tried assigning below format for FNAME but i could get the format as required.
Can anyone help me to get the required quote in put command.
I have problem when executing the lftp command. we get correct format when echo in variable but when executing through lftp FNAME not having same formatting. i tried four different formatting condition in FNAME variable but no luck. Results are given in o/p.
What "problem when executing the lftp command"? Show the error and messages verbatim, char by char. You may want to set the -xtrace option when executing the script to get a better feeling what is actually happening.
How are the "Results ... given in o/p." obtained?
Did you try without ANY quoting of the file name?
Are you sure the failure is caused by the file name, NOT by e.g. a firewall or a protection setting that blocks the "data connection" due to "protection clear"?
Hello,
I am trying to write a script that will lftp a file. The parameters are being passed in to the script from ETL tool. The put command is not working. put $file_name $tgt_file_name in the function ftpfile(). When I hardcode the file name with path its working. can some one help me... (5 Replies)
We have lftp command inside shell file. which is intern calling .cfg file for transferring the file from one server to other.
Below command to not working.
lftp -e "set net:max-retries 1; set net:reconnect-interval-base 1; put -E -O /destinationdir/inbox/ /sourcedir/test.txt; bye" -u... (4 Replies)
dear all,
I need to get files from ftp when only files consist of words 'EUROPE'
ftp sources in folder /ftp1/ftp2/ftp3/201409
files inside /ftp1/ftp2/ftp3/201409is as below
201409_EUROPE_citizen.txt
201409_EUROPE_natality.txt
201409_EUROPE_occupancy.txt
201409_ASIA_citizen.txt... (1 Reply)
I installed KVM and configured two virtual machines in it server1.example.com(192.168.100.193) and tester1.example.com(192.168.100.230).I want to access server1.example.com from tester1.example.com over lftp.As far as networking is concerned between both I do have some doubts.
I tried ping and... (5 Replies)
Hi all. I want to know, if there is any chance to pass lftp listing to CLI dialog. I want to make an interactive CLI ftp manager, based on lftp.
Version of dialog I use:
root@dlink:~# dialog -v
cdialog (ComeOn Dialog!) version 1.1-20100428 (0 Replies)
Please let me know what is lftp options combination to wait and download a file from target as soon as its gets created. I tried with different options but not able to get it working as I need
any help would be appreciated (4 Replies)
LFTP Mirroring
We are planning to use lftp to mirror some of the files and
directories on to the remote server.
What we exactly want to do is mirror some of the directories and
exclude some of the the directories from "/" i.e. main root. . What
lftp is doing is... (0 Replies)
We have installed lftp version 3.4.7. When trying to send a file it loops on sending. It appears that the lftp sends about 130k then attempts to verify transmission (with a head command maybe). The receiver is pulling the data immediatly behind the firewall and does not appear to be answering... (0 Replies)