![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
ftp help
Does anyone know why I can't transfer a directory containing files from a remote directory to a local directory using psftp. If I take the file out of the directory but put it in the same place as where the directory was then I can get that file using psftp's get file command. Does not work for the directory (holding folder) though. Could it have something to do with permissions?
|
| Forum Sponsor | ||
|
|
|
|||
|
So you're saying that if a directory(folder) is holding say 50 files in say ten sub-directories then the only option to transfer these files onto a local machine is to go into each sub-directory and transfer them from there?
Is there not a better way? |
|
|||
|
If the remote system is a UNIX based one, have the directories/files tar'd into a single file, then compress the file (gzip is good) for faster transmission.
If you do this, be sure and use binary mode for transmission. Then, on the destination machine, you would need to uncompress and untar the file. tar is a common way to put multiple files in multiple directories into a single file for transmission or distribution. If both systems supported pkzip, that would do it also. But ftp is a "File transmission protocol", and while it will handle wildcards, it will not cross directories. |