Navid Malekghaini's Personal Blog

My personal weblog for sharing and storing some of my activities related to computer science over the internet

Navid Malekghaini's Personal Blog

My personal weblog for sharing and storing some of my activities related to computer science over the internet

Navid Malekghaini's Personal Blog

Navid Malekghaini

Software Engineer @ Intelligent Cloud Infrastructure Laboratory
Prev. ML Researcher @ University of Waterloo x Orange Telecom

University of Waterloo
Department of computer science
200 University Ave W, Waterloo, ON N2L 3G1, Canada
cs.uwaterloo.ca

contact me
navidmalekedu (AT) gmail (DOT) com [ Primary Email ]
nmalekgh (AT) uwaterloo (DOT) ca

FTPSearch - purely written in BASH

Tuesday, 29 January 2019، 12:02 PM

This is a very straight forward program for someone who wants to learn bash in a matter of hours and also in a efficient way.

the Guide consists of two main steps:

✔ Getting familiar with bash script
✔ Implement a simple bash script program

Motivation (summary) :


Well according to RFC959 FTP does not support search meaning you
have to find your desired files all by yourself.
As a computer programmer this is awful for us, so we have decided
to implement a simple bash script program that is simply FTP
client with search!


YOUR SCRIPT = FTP IN TERMINAL + SEARCH SUPPORT

DOWNLOAD FULL DESCRIPTION HERE

My Approach:

i believe this is the easiest way!
There are ways that you can go on to be able to search in FTP as a file, therefore you must first make a shadow of FTP in your linux native filesystem. I will use curlftpfs inorder to mount the FTP in my /mnt/FTPSearch ( I will simply mount the FTP on my own machine )



Download the Full Implemention From Github With Explanations

موافقین ۰ مخالفین ۰ 19/01/29