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

Guest

Re: Unable to get progress bar on WIndows 8.1

Hi

OK, I have spotted the problem with getting the dos/text screen to appear, I had .exe instead of .com - Doh!

It all seems to be working OK now.

Thanks any way

Derek

BiggestMitch wrote:

Hi

Discovered WinSCP a few days ago and have been plating around with it on my Windows 7 desktop without a problem.

I can get both the graphical and dos text versions of a script to work to upload a files to an FTP server BUT I installed WinSCP on my Windows 8 tablet and adjusted the dos/text based script to suit but dont get any form of screen output and no file arrives on my FTP server.

My Win 7 scripts are

ftp.bat
"C:\Program Files (x86)\WinSCP\WinSCP.exe" ftp://xxxx:xxxx@192.168.0.241/ /upload c:\users\derek\upload.rar

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://zitech:2wd3xdd@192.168.0.241/
# Upload file
put c:\users\derek\upload.rar /home/zitech
# Disconnect
close
# Exit FTP
exit

The above work well.

ftp2.bat
"C:\Program Files (x86)\WinSCP\WinSCP.com" /script=c:\users\derek\desktop\ftpscript.txt

This also works well but clearly in a dos/text window

On my windows tablet the scripts are

testftp.bat

"C:\Program Files\WinSCP\WinSCP.exe" /script=./ftpscript.txt
pause

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://xxxx:xxxx@192.168.0.241/
# Upload file
put c:\users\xxxx\desktop\upload.rar /home/xxxx
# Disconnect
close
# Exit FTP
exit

When I run the script on the tablet the batch file seems to run and eventually gets to the pause command

No screen output is shown and the file does not get to the server.

Any assistance with this would be appreciated and I am now completely stuck.

Derek
BiggestMitch

Unable to get progress bar on WIndows 8.1

Hi

Discovered WinSCP a few days ago and have been plating around with it on my Windows 7 desktop without a problem.

I can get both the graphical and dos text versions of a script to work to upload a files to an FTP server BUT I installed WinSCP on my Windows 8 tablet and adjusted the dos/text based script to suit but dont get any form of screen output and no file arrives on my FTP server.

My Win 7 scripts are

ftp.bat
"C:\Program Files (x86)\WinSCP\WinSCP.exe" ftp://xxxx:xxxx@192.168.0.241/ /upload c:\users\derek\upload.rar

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://zitech:2wd3xdd@192.168.0.241/
# Upload file
put c:\users\derek\upload.rar /home/zitech
# Disconnect
close
# Exit FTP
exit

The above work well.

ftp2.bat
"C:\Program Files (x86)\WinSCP\WinSCP.com" /script=c:\users\derek\desktop\ftpscript.txt

This also works well but clearly in a dos/text window

On my windows tablet the scripts are

testftp.bat

"C:\Program Files\WinSCP\WinSCP.exe" /script=./ftpscript.txt
pause

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://xxxx:xxxx@192.168.0.241/
# Upload file
put c:\users\xxxx\desktop\upload.rar /home/xxxx
# Disconnect
close
# Exit FTP
exit

When I run the script on the tablet the batch file seems to run and eventually gets to the pause command

No screen output is shown and the file does not get to the server.

Any assistance with this would be appreciated and I am now completely stuck.

Derek