Topic "script should not overwrite file upload progress"

Author Message
colfer

Guest


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!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Can you give me more details as it works for me correctly?
_________________
Martin Prikryl
colfer

Guest


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

Code:

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:
Code:

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.
Guest




Actually an echo of the directory (on login and when specified in the upload) would be nice to. Smile
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
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):
Code:
put c:\e\html\filename1.php c:\e\html\filename2.php c:\e\html\filename2.php c:\e\html\filename3.php /path/to/

_________________
Martin Prikryl
colfer

Guest


This feature was added in 3.7.6. Thanks much.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License