on 11-11-2008 7:04 AM
Hi experts,
The FTP location for the file has been setup with some server,user/password.How do i dump the file in SRM system there.For this requirement, the above data ie., server name,user and password is enough or we need anything else?Can anyone please give me the required coding.
Thanks,
venkatesh.
Hi,
You can map SRM server directory in to FTP server and you can dump all file in this directory
Thanks
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can transfer file from SRM server to FTP server with the help of FTP
go to command promote connect your FTP server
ftp
ftp> open domain.name
Connected to domain.name
220 antigonous FTP server ready.
User (domain.name:(none)): User-Name
331 Password required for user-name
Password: password
230 User user-name logged in.
ftp>
then go particular directory
ftp> cd /web
The following command will copy a file from the local system to the remote system.
ftp> put d:\simoweb1\filename.txt
200 PORT command successful.
Opening ASCII mode data connection for filename.txt
226 Transfer complete
ftp>
This is manual process you can automat this process, create one batch file and execute it in every five minute and when file move successfully to FTP server move one copy to archive folder
Thanks
Amit
Hi,
The following batch file (UPWIP001.BAT) will start an FTP session and pass the name of a text file (UPWIP001.TXT) to the FTP program. This text file will be processed by the FTP program and each of the statements in the text file will be processed in the sequence they appear.
echo * This batch and text file illustrate the use of FTP to upload an
echo * ASCII file and an EBCDIC or Binary file. The UPWIP001.BAT file
echo * references UPWIP001.TXT that contains...
echo *
echo * user
echo * password
echo * cd /web
echo * pwd
echo * ascii
echo * put d:\simoweb1\cbltxn01.htm
echo * binary
echo * put d:\simoweb1\cbltxn01.zip
echo * quit
echo *
ftp -s:upwip001.txt www.simotime.com
The following is a listing of the contents of the text file (UPWIP001.TXT).
user
password
cd /web
pwd
ascii
put d:\simoweb1\cbltxn01.htm
binary
put d:\simoweb1\cbltxn01.zip
quit
Thanks
Amit
Hi,
create batch file .. open notepad and write down blow thing
ftp -i -s:login.txt
move sap.txt D:\srmSERVER
and then create one txt file that name login .txt login file contain below data
open 192.168.0.24
username
password
cd /usr/sap/SRMfile
mput sap.txt
quit
192.168.0.24 is your FTP server IP and /usr/sap/SRMfile is directory of ftp SERVER
Thnaks
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.