GET *.zip works but not GET test.zip ??

Advertisement

Paul
Guest

GET *.zip works but not GET test.zip ??

This is frustrating me...

The following command does not work:
get test.zip d:\paul_test\

The following command does work:
get *.zip d:\paul_test\

test.zip is there and it is spelled correctly, here is the output of ls:
drwxrwx--- 2 me me 512 Apr 27 8:42 .
drwxr-x--- 5 me me 512 Mar 13 13:23 ..
-rw-r--r-- 1 me me 8737 Apr 27 7:41 test.zip

Using version 3.7.6 Build 306.

I have poured over this forum for hours and have not found this in the documentation/FAQs.

~Paul

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: GET *.zip works but not GET test.zip ??

What is an error message? Isn't there some space at the beginning of the filename? What if you do "get *test.zip"?

Reply with quote

Paul
Guest

Hi Martin,

This is the message when trying to get test.zip:
Host has not answered for 60 seconds.
Wait for another 60 seconds? Pressing 'Abort' button will close session.
(A)bort, (R)etry: Abort
Copying files from remote side failed.

There is no space at the beginning of the filename.

This did work:
GET *test.zip d:\paul_test\


Here is output from the log after I change into the download directory:
< 2006-05-02 15:35:59.652 /cli/customers/dfs_scp/incoming
. 2006-05-02 15:35:59.652 Waiting for another 1 bytes
. 2006-05-02 15:35:59.652 Looking for incoming data
. 2006-05-02 15:35:59.918 Select result is 1
. 2006-05-02 15:35:59.918 Received 1 bytes
. 2006-05-02 15:35:59.918 Received 29 bytes
< 2006-05-02 15:35:59.918 WinSCP: this is end-of-file:0
. 2006-05-02 15:35:59.918 Startup conversation with host finished.
. 2006-05-02 15:35:59.918 Cached directory change via "/cli/customers/dfs_scp/incoming/dropbox" to "/cli/customers/dfs_scp/incoming/dropbox".
. 2006-05-02 15:35:59.918 Getting current directory name.
. 2006-05-02 15:35:59.918 Listing file "test.zip".
. 2006-05-02 15:35:59.918 Locating to cached directory "/cli/customers/dfs_scp/incoming/dropbox".
. 2006-05-02 15:35:59.918 Sent 84 bytes
. 2006-05-02 15:35:59.918 There are 0 bytes remaining in the send buffer
. 2006-05-02 15:35:59.918 Sent 1 bytes
. 2006-05-02 15:35:59.918 There are 0 bytes remaining in the send buffer
> 2006-05-02 15:35:59.918 cd "/cli/customers/dfs_scp/incoming/dropbox" ; echo "WinSCP: this is end-of-file:$?"
. 2006-05-02 15:35:59.918 Waiting for another 1 bytes
. 2006-05-02 15:35:59.918 Looking for incoming data
. 2006-05-02 15:36:00.168 Select result is 1
. 2006-05-02 15:36:00.168 Received 1 bytes
. 2006-05-02 15:36:00.168 Received 29 bytes
< 2006-05-02 15:36:00.168 WinSCP: this is end-of-file:0
. 2006-05-02 15:36:00.168 Sent 59 bytes
. 2006-05-02 15:36:00.168 There are 0 bytes remaining in the send buffer
. 2006-05-02 15:36:00.168 Sent 1 bytes
. 2006-05-02 15:36:00.168 There are 0 bytes remaining in the send buffer
> 2006-05-02 15:36:00.168 ls -lad "test.zip" ; echo "WinSCP: this is end-of-file:$?"
. 2006-05-02 15:36:00.168 Waiting for another 1 bytes
. 2006-05-02 15:36:00.168 Looking for incoming data
. 2006-05-02 15:36:00.433 Select result is 1
. 2006-05-02 15:36:00.433 Received 1 bytes
. 2006-05-02 15:36:00.433 Received 62 bytes
< 2006-05-02 15:36:00.433 -rw-r--r-- 1 me me 8737 Apr 27 06:41 test.zip
. 2006-05-02 15:36:00.433 Waiting for another 1 bytes
. 2006-05-02 15:36:00.433 Looking for incoming data
. 2006-05-02 15:36:00.621 Select result is 1
. 2006-05-02 15:36:00.621 Received 1 bytes
. 2006-05-02 15:36:00.621 Received 29 bytes
< 2006-05-02 15:36:00.621 WinSCP: this is end-of-file:0
. 2006-05-02 15:36:00.621 Copying 1 files/directories to local directory "d:\paul_test\"
. 2006-05-02 15:36:00.621 PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No; FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask:
. 2006-05-02 15:36:00.621 TM: B; ClAr: No; ExclM(Yes): *.zip
. 2006-05-02 15:36:00.621 AscM: *.*html; *.htm; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2006-05-02 15:36:00.621 Sent 105 bytes
. 2006-05-02 15:36:00.621 There are 0 bytes remaining in the send buffer
. 2006-05-02 15:36:00.621 Sent 1 bytes
. 2006-05-02 15:36:00.621 There are 0 bytes remaining in the send buffer
> 2006-05-02 15:36:00.621 echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "test.zip" ; echo "WinSCP: this is end-of-file:$?"
. 2006-05-02 15:36:00.621 Waiting for another 1 bytes
. 2006-05-02 15:36:00.621 Looking for incoming data
. 2006-05-02 15:36:00.855 Select result is 1
. 2006-05-02 15:36:00.855 Received 1 bytes
. 2006-05-02 15:36:00.855 Received 29 bytes
< 2006-05-02 15:36:00.855 WinSCP: this is begin-of-file
. 2006-05-02 15:36:00.855 Waiting for another 1 bytes
. 2006-05-02 15:36:00.855 Looking for incoming data
. 2006-05-02 15:37:00.857 Select result is 0
. 2006-05-02 15:37:00.857 Waiting for data timed out, asking user what to do.
. 2006-05-02 15:37:00.857 Asking user:
. 2006-05-02 15:37:00.857 Host has not answered for 60 seconds.
. 2006-05-02 15:37:00.857
. 2006-05-02 15:37:00.857 Wait for another 60 seconds? Pressing 'Abort' button will close session. ()
. 2006-05-02 15:37:00.873 Attempt to close connection due to fatal exception:
* 2006-05-02 15:37:00.873 Terminated by user.
. 2006-05-02 15:37:00.873 Closing connection.


Thanks for any help you can provide.
~Paul

Reply with quote

Advertisement

You can post new topics in this forum