pscp.exe trasforms a.sh to 'a.sh '


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting pscp.exe trasforms a.sh to 'a.sh '
# 1  
Old 12-18-2008
pscp.exe trasforms a.sh to 'a.sh '

When I upload from win XP client through ssh with pscp.exe file a.sh, I get on server file with a blank in the name: 'a '

>ls -alF *sh* |cat -vet -
-rw-r--r-- 1 az214926 6803 3835 Dec 17 18:43 a.sh $
-rwxr-xr-x 1 az214926 6803 3484 Dec 12 01:18 a.sh*$

Is there a way to upload file without adding the blank to replace the old one?

Thanks,
Alex
# 2  
Old 12-29-2008
Are you using the GUI or the command line version of the tool? If the command line, can you show us the DOS command line? Maybe the problem is the $ sign or something?
# 3  
Old 01-01-2009
It was from python script and I found the error. Thank you anyway.
Alex Z
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

exe

hello everyone, could somebody tell me where can i find some good exercises on signals,processes and threads? actually i need to find some solved exercises in system programming. tnx (4 Replies)
Discussion started by: micy
4 Replies

2. Programming

How to build .exe from c

All, I have never comipled C code before and would appricaite if anyone could tell me how to build a .exe from a C program. Thanks in advance. (5 Replies)
Discussion started by: thana
5 Replies

3. Windows & DOS: Issues & Discussions

PSFTP/PSCP: remotely deleting directory recursively

Hello, I'm looking for a way to use PSFTP or PSCP, executed from a batch file in Windows, to delete an entire folder and its contents. I can run a script using PSFTP which can use rm or rmdir, but the -rf command doesn't work. Any suggestions on another client to use in the same context, or a... (2 Replies)
Discussion started by: ocdcollector
2 Replies

4. Programming

exe

Is it possible to extract c program,from its executable file(.exe)? i mean we dont have program but its exe file only which runs,can we retrieve the program? if yes how? if no why? (2 Replies)
Discussion started by: unknown9
2 Replies

5. Windows & DOS: Issues & Discussions

Can we delete file using PSCP?

Hello, I am using PSCP to do file transfer from remote server to window system. It works well. But the file is only copying, but in my case once after file copied, we should not have the same file on the remote server it should be moved to the windows system or deleted on the remote server... (4 Replies)
Discussion started by: mohantmk
4 Replies

6. UNIX for Dummies Questions & Answers

.exe files

how to open .exe file in freebsd system.My work is to run a growth.exe(created by growth.c turbo c 3.0 file).how to run that exe file in freebsd system?Thanks in advance help me (8 Replies)
Discussion started by: kumarangopi
8 Replies

7. SuSE

does exe

does exe files works withe suse am new n linux system and were can i find msn 4 linux (2 Replies)
Discussion started by: abdulla
2 Replies

8. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies

9. UNIX for Advanced & Expert Users

.exe file

Hello all, how to run windows .exe file in Linux and vice the versa (3 Replies)
Discussion started by: rajashekaran
3 Replies

10. Programming

about exe file

Hi, I am using dual operating system(windows/linux) in my system.Now the problem is i want to run my .exe(of c languege) before system ask for loading of operating system.Like my system ask for linux or dos.I want to run my .exe before this. Tell me how can i use this. (2 Replies)
Discussion started by: at_renai2001
2 Replies
Login or Register to Ask a Question