Вы находитесь здесь

Форум

WinSCP 4.2.1 beta

Автор Replies
siGGismallz Wednesday 10 June 2009 at 16:04
siGGismallzAnonymous

WinSCP 4.2.1 beta (Free SFTP, FTP and SCP client for Windows)

I'm often using this to upload files to my iPhone

question @ admins: in which category should i put this script?

#!/bin/bash
# Date: (2009-06-10 14-00)
# Last revision: (2009-06-10 14-00)
# Distribution used to test: Ubuntu 9.04
# Wine version used: 1.1.23
# Licence: Free
# Author: siGGismallz
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
#FETCHING PROGRAMFILES ENVIRONMENTAL VARIABLE
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
 
#PREFIX, TITLE AND MESSAGES
PREFIX="WinSCP"
TITLE="WinSCP"
LNG_DL="PlayOnLinux is downloading"
LNG_SSF="has been installed successfully"
 
#DOWNLOADING AND SELECTING INSTALLER IMAGE
cd "$REPERTOIRE/tmp"
wget http://i41.tinypic.com/2j2dn6h.jpg --output-document=top.jpg
wget http://i40.tinypic.com/55jk15.jpg --output-document=left.jpg
POL_SetupWindow_Init "$REPERTOIRE/tmp/top.jpg" "$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_presentation "$TITLE" "Martin Přikryl" "winscp.net" "siGGismallz" "$PREFIX" 
 
#SELECTING PREFIX
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
POL_SetupWindow_prefixcreate 
 
#DOWNLOADING WINSCP 4.2.1 BETA
cd "$REPERTOIRE/tmp"
if [ ! -e $REPERTOIRE/tmp/winscp421setup.exe ]; then
POL_SetupWindow_download "$LNG_DL $TITLE" "$TITLE" "http://winscp.net/download/winscp421setup.exe"
fi
 
#STARTING SETUP
wine "winscp421setup.exe"
 
#MAKING SHORTCUT
POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/$TITLE/" "$TITLE.exe" "" "$TITLE" "" ""
 
#CLEANING TEMP
clean_tmp
 
#FINISHING
POL_SetupWindow_message "$TITLE $LNG_SSF" "$TITLE" 
POL_SetupWindow_Close
exit

Edited by siGGismallz

Quentin PÂRIS Wednesday 10 June 2009 at 16:08
Quentin PÂRISAnonymous

Why using a windows scp client with wine ? Linux supports ssh, sftp and scp easily and natively
siGGismallz Wednesday 10 June 2009 at 16:10
siGGismallzAnonymous

if i use linux programs im not able to write to my iphones harddisk over ssh connections because it shows everytime that 0 bytes are left, even if there is 4 GB free, thats why i use this windows program :D
Quentin PÂRIS Wednesday 10 June 2009 at 16:35
Quentin PÂRISAnonymous

There are a lot of program. For exemple, gnome is able to connect to a ssh server
siGGismallz Wednesday 10 June 2009 at 16:47
siGGismallzAnonymous

yeah im able to connect via the ssh 192.168.178.61@root command and able to mount the files to a drive and view files but there is no write access for some reason maybe this is an iPhone-specific problem i don't know
NSLW Wednesday 10 June 2009 at 21:05
NSLW

in which category should i put this script?

Quote from siGGismallz

I think the most appropriate category would be Internet, but i would consider if we should add such script to database, if it's small and beta and Live installation isn't complicated.
Aymeric P. Sunday 5 July 2009 at 8:06
Aymeric P.

yeah im able to connect via the ssh 192.168.178.61@root command and able to mount the files to a drive and view files but there is no write access for some reason maybe this is an iPhone-specific problem i don't know

Quote from siGGismallz


I am sure it's a bad usage of the GNU/Linux native program ....

try this command as root (or with sudo) on your desktop :
sshfs user@host:/directory mountpath -o allow_other -o uid=$(ìd -u) -o gid=$(id -g)

Former member.
Вы находитесь здесь: Index > Your creations. > WinSCP 4.2.1 beta

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com