FTPScrpt and SFTP

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



FTPScrpt and SFTPExpand / Collapse
Author
Message
Posted 12/16/2005 12:52:05 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/16/2005 12:30:00 PM
Posts: 1, Visits: 1

Hi,

What I'm looking for:
Is there a command that will allow me to set Connection Type 4 for FTPScrpt ?

I'm using FTPScrpt.exe 9.01. I can do a 'normal' FTP connection using the upload.scp if include the [sitename] when I try to use the -p parameter, I find that I don't get the expected results. I'm trying to connect to an SFTP site. WS_FTP connects as SFTP successfully.
When I read c:\documents and settings\...\ws_ftp\sites\ws_ftp.ini I can see that the CONNTYPE = 4. I've tried to use
FTPScrpt -p Sites!Hopper -f upload.scp
to connect.

NB: Anything in [] is replace with a valid, working, string.

upload.scp:
LOG t:\current.txt
CONNECT [sitename]
QUOTE ASCII
CD /dw/client/bfs/extracts
LCD T:/out
MPUT CM*.txt
LCD T:/in
MGET CM*.txt.processed
CLOSE

My log file, current.txt is:
Log Opened 12/16/2005 at 9:16:46 AM
ERROR:  [CONNECT ];  Missing Host
FAILURE in command [CONNECT ]
Not Connected
FAILURE in command [QUOTE ASCII]
Not Connected
FAILURE in command [CD /dw/client/bfs/extracts]
Not Connected
FAILURE in command [MPUT CM*.txt]
Not Connected
FAILURE in command [MGET CM*.txt.processed]

My trace file tr.txt:
Set [TRACE t:\tr.txt] successful
Processing Line [CONNECT ]
ERROR:  [CONNECT ];  Missing Host
Doing ONERROR Continue
Processing Line [QUOTE ASCII]
Not Connected
Doing ONERROR Continue
Processing Line [CD /dw/client/bfs/extracts]
Not Connected
Doing ONERROR Continue
Processing Line [LCD T:/out]
Changing Directory to T:/out
Changing Directory to Successful
Processing Line [MPUT CM*.txt]
Not Connected
Doing ONERROR Continue
Processing Line [LCD T:/in]
Changing Directory to T:/in
Changing Directory to Successful
Processing Line [MGET CM*.txt.processed]
Not Connected
Doing ONERROR Continue
Processing Line [CLOSE]

[Hopper]
CONNTYPE=4
HOST=[sitename]
UID=[userid]
PWD=[encrypted password]
TIMEOFFSET=0
1033ConvertDirListFrom=0
1033ConvertASCIIDownloadFrom=0
1033ConvertASCIIUploadTo=0
TYPE=6000
UploadStatPeriod=0
DownloadStatPeriod=0
aborseq=0
TIMEOUT=65
CommandTimeout=60
AborTimeout=10
RETRIES=0
RETRYDELAY=30
RBP=0
SBP=0
KEEPALIVE=0
PREASKPASS=0
NOCACHEAUTH=0
NOCACHEDIRS=0
AUTORECONNECT=1
PRESERVETIMEUP=0
PRESERVETIMEDOWN=0
nofeat=0
TRANSFERCONN=0
PORT=22
DATAPORT=0
PASVMODE=1
AMODE=1
MODE=73
CONVEXT=0
DOUPDATE=1
FORCLOW=0
PROMPT=0
NOTRANSLATEDATAIP=0
STOU=0
RECU=0
VRFYDEL=1
ENABLEPGPMODE=0
CHECKTRANSFERINTEGRITY=0
TRANSFERBATCH=0
TRANSFERMULTIPART=0
TRANSFERAPEND=0
PGPENCODETYPE=0
dir0=/export/home/[userid]

Post #13388
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 7:40pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.078. 10 queries. Compression Enabled.