Click to See Complete Forum and Search --> : transfering directory through FTP
blue_gene
12-19-2003, 04:48 PM
hi i want to transfer a directory to a linux machine.....
c:\ftp
user...
password...
ftp>
ftp>bi
.......
ftp>mput directory_name
here i am getting error
generally i transfer files in this way.... is it not valid for directory??
how can i transfer a directory ??
homey
12-19-2003, 08:50 PM
I use wget for that sort of thing, works great! :)
It helps if you know beforehand the directory structure of the site you want to download from. Then you can use the --cut-dirs=5 command. In that sample the directory structure went down quite a ways and I didn't want all of that showing up in my download folder. :)
For example.....
wget -cm -nH --passive --cut-dirs=5 \
ftp://mirror.physics.ncsu.edu/pub/whitebox/3.0/en/iso/i386
This will download the i386 directory and everything in it from that site.
Note: if you want to see the full ftp line, try right click and properties.
homey
12-19-2003, 10:39 PM
transfer a directory to a linux machine
I am so sorry, I just noticed my mistake and I feel pretty stupid. :(
I have never actually used mput or even put so I can't be of much help.
Tucks tail and leaves the room.....
blue_gene
12-20-2003, 09:40 AM
does anybody can give some suggestion????
somebitch
12-20-2003, 02:39 PM
zip it?
blobaugh
12-21-2003, 01:17 AM
Do you have access to a computer running a gui(win or linux)? If you download an ftp client and upload a directory. Since most gui ftp clients have logs of all commands look at the logs and it should contain the necessary commands.