10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i am using ftp command to get some files from a remote server.
if the remote server contains files of different extension.
abc.txt
def.txt
ghi.lst
jkl.cnf
is it possible to get all the three type of files in one ftp?
i am using this ftp command
$FTP $Remote_server <<_FTP1
... (4 Replies)
Discussion started by: Little
4 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
I need to use if then else logic with the mget command.I need to check if {JOURNAL_CODE}*_1_Audit*.txt exists then download it (using mget)and if not then leave it.Same for the {JOURNAL_CODE}*_2_Audit*.txt file.Can you please tell me how can i achive that?
sftp -b -... (3 Replies)
Discussion started by: Param0073
3 Replies
3. UNIX for Dummies Questions & Answers
I am trying to transfer about 3000 files from a window platfrom to my linux server.
the scrip is pretty simple
ftp to the source server (windows)
cd to source directory
lcd to destination directory
mget *.jpg
what I get in the log file is:
mget 07421001.jpg? 200 PORT command successful.... (4 Replies)
Discussion started by: Doveman
4 Replies
4. UNIX for Dummies Questions & Answers
Hi
I am trying to get 3 files sitting on a FTP server to an application server.
All 3 files are .csv files. I am using mget *.csv and it transfers only 2 files.
the 3 files contain a common word in their file names "Report". I tried
mget *Report*.csv and that gets me 2 files as well.
... (3 Replies)
Discussion started by: bobsn
3 Replies
5. Shell Programming and Scripting
Hi,
I am using mget ftp command to pull a bunch of zip files from Windows to local unix machines. It is working fine as follows.
-rw------- 1 autosys autosys 614 Aug 19 13:13 02034128.zip
-rw------- 1 autosys autosys 1866 Aug 19 13:13 02034127.zip
-rw------- 1 autosys ... (1 Reply)
Discussion started by: spatra
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am using mget ftp command to pull a bunch of zip files from Windows to local unix machines. It is working fine as follows.
-rw------- 1 autosys autosys 614 Aug 19 13:13 02034128.zip
-rw------- 1 autosys autosys 1866 Aug 19 13:13 02034127.zip
-rw------- 1 autosys autosys 14592 Aug 19... (1 Reply)
Discussion started by: spatra
1 Replies
7. Shell Programming and Scripting
Hi All,
I am using mget (mget server.*) through ftp... ... i dont want to overwrite the files in my localmachine if it is already exists... is it possible through ftp ?? any other optios also mos t welcome
Thnks in advance (4 Replies)
Discussion started by: scorpio
4 Replies
8. Shell Programming and Scripting
Hi All,
I am using a csh ftp to get all the relevant files i need.
When i reduce the number of file to 4 (which is aaa,bbb,ccc,ddd), the script manage to get all the files i need. But when i add "eee" to the mget command, it doesn;t seem to get any files at all.
Is there a limit to how many... (0 Replies)
Discussion started by: Raynon
0 Replies
9. UNIX for Dummies Questions & Answers
hi,
Function 'mmin' is not in my unix, what is the other alternative to find files created/modified in last 10 minutes.
Unix Command:
find . -min -10
find: bad option -min
find: path-list predicate-list
Thank you (1 Reply)
Discussion started by: Mohee
1 Replies
10. UNIX for Dummies Questions & Answers
hey,
I was wondering if its possible to use a complete path and file name using the mget command example
mget /dir1/dir2/dir3/file.ext
or
get /dir1/dir2/dir3/file.ext
because whenever i try its says file not found or permission denied.....
but if i do
cd dir1
cd dir2
cd dir3
mget... (2 Replies)
Discussion started by: Ganondorf
2 Replies