Sponsored Content
Special Forums Cybersecurity FTP Automation Windows <> Unix <> Remote Post 302077538 by Ankur on Friday 23rd of June 2006 02:31:13 AM
Old 06-23-2006
Error Further Clarifications

Actually what I need is a desktop shortcut to an application which when executed get the required files from the specified remote windows machine.

The entire scenario is:
First the required file gets ftped from the remote windows machine to the remote unix box and from the remote unix box to the local windows machine.

I have written a script that can ftp from remote unix to another remote unix box, but can't access a remote windows machine.

This is the sequence I need:
1. Run the batch file in local windows machine that will change the directory to current working directory and calls the perl script in the remote unix box.
2. The remote box script now ftps the required files from the remote windows machine to the remote unix box.
3. The files now get ftped to the current working directory of the local windows machines.

If there is any way in which the calling can be simplified, I have no issues on that. But the scenario need not be changed, the sequence or flow can be.

Please help. It's urgent.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Identify a remote machine as windows or unix

Hi, I have a IP address of the target machine.Is there is any way to find out whether it is a unix box or windows box without logging into it?. Regs Anand (5 Replies)
Discussion started by: u449064
5 Replies

2. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

3. UNIX for Advanced & Expert Users

Working with remote Unix files systems from Windows

I am currently using Samba to access remote Unix file systems from Windows. However, it is slow, and I presume insecure in the sense that file contents are transmitted unencrypted. I also wonder if passwords are transmitted in plain text in this protocol or not. For these reasons I am looking for... (2 Replies)
Discussion started by: Bilge
2 Replies

4. 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

5. 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

6. 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

7. Shell Programming and Scripting

Remote renaming of a unix file via ftp

Hi all, i'm just after some help regarding a batch script. I'm wanting to create a windows batch script which will push a file from my pc to a unix (AIX) system via ftp. i have this part working fine but as the file i'm sending already exists i want the script to also take a sideways copy of... (6 Replies)
Discussion started by: forefather1977
6 Replies

8. Shell Programming and Scripting

FTP using script not working (for transfering file from a remote unix server to windows PC.)

hi, Im using the following code for FTP #!/usr/bin/ksh ftp -v -n "10.29.45.11" << cmd user "mahesva" "mahesva123" get rtl.tar quit cmd Below is the log when i run the above code ********************************** Connected to 10.29.45.11. 220 (vsFTPd 2.0.1) 530 Please login with USER... (20 Replies)
Discussion started by: dll_fpga
20 Replies

9. UNIX for Dummies Questions & Answers

Remote FTP Backup -Tar archive+ encrypt+ split to a remote ftp

I have a huge directoy(200+ gb) for backup. I want upload the tar file(split files) simultaneous to a remote ftp. (pipeline, stdout, stdin etc.) I don't want write a data to local hdd. I have a ssd hdd. thanks. this code doesn't work.( yes i know the problem is split command!) tar cvzf -... (8 Replies)
Discussion started by: tara123
8 Replies

10. UNIX for Dummies Questions & Answers

How to run UNIX commands on remote machine from windows?

Hi All, I am working in support and we are planning to automate a system to reduce the direct manual intervention to core system. Please find the below details. 1. we have a web application that runs on Windows Platform. 2. From web application, we need to connect to remote Unix machine.... (6 Replies)
Discussion started by: Balaji K
6 Replies
FTPFS(4)						     Kernel Interfaces Manual							  FTPFS(4)

NAME
ftpfs - file transfer protocol (FTP) file system SYNOPSIS
ftpfs [ -/dq ] [ -m mountpoint ] [ -a password ] system DESCRIPTION
Ftpfs dials the TCP file transfer protocol (FTP) port, 21, on system and mounts itself (see bind(2)) on mountpoint (default /n/ftp) to pro- vide access to files on the remote machine. If required by the remote machine, ftpfs will prompt for a user name and password. The user names ftp and anonymous conventionally offer guest/read-only access to machines. Anonymous FTP may be called without user interaction by using the -a option and specifying the password. By default the file seen at the mount point is the user's remote home directory. The option -/ forces the mount point to correspond to the remote root. To avoid seeing startup messages from the server use option -q. To see all messages from the server use option -d. To terminate the connection, unmount (see bind(1)) the mount point. EXAMPLE
You want anonymous FTP access to the system export.lcs.mit.edu. The first import(4) command is only necessary if your machine does not have access to the desired system, but another, called gateway in this example, does. import gateway /net ftpfs -a yourname@yourmachine export.lcs.mit.edu SOURCE
/sys/src/cmd/ftpfs SEE ALSO
bind(2) BUGS
Symbolic links on remote Unix systems will always have mode 0777 and a length of 8. After connecting to a TOPS-20 system, the mount point will contain only one directory, usually /n/ftp/PS:<ANONYMOUS>. However, walking to any valid directory on that machine will succeed and cause that directory entry to appear under the mount point. Ftpfs caches files and directories. A directory will fall from the cache after 5 quiescent minutes or if the local user changes the direc- tory by writing or removing a file. Otherwise, remote changes to the directory that occur after the directory has been cached might not be immediately visible. There is no way to issue the appropriate commands to handle special synthetic FTP file types such as directories that automatically return a tar of their contents. FTPFS(4)
All times are GMT -4. The time now is 12:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy