I need to copy a directory from the local disk to a server.
The directory contains a lot of directories, subdirectories, and files. (Think of a hierarchy tree of directories).<
upload(fileName){
If (filename is not dir){
ftpFile();
return;
}
listoffiles = get the list of all files in dir
for each file : listoffiles {
upload(file)
}