How to FTP a folder..?? is it possible..??


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to FTP a folder..?? is it possible..??
# 1  
Old 03-12-2008
How to FTP a folder..?? is it possible..??

Is it possible to ftp a folder..??
If yes How to do it..??
If no Is there any way to ftp all files in a folder..?? or how to transfer large amount of files from another system to my system in unix..??
Please help..
Thanks..
# 2  
Old 03-12-2008
Quote:
Originally Posted by RRVARMA
Is it possible to ftp a folder..??
If yes How to do it..??
If no Is there any way to ftp all files in a folder..?? or how to transfer large amount of files from another system to my system in unix..??
Please help..
Thanks..
I dont know if you can ftp a directory and its contents. You may want to check out the FAQ article on FTP.
If none of those suite you, then zip or tar the directory, ftp that file and extract it there.
# 3  
Old 03-12-2008
i believe that you cannot ftp a directory with its content via normal ftp... there is a script created by a member here that can do that... try to use the search button.

hope this helps
# 4  
Old 03-12-2008
ftp_transfer()
{
cd /data/emp_dir
time ftp -niv 192.0.0.99 << EOF
user dummy dummy
cd in/rec
ascii
mget $1*.txt
ls -l
quit
EOF


# all emp*.txt files will be transfered to your pc

ftp_transfer "emp"
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

zip the folder and loaded to ftp

Hi , I am working on a script which will do the below things 1) It will checkout from the repository 2) then zip that checkout stuff 3) and put the zip folder to FTP server Here my question is I am able to checkout successfully through this coomand svn co... (2 Replies)
Discussion started by: rohit22hamirpur
2 Replies

2. UNIX for Dummies Questions & Answers

FTP Getting a Folder

I am a total noob assume i know nothing I have dabbed in it a little in the past but that was so long ago i have forgotten it all. Back story: (short version) Rented a web server from xenon servers. Need it to Grab some files from another server from xenon (minecraft server) (images of the map)... (4 Replies)
Discussion started by: RustyDagger
4 Replies

3. AIX

AIX 5.3 FTP Folder Restriction

Hi All, How can I restrict the folder on an FTP USER on AIX 5.3? I don't want the ID to change folder other than his own home folder. Thanks for any comment you may add. (7 Replies)
Discussion started by: itik
7 Replies

4. AIX

A user with restricted ftp access to a folder

Hi, We have Oracle Database on AIX 5.3 server.We want to give ftp access to a user to a specific folder.He should be able to put and get files from that specific folder only.Moreover he should not be able to cd to any other filesystems also along with root directory. Please note that as per... (1 Reply)
Discussion started by: dwiravi
1 Replies

5. UNIX for Dummies Questions & Answers

create folder in windows from unix while FTP

Hi, I would like to know if it's possible to create a folder in a Windows Server while running a ftp script in Unix. The idea is to create a script that searches for different files in folders, and when the file is found, take the path of that file and create it to Windows and ftp the file to... (0 Replies)
Discussion started by: Metalero de Oz
0 Replies

6. Shell Programming and Scripting

ftp a files from a folder

Hi Can anyone give me a shell script to ftp all the files in a folder to a another machine .And if the ftp is sucees i want to move the files to the same to another folder in the same client m/c (2 Replies)
Discussion started by: dineshr85
2 Replies

7. Shell Programming and Scripting

Parse the .txt file for folder name and FTP to the corrsponding folder.

Oracle procedure create files on UNIX folder on a regular basis. I need to FTP files onto windows server and place the files, based on their name, in the corresponding folders. File name is as follows: ccyymmddfoldernamefile.txt; Folder Name length could be of any size; however, the prefix and... (3 Replies)
Discussion started by: MeganP
3 Replies

8. Shell Programming and Scripting

How to copy Folder with FTP

Dear All, I'm new in Unix System, can you help me about how to copy folder using FTP command. I have folder name "/heru" and I want copy this folder to my windows system. how to copy this folder? and how to copy all file that using 1 extesion to other divice using ftp for example I want... (1 Reply)
Discussion started by: heru_90
1 Replies

9. UNIX for Dummies Questions & Answers

How do I FTP to my Web Folder?

I don't consider myself a newbie, but I am working on my first Unix thats not OS X. And I have a feeling this is a newbie question I'm asking. I installed MkLinux (redhad based) on my PowerMac 6100 (66 superfast MHz). I got apache up and running, and I can log in and ftp and download and upload... (15 Replies)
Discussion started by: l008com
15 Replies

10. UNIX for Advanced & Expert Users

Ftp Upload Folder

Hi! I'd like to upload a complete folder with subfolders with put. At the moment I always get the err-msg: aboutme: not a plain file Could anyone help me?? Thanx (3 Replies)
Discussion started by: roberthawke
3 Replies
Login or Register to Ask a Question