script should not overwrite file upload progress

Advertisement

colfer
Guest

script should not overwrite file upload progress

If I use a script to upload several files, the file upload progress line overwrites itself for each file. So at the end, I do not have a record of which files I uploaded. Only the last file uploaded is visible.

Thanks!

Reply with quote

Advertisement

colfer
Guest

Hi, I am using a command prompt window in WinXP. Here is the script file "0.txt":

option batch on
option confirm off
open foo@bar.com
option transfer ascii
put c:\e\html\filename1.php /path/to/filename1.php
put c:\e\html\filename2.php /path/to/filename2.php
put c:\e\html\filename3.php /path/to/filename3.php
close
And here is the output when it is done:
C:\e>winscp3.com /script=0.txt
batch        on
confirm      off
Initialisation...
Searching for host...
Connecting to host...
Authenticating...
Using username "foo".
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] foo@bar.com
transfer     ascii
c:\...\filename3.php  |         15 kB |   26.8 kB/s | ascii  | 100%
Session 'foo@bar.com' closed.
No session.
winscp>
Thanks again.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

colfer wrote:

Hi, I am using a command prompt window in WinXP. Here is the script file "0.txt":
...
OK, you are right, I haven't tried this option. What I did (and what can be workaround for you until I fix it):
put c:\e\html\filename1.php c:\e\html\filename2.php c:\e\html\filename2.php c:\e\html\filename3.php /path/to/

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum