[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

FTP

Posted on 2004-10-26
6
Medium Priority
?
314 Views
Last Modified: 2010-04-22
hi..
is it possible to write an ftp script that transfers data from debian os
to a window os.

if so, how do i go abt writing the script?

thanks
0
Comment
Question by:TPoly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 11

Expert Comment

by:avizit
ID: 12418104
What kind of setup you are talking bout ?

the windows machine is running the ftp server  and the debian is running the ftp client .. in that it should be possible to use any of the ftp script that has been put in this techinical area

if what you have is a server on Debian and an ftp client on your windows machine . then I am not sure , cos in that case you are looking into whatever facilitiues are there in Windows to automate ftp ..( I think there are some fancy ftp clients in windows world which lets you have some kind of automation but dont take my word for it :)

0
 
LVL 11

Expert Comment

by:avizit
ID: 12418208
I can see from your past questions , that you already know how to write a ftp script which runs on a linux machine and can be used to transfile file  to/from a ftp server  which can be any system .windows /linux whatever ..
so the first case of using the linux machine as client and windows as server is done .


for second casewhere your ftp server is on the linux machine , i did a cursory search on google and came up with this

http://support.microsoft.com/?kbid=96269

basically you need to write a script file say

test.ftp  with following content

open ftpserver.com
user
userid
password
put file1
get file2  
quit

and run it as
ftp -s:test.ftp



0
 

Author Comment

by:TPoly
ID: 12418356
hi..
jus want to know can the debian ftp be a server and client at the same time?

eg

Server - transfer the files from rvsi machine to this server

Client - let the server in the window os to get files from here

thanks
0
Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

 
LVL 11

Expert Comment

by:avizit
ID: 12418514
ftp server and client are two different programs

so you can run both on your debian machine

andthen it can act as a ftp server and also you can connect to another machine running an ftp server using the ftp client.
0
 

Author Comment

by:TPoly
ID: 12418628
is there any difference in writing the script on the client side n the server side
thanks
0
 
LVL 11

Accepted Solution

by:
avizit earned 500 total points
ID: 12418708
These scripts are for he ftp client

and also in ftp the connection is initiated by the ftp client

the server runs waiting for connections from the client
so the ftp client connects to the server and makes a request as in send a file or receive etc
and the server performs
hence these scripts has to be clientscripts


hence  if you are running your ftp server on the windows machine you will use the linux client i.e the script you wpudl use on a linux machine

on the other hand ifthe ftp server is on the linux machine and you are connecting from a windows machine you should use the script i have shown above
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question