Visit Our UNIX and Linux User Community


FTP problem on unix-server


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTP problem on unix-server
# 1  
Old 01-12-2007
Hammer & Screwdriver FTP problem on unix-server

hi there,

i am a sap-programmer and i sent pdf-files via FTP from sap (on an iseries-machine) to a UNIX-server every day.

i am doing it via MPUT *.pdf

It works well until today. I got the ftp-message "Arguments too long"....i searched for it in the internet and here in the forum. it says that the number of files is to big..........well, there were 860 pdf-files yesterday, as much as never before on one day.

i need to know one thing: is the problem on the UNIX-Server or is it the sending part (SAP) ? if it is the UNIX-Server, are there parameters to avoid this error ? I want to say that i never worked with unix, so please
try to explain it in a easy way

regards, Martin
# 2  
Old 01-12-2007
Quote:
Originally Posted by smartin999
hi there,

i am a sap-programmer and i sent pdf-files via FTP from sap (on an iseries-machine) to a UNIX-server every day.

i am doing it via MPUT *.pdf

It works well until today. I got the ftp-message "Arguments too long"....i searched for it in the internet and here in the forum. it says that the number of files is to big..........well, there were 860 pdf-files yesterday, as much as never before on one day.

i need to know one thing: is the problem on the UNIX-Server or is it the sending part (SAP) ? if it is the UNIX-Server, are there parameters to avoid this error ? I want to say that i never worked with unix, so please
try to explain it in a easy way

regards, Martin


try to use the binary mode for ftp
# 3  
Old 01-12-2007
Quote:
Originally Posted by maheshwin
try to use the binary mode for ftp
I am already using the binary mode, so that is not the problem
# 4  
Old 01-12-2007
does the file name contain spaces? ie long file name..
# 5  
Old 01-12-2007
Martin,

It looks to me as though the problem is with your mput client. It cannot handle the fact that you want to send so many files in one go.

Whilst it is simple to specify *.pdf where this evaluates to many files you might be better off putting it inside a loop and invoking mput on one at a time.

Does that help?
# 6  
Old 01-12-2007
I think Tomd is on the right track. I just did a test and moved 1000 files using mput with Sun's native ftp client. You might look at your ftp client or see if there is some freeware client that will work for you.
# 7  
Old 01-15-2007
Quote:
Originally Posted by tomduck
Martin,

It looks to me as though the problem is with your mput client. It cannot handle the fact that you want to send so many files in one go.

Whilst it is simple to specify *.pdf where this evaluates to many files you might be better off putting it inside a loop and invoking mput on one at a time.

Does that help?
I am still not sure if it is 'MY' problem (the SENDER of the files) or if it is 'THEIR' problem (the RECEIVER of the files, the unix-server) this is important for me to know, because it is an external server. and we have to open a support-ticket there. but i don't want to do this when they can do nothing about it.

can u help me to clearify if it is my problem or the receivers problem ?

reg, Martin
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #130
Difficulty: Easy
The original Unix code was developed by AT&T.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Update/Download file from FTP server to UNIX Server

HI Guys, I want to download files from FTP Server to my Unix server. I have tried , buy No Luck . Below Command i have tried. 1-Wget - Error "wget' not found" 2.ftp -n $HOST ...Not Working. 3.scp -i ftp://user:passowrd@hostname:21/ran/on/test.txt Any Suggestion (2 Replies)
Discussion started by: pareshkp
2 Replies

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

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

4. Red Hat

Ftp problem on proxy server

Hi all, First of all i would like to say sorry to all for my english. My name is Mastan. We have an proxy server have 2 lan cards. one is for public and another for private. public ip: 182.72.141.... private ip: 192.168.0.0 So, the thing is i configure ftp server in my local for... (0 Replies)
Discussion started by: mastansaheb
0 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. UNIX for Dummies Questions & Answers

Unix Server for FTP?

Hello, Is it possible to have an FTP server on a Unix Platform? So that internal users can FTP files from their Windows Desktops to the Unix Server and store files? Thanks. (1 Reply)
Discussion started by: jsb1022
1 Replies

7. Solaris

Facing problem while doing FTp to solaris server

Hi All, I am facing problem while doing FTp to solaris server through Windows XP machine. showing msg as follows 220 matrix FTP server ready. User (*.*.*.*:(none)): Sun 331 Password required for Sun. Password: 530 Login incorrect. Login failed. ftp> bye also while doing vi or... (2 Replies)
Discussion started by: sunray
2 Replies

8. Linux

ftp problem from linux to windows2000 server

Hi All, I was trying to ftp multiple files from my windows to my linux box, everything gets transfered but unfortunately some of them are corrupted. I found out that some of the files are in Ascii and some are binary, but since most of the files I'm trying to send are Ascii...the big ones... (2 Replies)
Discussion started by: 3rr0r_3rr0r
2 Replies

9. Shell Programming and Scripting

FTP script for sending a file from one unix directory to another unix server director

Hi, My local server is :/usr/abcd/ Remote server is :/Usr/host/test/ I want to send files from local unix directory(All files starting with O_999) to remote host unix directory. Can any body give me the Unix Shell script to do this. One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies

10. UNIX for Dummies Questions & Answers

FTP connection problem on new server

Solaris Server (V880) version 8 Brand new box just installed O/S, what do I need to do in order to get FTP working. I have updated the /etc/hosts.equiv file Problem - When trying to ftp to the server I get a login incorrect message, this is with the root user. Are there some... (1 Reply)
Discussion started by: miredale
1 Replies

Featured Tech Videos