1) Please post "the script". We'll need to check which program is expanding the asterisks (Shell or FTP ?).
2) If you have Shell access on the FTP server, while in the target directory please post the output from these commands which are designed to make invisible characters visible:
Please always post directory listings, program code and program output in CODE tags.
3) What Operating Systems and versions are you running on the source and target servers?
4) What Shell do you use?
5) If you are using anything other than the "ftp" which comes with your Operating System please specify what FTP package you have installed.
6) Do any of the filenames contain space characters or other non-alphanumeric characters, or are any of the filenames very long? It is easy to create a file on a unix or MSDOS computer which has a name which is invalid in FTP.
Last edited by methyl; 01-25-2011 at 08:11 PM..
Reason: Afterthough 6)
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)
Hi,
I am facing an issue with mget command, below are the details
The following commands are in a batch file "abc.ctl"
cd /mypath/mydirectory/
mget 'MYFILE_*.touch'
bye
I use this file as a parameter for an sftp command
sftp -b abc.ctl -oIdentityFile=$myserver -oPort=$myport >>... (0 Replies)
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)
:confused:
I've been trying to display all my files in my /tmp directory when I'm in it. I just can't get the darn find command working...
And I've been trying to look at my /tmp directory on my home directory and I know I'm messing something up there..
Another issue I had while back but... (12 Replies)
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)
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)
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)
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)
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)