Topic "getting the last part of a file...???"

Author Message
adri
[View user's profile]

Joined: 2009-10-12
Posts: 2
Location: UK
Hi

Is it possible to only fetch the last say 200 lines of a file? I'm wanting to fetch the last couple of days worth of an apache access log to keep an eye on what's happening. If I fetch the whole thing every time though I'll end up using up my allowed bandwidth!

TIA

Adri
_________________
---------------------------
http://www.peak-hives.co.uk
Advertisements
adri
[View user's profile]

Joined: 2009-10-12
Posts: 2
Location: UK
just tried using

'tail --lines 2000 "!"'

as a custom command but it then told me the current sfpt didn't support the command and needed to open a seperate shell. when I said yes open a new shell I get 'invalid access to memory'

If anyone can help it'd be appreciated.

Cheers


Adri
_________________
---------------------------
http://www.peak-hives.co.uk
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
adri wrote:
when I said yes open a new shell I get 'invalid access to memory'

Thanks for your post. This bug is being tracked already.
_________________
Martin Prikryl
Guest




Hi, thanks for the reply. When is 4.2.4 due for release?

TIA

Adri


prikryl wrote:
adri wrote:
when I said yes open a new shell I get 'invalid access to memory'

Thanks for your post. This bug is being tracked already.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
Anonymous wrote:
Hi, thanks for the reply. When is 4.2.4 due for release?

Few weeks. Though the bug is present in 4.2.3 only, so downgrade helps as well.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License