User ID syntax to FTP to Windows


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers User ID syntax to FTP to Windows
# 1  
Old 02-20-2009
User ID syntax to FTP to Windows

Hello,

I have searched the forums and may not be putting in the right keywords, but hopefully someone will be kind enough to help...

It's been awhile since I've ftp'd to a Windows server, but no matter how I try to connect, it will not let me, although I have no issues setting up a connection for the same ID in FTP-Pro and connecting.

On the command line, I am trying the following:

ftp fullyqualified.servername.com

when it prompts me for the user name I have tried:

ms/username
username
"ms/username"

and every variable in between - single quotes, even back slashes or back quotes (which don't work either of course). It *does* accept the user, but when I put in the password, at that point it simply says login failed. I use this ID every day on other servers, so I know the password is correct, and the ID is set up on the UNIX servers, but I can tell through FTP-pro that it's a windows FTP server because the ID there is set up as "ms/username".

I have also tried:

ftp -niv fullyqualified.servername.com

and it doesn't ask me right away for the user and password, but when I go to change directories, then it says "530 Please login with USER and PASS."

How can I successfully log-in?

When I have scripted connections like this elsewhere in the past, I always scripted it as:

ftp -niv fullyqualified.servername.com
ftp -nv ${FTPHOST} << ENDFTP >> ${TMPLOG} 2>&1
user ${FTPUSER} ${FTPPASS}
get ${FILE}
quit
ENDFTP

or

ftp -niv fullyqualified.servername.com
ftp -nv ${FTPHOST} << ENDFTP >> ${TMPLOG} 2>&1
quote user ${FTPUSER}
quote pass ${FTPPASS}
get ${FILE}
quit
ENDFTP

None of this is working for me though, no matter what I try...

Thank you in advance for any help you can offer!
# 2  
Old 02-23-2009
Maybe the Windows server is not set up to permit FTP access?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help Simple FTP Script Here Syntax

I have a list of IP address and want to be assess whether FTP is allowing FTP access. I don't want to use lousy NT shell, but cannot get the syntax down on this. ftphosts.txt is a simple list of IP adresses. I want to iterate through the IPS and do a simple ftp IPadress user ftp password... (15 Replies)
Discussion started by: gdotoli
15 Replies

2. UNIX for Dummies Questions & Answers

Help syntax to restore partition from ftp

Hi, I found info on the internet to backup a partition to ftp. But I am unable to properly format the syntax to restore the partition. This is being done from a ssh logged in session to a server booted with a liveCD. backup: dd if=/dev/sda5 bs=2048 conv=noerror,sync | lftp -u user,passwd... (7 Replies)
Discussion started by: chang-li
7 Replies

3. UNIX for Dummies Questions & Answers

Problem syntax with user-defined function

Hi ! I got a script from Arabic to Roman numeral conversion - .comp.lang.awk, that I would like to modify to apply it on my input file. input ("|"-delimited fields): AAAAAA|1, 10, 13, 14, 25, 60 wanted output: AAAAAA|I, X, XIII, XIV, XXV, LX script.awk: #!/usr/bin/gawk -f ... (11 Replies)
Discussion started by: lucasvs
11 Replies

4. Solaris

FTP from Windows to Solaris

Dear All, As I am new to Solaris ..I need some help How is FTP access given from Windows machine to solaris machine. The scenario is that : I have a Xp host system and Solaris as my guest OS in my vmware. I need to tranfer some files from Windows to Solaris.? I am using... (7 Replies)
Discussion started by: bharat_
7 Replies

5. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

6. HP-UX

ftp to windows

Hi I am trying to do an ftp to window w2k using the script ------------------------------------------------------ #!/bin/ksh #script2 I found this script on UNIX script website userstr="dt4406\iusr_vantage_dev" W2Kservername="130.13.1.165" pwstr="verint1!" file1="TRP1run.sql"... (4 Replies)
Discussion started by: avivcohen
4 Replies

7. UNIX for Dummies Questions & Answers

FTP - switching user syntax

Running the following shell script, #!/usr/bin/ksh set -x swdofile=/opt/SWDO_IN1V01P001_1.csv USER='myusername' PASSWD='mypassword' HOST='myhostname' ftp -n $HOST << SCRIPT quote USER $USER quote PASS $PASSWD su - BRA -c put $swdofile quit SCRIPT exit 0 but not managing to get the... (1 Reply)
Discussion started by: daveaasmith
1 Replies

8. HP-UX

Syntax problem with Unix ftp get command

An outside vendor has staged 2 batch files for us and I've tried to retrieve the files using the commands that they've indicated I could use to retrieve one file at a time. I've tried using this command in a shell script after a successful connection to their server: get "$$ ID=IL096869 BID='PGP... (2 Replies)
Discussion started by: mheinen
2 Replies

9. UNIX for Dummies Questions & Answers

FTP from Unix to Windows: Need help!

Hello everyone, I know nothing about Unix, however, I developed a Windows VB app that takes ascii flat files and generates formatted excel reports in single or batch mode. There are about 200 reports that come off the mainframe from a unix box which I have to manually download into my Windows... (3 Replies)
Discussion started by: eguy
3 Replies
Login or Register to Ask a Question