Is it possible to search contents inside some remote txt files via FTP without having to download them all?

Is it possible to search contents inside some remote txt files via FTP without having to download them all?

How to do it?

Thanks a lot!
LVL 1
dnwxAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lesouefCommented:
not part of the protocol, so if an app offers that, it silently downloads it, at least in memory to scan it, so don't expect this to be any quicker than retrieving the file.
dnwxAuthor Commented:
omfg =(

Do you suggest any other ideas for accomplish this task, preferably not installing new services?
The server where these txt files reside is a Windows 2003 server.

Thanks for your reply, lesouef.
lesouefCommented:
use a ftp application which simulates a logicial drive, but according to what kind of comparison you make, it may fail as the logical drive is simulated and does not provide the same info as a real one; so the answer depends on the app used to compare and how it opens the files to compare them.
The one I used to mount a ftp volume as a logical unit was ftpdrive I think, not sure, I have the exact ref @ home, so I can be more accurate tonight. Among ftp client there are a few which can compare "silently" but I never checked if they can search in it.
note the windows natively can mount a ftp server as well, though everybody seems to ignore this. the method is not very safe (windows ftp uses clear passwords), but worth to check if it works to search.
to do so: create a new favourite in your network neighbouhood, using this url type:
ftp://user:passwd@ftpserver
that will create an alias of the ftp volume but I doubt windows does searches on this, so check with your own search app if not windows search.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

dnwxAuthor Commented:
hey lesouef,

Sorry I didn't made myself clear. The client software (the one that will search for files) will be developed in java.

So can windows mount a native ftp server?! Can you tell me more about that. I just google but couldn't find anything. Please tell me any clue, or command so I can search better about it.

Thank you again.
lesouefCommented:
not now, I am @ work and i have all the stuff on my pc @ home, not here, so it would be a waste to let you search while I have it @ home. the only trouble with this is that is uses explorer functions that can't automated with a script (the only thing I can check myself), so no idea if explorer has an API for a java app to use it.
I have tried quickly with mklink, does not work, so only the manual way seems to work.
dnwxAuthor Commented:
I'll wait you to get @home.
thank you a lot, man.
lesouefCommented:
so,
ftpdrive is http://www.killprog.com/fdrve.html
that will simulate a logical drive X: for a given ftp server.

or windows method (vista or xp, words may not be accurate, I am working with a non english OS)
goto "my computer" where you see all drives, right click, create new network place (or favourite),
url= ftp://user:passwd@site.com/ 
done.
now you can drag a link from this on your desktop and use it almost as a normal folder. note that shell commands do not resolve this special kind of link, only the explorer works on this, so no idea if searching wil lwork on contents (works on file search), and I have desactivated searching inside files on my machine, indexing is slowing down too much.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dnwxAuthor Commented:
Thanks for your help and your suggestion!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
File Sharing Software

From novice to tech pro — start learning today.