martin wrote:
Following command is definitely incorrect.
zeropoint wrote:
put ./
You probably want to do something like this:
or
which is identical, however the second definitely works. I'm not sure about the first (it should work too, if not, let me know).
excelent ;-) thank you big time honestly thank you ....
but here i am again with diferent question.... hmmm
ok
i'm on server (local machine)
i need upload files to remote server
option batch on
option confirm on
option transfer auto
open user:passwd@xxx.xxx.xxx.xxx:22
put C:\2testlocal\* c:/1testremote/
close
trust me i did try everything i dont know what is wrong with me but i must do something wrong again ;-((( i try put * and .\ instead of C:\2testlocal\* but it always come back with different errors;-((( like :
batch on
confirm on
transfer automatic
Initialisation...
Searching for host...
Connecting to host...
Authenticating...
Using username "user".
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] user@xxx.xxx.xxx.xxx
Error changing directory to 'C:\2testlocal\'
No such file or directory.
Error code: 2
Error message from server: None
Request code: 7
/C:/Documents and Settings/user
C:\2testlocal\1.txt | 0 kB | 0,0 kB/s | binary | 0%
Cannot create remote file '/C:/Documents and Settings/user/c:/1testremote/
1.txt'.
Bad message (badly formatted packet or protocol incompatibility).
Error code: 5
Error message from server: None
Request code: 3
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
Session 'user@xxx.xxx.xxx.xxx' closed.
No session.
winscp>
i dont understand what i'm doing wrong ;-((( i dot get it why it takeing as a work directory Cannot create remote file '/C:/Documents and Settings/user/c:/1testremote/ the document folder when i did specified the working directory as a C:\2testlocal\
i dont get it why it wont change to cd C:\2testlocal\ not working .... god and martin please help me because i starting believe i am dumbass....
mato please help ...;-(((