Mget * does not work
Posted: Wed Nov 29, 2006 2:57 pm
Client is running f-secure 4.3 for unix. If they mget "filename" it works fine. Mget with a * will return a generic access denied in our server log. Here are the client logs.
sftp> mget *.txt
File ``file1.txt'' not a regular file, directory or symlink.
File ``file2.txt'' not a regular file, directory or symlink.
File ``file3.txt'' not a regular file, directory or symlink.
File ``file4.txt'' not a regular file, directory or symlink.
The server log shows "access denied" for "file1.txt" and nothing for the other files.
If the client does an mget and specifies the file name, it works fine. Mget * or *.* or *.ext even for one file in the directory fails. I saw some other posts about mget not working. This is a pretty important feature especially for automated pickup scripts where the filename is unknown. As I understand it, mget is a client command, and then it's sent to the server in raw ftp commands. Somewhere, this translation isn't happening correctly.
sftp> mget *.txt
File ``file1.txt'' not a regular file, directory or symlink.
File ``file2.txt'' not a regular file, directory or symlink.
File ``file3.txt'' not a regular file, directory or symlink.
File ``file4.txt'' not a regular file, directory or symlink.
The server log shows "access denied" for "file1.txt" and nothing for the other files.
If the client does an mget and specifies the file name, it works fine. Mget * or *.* or *.ext even for one file in the directory fails. I saw some other posts about mget not working. This is a pretty important feature especially for automated pickup scripts where the filename is unknown. As I understand it, mget is a client command, and then it's sent to the server in raw ftp commands. Somewhere, this translation isn't happening correctly.