Home » Infrastructure » Unix » FTP put /send file transfer
FTP put /send file transfer [message #247011] Fri, 22 June 2007 16:26 Go to next message
apuw
Messages: 13
Registered: June 2007
Junior Member
Hi


I am trying to copy file from my local machine to remote machine located in c:\part1.sql

I am getting error no such file/dir

I tried following things

ftp> cd mydir
cwd command successful
ftp > put part1.sql
ftp> put part1.sql part1.sql
ftp> send part1.sql

none of teh above put /send works . pls help me .

thanks


Re: FTP put /send file transfer [message #247012 is a reply to message #247011] Fri, 22 June 2007 16:42 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
look here for syntax

http://www.nsftools.com/tips/MSFTP.htm
Re: FTP put /send file transfer [message #247013 is a reply to message #247012] Fri, 22 June 2007 16:54 Go to previous messageGo to next message
apuw
Messages: 13
Registered: June 2007
Junior Member
Yes I have tried these commands . But it gives me error .
Re: FTP put /send file transfer [message #247014 is a reply to message #247013] Fri, 22 June 2007 17:13 Go to previous messageGo to next message
DreamzZ
Messages: 1666
Registered: May 2007
Location: Dreamzland
Senior Member
You are copying from UNIX box to WINDOWS box?
Re: FTP put /send file transfer [message #247021 is a reply to message #247011] Fri, 22 June 2007 19:38 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
Once you are in the ftp session, you can issue:
ftp> lcd c:\
ftp> cd mydir        (you may need to specify the full directory path here)
ftp> put part1.sql

and then (based on what you've described) the ftp "should" work.
Re: FTP put /send file transfer [message #247786 is a reply to message #247021] Wed, 27 June 2007 04:07 Go to previous message
shahnazurs
Messages: 240
Registered: June 2005
Location: India
Senior Member
Hi.

First you make sure whether you are in the directory where you have file part1.sql

ftp>!cd
c:\
ftp>put part1.sql

when you want to ftp more than one file then

ftp>mput part1.sql a.sql

Thanks,
Shahnaz.
Previous Topic: Problem in Scheduling the export script
Next Topic: ftp Return Code
Goto Forum:
  


Current Time: Mon Dec 05 05:07:31 CST 2016

Total time taken to generate the page: 0.05320 seconds