Copying A Folder via TFTP

Someone tell me what I'm doing wrong:

I'm copying a new /html/ folder from a TFTP server to a switch's flash at flash:/html/
...Doesn't work, TFTP server shows it transferred "Sent html\" which contains 0 bytes, but I know for a fact that the folder is full of files.

I can copy the files from the /html/ folder invidiually but not just the whole folder at once.  Am I missing an operand or something to make the whole contents of the folder transfer?

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.

I'm not sure if you can transfer a whole file using tftp.


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
I don't think you can transfer entire directories using tftp.

If your tftp server is on a UNIX box, you could tar up the directory, copy the tar file via tftp, then use the archive command with the /xtract parameter to untar the file.
The TFTP standard is extremely basic. There is no provision for subfolders, browsing the files, or any security. In your case, it probably thought it copied a file named html which was 0 bytes.

If this is the web management for a switch, can you FTP these files over there instead?
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

From novice to tech pro — start learning today.