try
The format of what gets returned will depend on the kind of ftp server. Not all ftp's behave precisely the same. e.g., mainframes, windows, and UNIX may have different formats.
So change
to get the filename out of the string. Experiment by changing the numbers.
How can I go about getting this done? I have tried and failed with a loop before I start the session and after seeing that I am already in the ftp code block and not bash when I am trying to perform this:
#FTP Information
ftp_server=xx.xxx.xxx.xx
ftp_user=xxxx
while read line; do... (1 Reply)
Hi,
I am writting a shell script which will pull a list files (mentioned in one file 1.txt) from external FTP site (for ex: ftp://abcd.efghijk.com/). The 1.txt is in my local unix directory. I have username and password to connect the external FTP site.
Also before I pull the files, I need... (0 Replies)
G'day,
I was wanting to write a shell script that checks an ftp server for the presence of new files, then get those files. In so much as the get, this is pretty straight forward, but I cannot work out how to get a list of files to check. Is it possible for a shell script to get the output of... (1 Reply)
Hello,
I would want to list files of an server FTP with the path of the file...
i try "ls -R" but ftp don't accept this command...
Is it possible with curl command ???
Regards. (5 Replies)
Hi ,
We are facing a weird problem in our project. we need to send some xml & audio files to a remote FTP server from a Linux box, we are doing this in Perl script using Net::FTP->. Issue here is.. when FTPed the files using Perl scripts, only empty files ( 0 byte) are getting created on the... (2 Replies)
Hello Unix Gurus,
Help required from you.
My requirement is something like this
I want to create a concurrenct program in Oracle Applications using shell script to transfer files from Apps Server to destination FTP server.
I have created custom program, where I will extract all the... (4 Replies)
Hi,
I have a solaris system with only ftp access.Need to get the list of files page wise display..
Also would like to redirect output of "ls" command to a text file in same directory.
Can anyone suggest me the sollution for this?
Rakesh (2 Replies)
Hi Guys
I did a forum search for "ftp scripts" Looked at 8 pages and didnt see anything that would help. Most seem to be logging into a ftp server and transfering files.
What I need to do is login to a FTP server. Goto a folder and list it so it showes newest files first. It would be nice to... (4 Replies)
I list files on server ftp, and i'm a french man then i have files with accents.
When i use wget for a mirroring, the files with accent are not encoded correctly, i have some "%CC%81" instead "é" for example...
I have idea to cat the file list and pipe for tr awk or sed but unfotunately nothing... (2 Replies)
Hi,
At work we have backups on a ftp.
I want to view 4 last files saved (their names, dates, and weight).
how can i achieve this goal using simplest way ?
Thank's. (3 Replies)
Discussion started by: simon974
3 Replies
LEARN ABOUT REDHAT
snap2tzx
snap2tzx(1) Emulators snap2tzx(1)NAME
snap2tzx - Convert ZX Spectrum snapshot to .tzx tape images
SYNOPSIS
snap2tzx [-1 string] [-2 string] [-b colour] [-g string] [-l string] [-o filename] [-r] [-s speed] [-v] [-$ filename] snapshot
DESCRIPTION
snap2tzx converts a ZX Spectrum snapshot into a .tzx tape image.
OPTIONS -1 string
causes string (which has a maximum of 32 characters) to be shown while loading.
-2 string
causes string (maximum 32 characters) to also be shown while loading.
-b colour
specifies the border colour while loading.
-g string
causes string (maximum 32 characters) to be used as the game name while loading.
-l string
causes string (maximum 8 characters) to be used as the BASIC filename in the loader.
-o filename
causes the output to be sent to filename.
-r causes the final line of attribute data in the loading screen to be bright.
-s speed
specifies the speed of the loader; available values for speed are 0 (1500 bps), 1 (2250 bps), 2 (3000 bps) and 3 (6000 bps).
-v specifies verbose output.
-$ filename
specifies that the ZX Spectrum screen stored in filename should be used as the loading screen.
snapshot
specifies the snapshot (in a format supported by libspectrum(3)) to be converted.
In any string parameter, the tilde (~) will be converted into a copyright symbol.
BUGS
None known.
SEE ALSO fuse(1), fuse-utils(1), libspectrum(3), listbasic(1), snapconv(1)
The comp.sys.sinclair Spectrum FAQ, at
http://www.worldofspectrum.org/faq/index.html.
AUTHOR
Philip Kendall (philip-fuse@shadowmagic.org.uk).
Tomaz Kac wrote z802tzx (ftp://ftp.worldofspectrum.org/pub/sinclair/tools/unix/z802tzx-1.2.tar.gz), on which snap2tzx is very heavily
based.
Martijn van der Heide wrote the turbo-loading code, originally for Taper (http://www.worldofspectrum.org/taper.html).
Version 1.0.0 16th December, 2010 snap2tzx(1)