[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1229
  • Last Modified:

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?

thanks
0
AM6_Networks_AdamL
Asked:
AM6_Networks_AdamL
1 Solution
 
rsivanandanCommented:
I'm not sure if you can transfer a whole file using tftp.

Cheers,
Rajesh
0
 
kfullartonCommented:
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.
0
 
llefebureCommented:
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?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now