I sent the file via FTP. Simply How do I control it?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting I sent the file via FTP. Simply How do I control it?
# 1  
Old 06-16-2016
I sent the file via FTP. Simply How do I control it?

Hi, I sent the file via FTP. Simply How do I control it? Thanks.
# 2  
Old 06-16-2016
Please explain more in detail what your problem is, what you want to achive, what your current solution is, what your commands are, and what errors you got.
# 3  
Old 06-16-2016
More context, please. What do you want to control?
# 4  
Old 06-16-2016
I'm sending a file with shell script. I want to check that you are going to file with the same script.
# 5  
Old 06-16-2016
Please take into consideration that people trying to help you have no reason to put more effort into an answer than you exert phrasing a question.

Quote:
Originally Posted by ozcanaydin
I'm sending a file with shell script. I want to check that you are going to file with the same script.
You were asked to give more detail. How about:

- which operating system?
- which script? (source code?)
- what dou you mean by I want to check that you are going to file with the same script?? I can't understand that!
- what exactly do you want to "control"?
- what exactly do you want to do? Check logfiles manually? put some intelligence into the script to make sure something happens (if yes: what?)

I suggest you take the time to create a posting in proper english describing your problem, your environment and your goals and put that here. The way you throw in the odd half-sentence every now and then is going to be frustrating for both sides.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 6  
Old 06-16-2016
This is bash script

Code:
ftp -nv 10.1.10.1 << EOF
lcd /home/asdf/cmd_log
user xxxx yyyy
cd /var/log/
put file_2016061623.txt
EOF

against the file I want to control where it went.

Thanks



Moderator's Comments:
Mod Comment Please use code tags as required by forum rules!

Last edited by RudiC; 06-17-2016 at 03:30 AM.. Reason: Added code tags.
# 7  
Old 06-17-2016
From the sheer wealth of replies within the last 10 hours you can infer how helpful your answers to bakunin's questions were. Unless you become somewhat more verbose I'm afraid it will stay like this.

I'd bet that file ends up as 10.1.10.1:/var/log/file_2016061623.txt unless you receive an error code or error message from ftp.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check whether file is processed in a control file list

I've a list of files which got processed in Target table A and stored in a control file(list of control files). I've want to trigger another process (later) based on this list of files and load into Target table B and continue running this process until this file list is exhuasted. How do I come... (1 Reply)
Discussion started by: manojg9
1 Replies

2. Shell Programming and Scripting

Formatting file data to another file (control character related)

I have to write a program to read data from files and then format into another file. However, I face a strange problem related to control character that I can't understand and solve. The source file is compose of many lines with such format: T_NAME|P_NAME|P_CODE|DOCUMENT_PATH|REG_DATE ... (3 Replies)
Discussion started by: hk6279
3 Replies

3. Shell Programming and Scripting

How to create a log file that simply shows the name of a file and what directory it was moved to.

Newbie...Thank you for your help. I am creating my first script that simply generates subdirectories to organize video, music, and text files within those subdirectories from my current working directory. PROBLEM: I am trying to write a log file that contains, for each file, the original file... (0 Replies)
Discussion started by: BartleDoo
0 Replies

4. HP-UX

[Solved] Unable to rename file in ftp server .Net:FTP perl

Hello All, I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir. rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed. Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies

5. Shell Programming and Scripting

Deleting File from FTP and Transferring File to FTP

Hi, I am getting error when i am deleting file from FTP and also transferring file from local to FTP server. I am getting 221 error. I am getting this error some time only. Some time the existing file from FTP is deleted and file from local directory is transferred to FTP server. ... (2 Replies)
Discussion started by: praka
2 Replies

6. UNIX for Dummies Questions & Answers

Keep alive packet for control session in ftp data transfer

I'm new to UNIX. We are using SunOS5.9. In order to maintain the control session active during large file tranfers in ftp, i like to send keep alive packets for every 10 seconds.I like to know the steps to be done to achieve this. Please help me guys.Thanks in advance. (0 Replies)
Discussion started by: rpr
0 Replies

7. UNIX for Dummies Questions & Answers

Find out excat timing of ftp control session timeout

We are facing difficulties in ftp'ing large files.For large file transfer using FTP, the control session gets timed out where as the the data session is active and transfers the file completely. Is there a way to make the control session active as long as data session? How to find the control... (1 Reply)
Discussion started by: rocker
1 Replies

8. UNIX for Advanced & Expert Users

Using FTP to check whether file is completely FTP... plz find the description below

Hi, We have some clients who will place huge files in to one of the remote server. And the shell script written in our local server to retrieve client files (using FTP) placed on one of the remote server of ours by clients. My question Is there any FTP command/script to check from my local... (1 Reply)
Discussion started by: nmsrao
1 Replies

9. UNIX for Dummies Questions & Answers

FTP access & control question

Folks; I need some help with these: 1. understanding how to control access rights and manage visibility using FTP in Solaris, in other words, I need to use FTP in Solaris to be able to give some users access to add/modify data to/from the UNIX server. 2. How can i control the space allowed for... (2 Replies)
Discussion started by: Katkota
2 Replies

10. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies
Login or Register to Ask a Question