Sponsored Content
Top Forums Shell Programming and Scripting shell script to ftp the files from windows to unix server Post 302360206 by methyl on Thursday 8th of October 2009 10:13:02 AM
Old 10-08-2009
The usage error is because of the space in the directory name.
But ... "cd" refers to the remote (Windows) server and "lcd" refers to the local (unix) server.

Quote:
cd /home/kkk/test/
lcd C:\Documents and Settings\Folder1get ssh_install
Surely you mean:

Code:
cd "C:\Documents and Settings\Folder1get ssh_install"
lcd /home/kkk/test/

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

Dear Friend, I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes. Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies

2. Shell Programming and Scripting

Shell Script to ftp from windows server

Hello All, I've to write a shell script to transfer some files to/from windows server. I can put & get files simply by doing ftp but need to automate this. So I tried for this -. HOST=.hostname USER='username' PASSWD='***' ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS... (8 Replies)
Discussion started by: shilpa.rajput
8 Replies

3. Shell Programming and Scripting

FTP from Linux to windows server by shell script

Hi, Please advice whether my below requirement is feasible, My requirement : Automated FTP from linux server to windows server using a shell script on every monday. If feasible, please help me how to do this ? Thanks in advance (2 Replies)
Discussion started by: apsprabhu
2 Replies

4. UNIX for Advanced & Expert Users

Shell script to ftp files from windows to unix

Hi , I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files from windows to unix box.When I searched in the forum i... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies

5. Shell Programming and Scripting

Unix shell script to Copy files from one Windows server to another Windows server.

Can anybody please help me on how to code for the below requirement: I need to write a shell script (on different unix server) to copy files from multiple folders (ex. BRN-000001) from one windows server (\\boldls-mwe-dev4)to a different windows server(\\rrwin-ewhd04.ecomad.int). This shell... (4 Replies)
Discussion started by: SravsJaya
4 Replies

6. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

7. Shell Programming and Scripting

FTP from windows to unix server using unix shell script

Hi, Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting? If so what command i need to use. thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies

8. Shell Programming and Scripting

Unix shell script to delete files on windows server

Hi experts, can anyone suggest me on the below: how to write a shell script to search and delete files on windows server. -script runs on unix box -it should search for specific files on windows server and delete them periodically. (2 Replies)
Discussion started by: chpradeepch
2 Replies

9. Shell Programming and Scripting

Need Shell Script to copy files from hp UNIX to windows server 2008

Need Shell Script to copy files from hp unix to windows server 2008 I tried to google and found some options but nothing worked I want a script to copy a file in unix to windows server so I can schedule the script on daily basis.Please help me its more needful for me. Let me know if any... (4 Replies)
Discussion started by: Lucky2Bv
4 Replies

10. Solaris

FTP-ing files from Windows server to UNIX server

I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output. Is it possible to transfer files from Windows server to unix server through any shell script? If so can you please help me with the details. Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies
CALENDARSERVER_EXPORT(8)				    BSD System Manager's Manual 				  CALENDARSERVER_EXPORT(8)

NAME
calendarserver_export -- Darwin Calendar Server Export Tool SYNOPSIS
calendarserver_export [-f config_file] [-o output_file] [-c collection] [-H home] [-r record] [-u user] DESCRIPTION
calendarserver_export is a tool that generates a single iCalendar file containing all of the iCalendar components found from all specified input sources, providing server administrators a means by which to export data from the Darwin Calandar Server into a format that can be viewed and/or manipulated by other tools. Multiple input sources may be specified; the resulting iCalendar data will contain the combined data from all sources. OPTIONS
-h, --help Displays usage information -f, --config FILE Use the Calendar Server configuration specified in the given file. -o, --output FILE Write resulting iCalendar data to the given file. -c, --collection DIRECTORY Read iCalendar objects from the calendar collection at the given path. -h, --home DIRECTORY Read iCalendar objects from all calendar collections within the calendar home at the given path. -r, --record TYPE:NAME Read iCalendar objects from all calendar collections within the calendar home for the directory record of the given type with the given name. -u, --user NAME Read iCalendar objects from all calendar collections within the calendar home for the directory user with the given name. This is shorthand for -r user:NAME. FILES
/etc/caldavd/caldavd.plist The Calendar Server configuration file. /Library/CalendarServer/Documents The server's document root, which is the used as the backing store for the HTTP resources on the server. SEE ALSO
caldavd(8) STANDARDS
The iCalendar data generated by calendarserver_export is expected to comply with RFC 2445 (iCalendar). BSD
November 6, 2008 BSD
All times are GMT -4. The time now is 06:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy