Get & Copy Commands in LInux

I need to "get" a directory containing .png and .html files from a Linux server and copy those files to a mapped windows drive - and I don't know how...
starpilot1Asked:
Who is Participating?
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.

ozoCommented:
perl -MLWP::Simple -e 'getstore("http://server/file.html","/Volume/drive/file.html")'

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
starpilot1Author Commented:
If I understand correctly I type
getstore http://the Linux server name/all the .png & .html file names /I only know the mapped drive letter W:/all the .png and .html files names

Couldn't I copy the directory - in ths case aug06 - and have it carry all the files with it?

ozoCommented:
Does the server support FTP?
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

TintinCommented:
The answer depends on what protocols and file sharing you have setup/available.

The easiest way would be to create a samba share on the Linux server and simply map that on the Windows server.
ahoffmannCommented:
> .. copy those files to a mapped windows drive ..
are you talking about copying on windows or Linux?
M$:
  xcopy /S \\linuxserver\share\directory \\windowshost\share\destination

Linux:
  cp -r /mnt/sourceserver/share/directory /mnt/windowshost/share/destination
starpilot1Author Commented:
Yes OZO, the server suupports FTP.

I'm using Putty to access the Linux server.  I run a routine using Webalizer and the resulting .png & .html files reside in a directpry on the Linux server. I'm supposed to copy those files .png & .html files to a directory appearing on my windows workstation which is actually a mapped drive (W:) to another server
ahoffmannCommented:
still confusing ...
trying to get used to it:
  you sit on M (windoze) and want to copy files from L (Linux) to R (wondoze)
  and you have mapped R on W:

then simply map L to another drive (let's say L:) and use my previous xcopy example (replacing \\server\share by W: resp. L:)
amit_gCommented:
Assuming that you have ftp running on the server, do this (type exactly in order) from your Windows machine ...

Start->Run->ftp
open YourLinuxServerName
user YourUserName
YourPassword
lcd W:\WhateverDirOnWDrive
cd TheDirWhereYourHTMLAndPNGFilesAre
bin
mget *.*
bye

starpilot1Author Commented:
My IT dept provided Winscp and I was able to copy WINSCP...I used that and was able to complete the copy.
starpilot1Author Commented:
I've solved my issue - unfortuneately, I didn't use the solutions provided bt anyone here - I'd like to at least divide the points up then for a very much appreciated effort.  How do I do that?
ssvlCommented:
Scroll down to the bottom of the question, just above the text box, and click the "Split Points" link. Select the radio button of the comment who you want to Accept as the Accepted Answer. Only one button can be selected. Set the point value (a text box above the comment) of how much you want this person to receive of the points. Then set the point values for each of the experts comments to whom you want to allocate points and these will be considered Assisted Answers in helping you resolve the issue. Double check your information and then click the Submit button at the bottom of the page. One note: the total points of the splits must equal the amount you asked the question for itself, and no person can receive fewer than 20 points.
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
Linux OS Dev

From novice to tech pro — start learning today.