Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

colfer

fixed, thank you!

This feature was added in 3.7.6. Thanks much.
martin

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

Actually an echo of the directory (on login and when specified in the upload) would be nice to. :)
colfer

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

Re: script should not overwrite file upload progress

Can you give me more details as it works for me correctly?
colfer

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!