![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to set up FTP Server with Active Directory | cthinh | Linux | 0 | 05-21-2008 01:14 PM |
| Integrating unix with Active Directory | nottrobin | UNIX for Advanced & Expert Users | 1 | 03-17-2008 05:11 PM |
| Similiar to active directory in Unix? | blesets | UNIX for Dummies Questions & Answers | 5 | 01-13-2007 04:10 AM |
| Active Directory and UNIX | rm -r * | UNIX for Dummies Questions & Answers | 1 | 06-01-2005 08:16 PM |
| unix and active directory | Darwin Rodrigue | Windows & DOS: Issues & Discussions | 1 | 05-20-2005 04:34 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Automated Unix to Windows Active Directory FTP
I have done many automated FTP scripts using the following logic: =============================== echo "Starting the FTP transfer..." { echo " open 192.168.1.100 user username password ascii put textfile.txt close " } | ftp -i -n -v > ftptransfer.log =============================== But now i need to log into an FTP site on a Windows Active Directory server. The username that I need to pass to the script has a domain name and a backslash in front of it: "AD\username". I have tried escaping the backslash (AD\\username) and using various quoting combinations, but I cannot get the script to pass the username as AD\username. It usually gets sent as ADusername, without the backslash, which does not work. Any ideas? |
|
||||
|
FYI
Doing it this way is working for me now: Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|